Battlemage - experience on Linux?

Followup number the third.

I have noticed some white flashes during some gameplay. not even disruptive, almost like a single white frame. which is certainly not ideal. not sure what the cause is yet, but it could be that my cables are a bit on the shoddy side.

Anyone has experience getting HDR via gamescope working on this thing? HDR in KDE works just fine.

I am running Endeavour aka prepackaged arch.

Lots of various improvements coming in Linux 6.15 it seems: https://www.phoronix.com/news/Intel-Linux-6.15-Graphics-Start

Does anyone know if there’s an easy-to-follow changelog summary for Intel graphics across different kernel and userspace driver versions?

oh this is excellent news. i havent been having any major issues, but im always excited for more improvement

Yes. Install git and the tig utility. Then download the Linux kernel source code, cd to the folder and type $ tig drivers/gpu/drm/xe to get the log in an easily readable manner.

There is also the online history:

1 Like

I feel it’s been long enough since release for some issues to have shaken out to ask this. Is there an easy way to mess with battlemage settings on Linux? Anyone have experience with the sys interface and know what’s exposed? Ideally we’d be able to underclock/overclock/undervolt core/memory at will.

I’m looking but can’t find much of anything not even a way to get live power readings. lm-sensors does jack, nvtop doesn’t show intel memory power fan or temp (and what it does show seems wrong), intel_gpu_top shows the intel igpu and fails with this Failed to detect engines! (No such file or directory) (Kernel 4.16 or newer is required for i915 PMU support.) when you try to specify the battlemage device.

xpu-smi or XPUManager seems to be exactly what I want to read live stats and change settings but is only for data centre GPU’s and hasn’t had a release for over a year, the git commits are cryptic and the install procedure looks like the typical ppa hellscape that will probably break the universe if I try to install it.

This is painful.

Still does jack, with Intel Arc [even A-series]

Fan speed is supposed to be supported as of linux 6.12, at least. https://www.phoronix.com/news/Intel-GPU-Fan-Speed-Linux
What are you running?

And it might even depend on which driver you are using. While i915 might support it, the xe doesn’t seem as up to date (both excerpts from 6.12.17 lts):

xe-pci-0300
Adapter: PCI adapter
card:             N/A  (max =   0.00 W)
pkg:              N/A  (max =   0.00 W, crit = 380.00 W)
card:         73.16 kJ
pkg:          38.39 kJ

At least nvtop build from main can calculate the current power draw:

 Device 0 [Battlemage G21 (Intel Graphics)] PCIe GEN 4@ 8x RX: N/A TX: N/A
 GPU 400MHz  MEM N/A MHz TEMP N/AfC   FAN N/A   POW  35 /   0 W
 GPU[                                     0%] MEM[                       0.026Gi/11.930Gi]

And, iirc, with battlemage you can only use the xe driver, only alchemist can use either xe or i915. As per intel_gpu_top support for Xe kernel driver (in addition to i915)? (#153) · Issues · drm / igt-gpu-tools · GitLab intel_gpu_top might never support xe, you would need to use a different tool.

It seems GitHub - ulissesf/qmassa: Rust terminal-based tool for displaying GPUs usage stats on Linux. is supposedly a good alternative to nvtop and it supports xe, but because my docker setup is a bit wonky right now I don’t dare to try to build it.

1 Like

Fedora with 6.13.5. I should have been more specific, sensors does something but it’s jank (shows temps correctly, power incorrectly, no fan speed). I’ve poked around the sys interface and can read the power, current core clock and temps, but not the fan. Can’t see anything related to overclocking or memory, and a reply to that phoronix thread indicates overclocking doesn’t yet exist on Linux. It’s a shame but it seems battlemage needs more time in the oven, which it might not get any time soon as it looks like a lot of the dev resources are going into getting basic celestial support ready instead.

Just came across this page documenting how to file bugs in Intel’s GPU drivers:

How to File i915 and xe Bugs

Hopefully this will be useful for someone. I feel that one of the things missing when it comes to popularizing and polishing the Linux desktop experience is around helping more people file bugs for the random issues they encounter.

Figured out how to set the core frequency by echoing the desired frequency as root to /sys/class/drm/card0/device/tile0/gt0/freq0/max_freq, which cannot be set beyond the default of 2850 but at least allows core underclocking. Can’t even see memory or voltages at all in sysfs, if anyone figures out how to change those that would be sweet.

edit: Also the latest compute runtime has fixed some notable opencl compiler issues for me, so anyone interested in compute might want to retest your use case: GitHub - intel/compute-runtime: Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver

1 Like