You are not logged in.

#1 2023-03-21 14:01:34

mindbound
Member
Registered: 2011-07-30
Posts: 46

Startx tries to use NVIDIA driver as default

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

#2 2023-03-21 14:41:14

mindbound
Member
Registered: 2011-07-30
Posts: 46

Re: Startx tries to use NVIDIA driver as default

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

#3 2023-03-21 14:58:38

seth
Member
Registered: 2012-09-03
Posts: 63,434

Re: Startx tries to use NVIDIA driver as default

Do you have the xorg log of the failing attempt?
(Or are you willing to ce-create it)

Online

#4 2023-03-21 15:02:36

mindbound
Member
Registered: 2011-07-30
Posts: 46

Re: Startx tries to use NVIDIA driver as default

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

#5 2023-03-21 15:13:59

seth
Member
Registered: 2012-09-03
Posts: 63,434

Re: Startx tries to use NVIDIA driver as default

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

Online

#6 2023-03-21 15:15:24

mindbound
Member
Registered: 2011-07-30
Posts: 46

Re: Startx tries to use NVIDIA driver as default

I'm using envycontrol.

I'll try to replicate the issue.

Offline

Board footer

Powered by FluxBB