You are not logged in.
After the last update (today), running startx produces the following behaviour: switching to integrated graphics (using envycontrol) fails with an "unable to find screens" error, switching to hybrid graphics freezes indefinitely.
I'm using Lenovo Legion 5 15ARH05 with AMD integrated graphics and GTX 1650 Ti dedicated graphics. I have no xorg.conf and no modifications in /etc/X11/xorg.conf.d. I'm using NVIDIA proprietary drivers and xf86-video-amdgpu. The amdgpu module is listed in lsmod. It seems that Xorg is loading nvidia_drv.so but not amdgpu_drv.so. Please advise.
Last edited by mindbound (2023-03-21 14:32:25)
Offline
I managed to resolve the issue by adding a manual configuration entry in /etc/X11/xorg.conf.d/20-amdgpu.conf but that still does not explain why it wasn't needed before.
Offline
Do you have the xorg log of the failing attempt?
(Or are you willing to ce-create it)
Offline
Unfortunately no, I forgot to back it up and now both the .log and the .log.old have been overwritten with successful loading sequences.
The log contained only the loading process of the nvidia_drv.log when switched to integrated mode (and, of course, the failure of trying to find any screens). Adding a Device section to the 20-amdgpu.conf has resolved the issue but I'm still at a loss as to what might have caused it.
Offline
I'm still at a loss as to what might have caused it.
We're not going to figure it w/o some logs.
You've have to move your config away, startx to failure and archive and share the log.
"switched to integrated mode" means you're usign optimus-manager?
https://github.com/Askannz/optimus-mana … x-or-xinit
Offline
I'm using envycontrol.
I'll try to replicate the issue.
Offline