-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Describe the bug
please let me know if the below does not make sense or needs more explanation. It is a long description i know.
I am on optimus/prime laptop (intel cpu and nvidia gpu). Currently I use optimus manager and force laptop into GPU only mode so i can use external monitor via HDMI that is hardwired to GPU chip.
Some of my games will not run if I have the “use discrete gpu” toggle on but work and run on the GPU if I turn it off (that alone does not make sense to me) while others will not run if I do not have discrete GPU checked off. Currently all of my games are in 1 bottle so I think a workaround would be making 2 bottles, one with use discrete on and one with use discrete off however this is not ideal.
If I launch a game that does not work with use discrete GPU toggle on then my entire computer freezes/dies and the Caps Lock on my laptop flashes. I am assuming a kernel panic is happening but I do not see any specific logs journalctl.
I am guessing this is a kernel panic because I cannot switch to a different tty with ctrl + alt + f (number 2-12) and if any sound was playing it repeats until I hold the power button to turn it off.
Would be nice if this could be addressed even though there is a work around. Someone might end up losing data or some kind of corruption.
The games in question:
Guild Wars 2: runs with use Discrete GPU on but does NOT work with use Discrete GPU off. The launcher launches for a second then a CoherentUI crash occurs.
Unreal Tournament 2004: runs with Use Discrete GPU OFF but does NOT work with Use Discrete GPU on. The entire computer freezes/crashes.
To Reproduce
- use your optimus or prime laptop in optimus mode using optimus manager with external monitor connected via hardwired to gpu HDMI
- toggle on "use discrete gpu"
- launch Unreal Tournament 2004
- Entire computer freezes/dies and if a sound was playing it will repeat forever until you hold power button to kill. Other tty session do not work.
Package
Flatpak from Flathub
Distribution
arch
Troubleshooting Logs
Official Package: true
Version: 2022.12.14.1
Display:
X.org: true
X.org (port): :0
Wayland: false
Graphics:
vendors:
nvidia: &id002
vendor: nvidia
envs:
__NV_PRIME_RENDER_OFFLOAD: '1'
__GLX_VENDOR_LIBRARY_NAME: nvidia
__VK_LAYER_NV_optimus: NVIDIA_only
icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
intel: &id001
vendor: intel
envs:
DRI_PRIME: '1'
icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
prime:
integrated: *id001
discrete: *id002
Kernel:
Type: Linux
Version: 6.0.15-hardened1-1-hardened
Distro:
Name: GNOME
Version: '43'
Disk:
Total: 4103133001
Free: 4102013021
RAM:
MemTotal: 15.5GiB
MemAvailable: 13.1GiB
Bottles_envs: nullAdditional context
I have a lot of logs in journalctl but I am not sure exactly what should be looking for.
I tried both of the below commands and did not see anything that stood out but i could be wrong due to lack of knowledge.
journalctl --priority 2..3
journalctl -b -p 3