bayasdev / envycontrol

Easy GPU switching for Nvidia Optimus laptops under Linux
MIT License
1.22k stars 62 forks source link

[BUG / Feature request] crash when mssing xorg amdgpy driver #64

Open Marc-Pierre-Barbier opened 2 years ago

Marc-Pierre-Barbier commented 2 years ago

When usr/lib/xorg/modules/drivers/amdgpu_drv.so is not present in the system envycontrol should default to modesetting. i had a black screen on my laptop that was fixed by install xf86-video-amdgpu.

this can also be added to the wiki.

cronyakatsuki commented 1 year ago

That driver is used because otherwise prime syncronization (Using NVIDIA mode) with an amd cpu won't work.

I know from experience because I was the one that added the feature because it was the only way to get NVIDIA mode to work.

EDIT: It's a limitation beetwen amd and nvidia, they don't really like eachother in this space.