22:21orbea: i tried Final Fantasy XVI and its consistently crashing my gpu taking my x11 session with it, once it crashed straight to reboot. Every crash seems like it happens sooner than the last. Any ideas? Here is my dmesg - https://termbin.com/0not
22:21orbea: the umip lines seem suspicious, but not sure what to do about them: "umip: ffxvi.exe[7723] ip:14a0881a2 sp:1169f0: SGDT instruction cannot be used by applications."
22:21soreau: try xwayland :P
22:22orbea: would that makea difference in regards to the GPU crashing?
22:22orbea: i think x11 crashing is a consequence of the gpu driver itself having an issue?
22:23soreau: you're probably right, but worth a try I'd say
22:23soreau: I assume you already have latest mesa and a recent kernel
22:24orbea: i compiled the mesa git maybe 20-30 minutes ago and 6.10.11
22:24orbea: i'll see if starting steam in gamescope works
22:24orbea: setting up an actual wayland wm would take more effort
22:25soreau: not really..
22:26soreau: just install your compositor of choice and xwayland from repos, switch to tty and run it
22:28soreau: does that game support vulkan and gl? if so, have you tried the other one?
22:30orbea: i saw no such options for GL/Vulkan in the graphics settings
22:30orbea: gamescope doesn't want to launch any games atm...i'll try to dl a wayland compositor
22:30orbea: *install
22:48soreau: do you know if it's using gl or vulkan?
22:49soreau: because if it uses gl, then you might give zink a whirl
22:50orbea: i assume its vulkan because of vkd3d (vulkan) because store page says its using dx12
22:51orbea: i also see this in the game dir: D3D12/D3D12Core.dll
22:52orbea: and im so far utterly failing to get sway to work
22:54soreau: it might need seatd installed and working.. not sure what issue you're having though
22:55orbea: seatd already works, its something to do with the sway config
22:55orbea: following the gentoo wiki more closely now
22:56soreau: should work without config
22:56soreau: but I guess you'd probably want to start a terminal or panel or something at least
22:58orbea: with default config it just gives me null output and the swaymsg command to get the config details doesn't work...i'd really rather worry about the gpu issues than sway....
22:59soreau: sure
22:59soreau: I guess it's never worked for you
22:59soreau: so you can't bisect
23:00soreau: but you can file an issue and report your findings
23:04soreau: I suppose an 'easy' test would be with different release version of mesa
23:04soreau: if you find a good tag, then you can bisect
23:06orbea: is it certainly a mesa issue and not maybe a kernel issue?
23:08soreau: I will post a few key lines from your dmesg here:
23:08soreau: [ 163.371512] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=89531, emitted seq=89533
23:08soreau: [ 163.371644] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process ffxvi.exe pid 7723 thread vkd3d_queue pid 7807
23:08soreau: [ 163.371751] amdgpu 0000:03:00.0: amdgpu: GPU reset begin!
23:09soreau: and indeed, it's vkd3d
23:10soreau: orbea: There's not really a way to tell I don't think
23:10soreau: that'd make it too easy ;)
23:12orbea: heh, unfortunate
23:12orbea: i have some older kernels, i'll try them
23:12soreau: good idea
23:16orbea: same issue with 5.15.165
23:16soreau: if user space is sending the kernel driver bad cs, it won't like help to switch the kernel
23:17soreau: likely*
23:17orbea: i'll try the oldest mesa gentoo still offers, 24.0.9
23:18soreau: oh hm https://gitlab.freedesktop.org/mesa/mesa/-/issues/7638 ANV but still..
23:19soreau: might point to an issue that is not driver-specific
23:19soreau: "Switching to DirectX 11 by setting Launch Options to %command% -dx11 in Steam resolves the issue."
23:19orbea: fwiw FFVII remake was working on my system as of a week ago or so
23:20soreau: what did you change that caused the breakage?
23:20soreau: system update?
23:20orbea: this is FFXI (the new one that was released on PC yesterday)
23:20soreau: oh
23:20soreau: sorry, I am clearly not familar with the subtle differences ;)
23:20orbea: heh
23:21soreau: I'm just confused what changed a week ago that made that one no longer work
23:22orbea: as far as Im aware FFVII still works
23:22soreau: ah
23:23orbea: fwiw im currently waiting on llvm17 to build, that might be another thing to consider, llvm17 vs llvm18?
23:24soreau: well, yes
23:24soreau: it lowers instructions, so..
23:24soreau: just make sure to rebuild mesa afterward
23:25orbea: gentoo emerge is already ahead of you on that :)
23:25soreau: I think I got bit by upgrading llvm and not rebuilding mesa recently, caused gpu faults every 24hrs or so at random
23:25soreau: rebuilt, now things seem better
23:41orbea: im considering since the new mesa/llvm versions caused the game's internal shder compiler to recompile everything and the first time I tried to play it went for a bit without crashing it might take some time to be sure
23:43soreau: you might also consider MESA_SHADER_CACHE_DISABLE=1 or clearing the cache
23:52orbea: i deleted the files in ~/.cache/, but I never found the games internal cache files
23:52orbea: and it still happens
23:52orbea: with llvm17 and mesa-24.0.9
23:53soreau: more info to put in the report
23:53orbea: just make it for the mesa gitlab?
23:54soreau: yes
23:54orbea: i'll make one tonight, thanks
23:54soreau: cool, np