My Experience With XLibre on Intel + Nvidia Legacy 470 Hybrid Setup #421
AmerXz
started this conversation in
Test Driving
Replies: 1 comment
-
|
Thank you very much for your test and feedback! The information about what works, how, and under what circumstances is very valuable! I have linked this discussion here to these issues/pull requests: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I actually don't have much things to say
The experience is stable , and I'm using xlibre on arch with daily usage besides few things
First of all , I've needed to use
Dlegacy_nvidia_padding=truemeson option when compiling otherwise xlibre xserver would crash / freeze when doing "Prime render offload"secondly , I was using @ONykyf 's Xlibre #658 Pull request and modify
10-nvidia.confin that config I change
ModulePathto/usr/lib64/xorg/modulesfrom the default value/usr/local/lib/nvidia/xorgAfter switching from that Pull request to mainline (Without @ONykyf 's changes) nvidia would appear as
modesetinginstead ofNVIDIA-G0when usingxrandr --listproviders(so instead of having one modesetting and the other to appear as NVIDIA-G0 , NVIDIA-G0 entry would appear as modesetting makes both "nvidia and intel' to appear as modesetting) Also nvidia-settings would not workAnyway I solved these two issues by simply making links for the nvidia libraries with these commands
sudo ln -s /usr/lib64/xorg/modules/drivers/nvidia_drv.so /usr/local/lib/xorg/modules/xlibre-25/drivers/sudo ln -s /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so.470.256.02 /usr/local/lib/xorg/modules/xlibre-25/extensions/sudo ln -s /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so /usr/local/lib/xorg/modules/xlibre-25/extensions/and these commands fixed
xrandr --listprovidersand nvidia-settings issuesI also did
sudo ln -s /etc/vulkan/icd.d/nvidia_icd.json /usr/share/vulkan/icd.d/becuase some vulkan appilcations where complaining about not finding nvidia icd loader in
/usr/share/vulkan/icd.d/(I don't know if this vulkan issue was related to the first two but doing that command fixed it)For more context : I'm using Arch but I didn't install the drivers from the aur
I installed the drivers from this github repo which had a script to install nvidia + new patches (I used the script from this repo instead of aur becuase the aur package was late to add newer arch kernel's patches and then I didn't bother to remove the drivers and install them from the aur)
As I said Xlibre on my setup is good right now and I'm using it in my daily usage (that even works in proton games) besides few quirks (which I already described)
I hope this info was useful , and thanks for the support
Beta Was this translation helpful? Give feedback.
All reactions