nvidia-xrun
nvidia-xrun copied to clipboard
Problem on Fedora
I'm on Fedora 26, and I installed bumblebee using the instructions in the fedora wiki.
At first I wasn't even able to get the other x-session working, but after adding a few paths to the nvidia-xorg.conf file, I managed to get openbox to work on tty3 using xrun.
The problem I'm running into is that the nvidia-xrun session uses Nouveau instead of my Nvidia drivers.
If I modify the nvidia-xinitrc file in the /etc/X11/xinit directory to use the same directories that I added in to my nvidia-xorg.conf, I keep getting a "BadWindow" error on the xrun session.
Are there any logs I can send to help?
Hi @AxelSilverdew , not sure why you use bumblebee. Is it usable with any performance improvement at all? If you can post here the config files and the Xorg log. Also not sure why you have noveau drivers at all. Is there any gain in it? But in general it should work altough nvidia-xrun sets some hardcoded paths.
Okay, so I've attached 2 zip files with the Xorg logs and the config files.
Test1.zip contains the log and files for the scenario where it's using Nouveau/Gallium instead of nvidia. Test2.zip contains the log and files for the scenario where I change some paths in the nvidia-xinitrc and get the BadWindow error.
I installed bumblebee because any other way I attempted to install the nvidia drivers resulted in the Nvidia card being on all the time and heating the system up.
The turning ON/OFF GPU should work with bbswitch only without bumblebee.
I tried that, but it didn't work. Do you want me to install the nvidia drivers directly from repo and then install bbswitch and turn the card off and try?
@AxelSilverdew blacklist nouveau driver
I did that.
I have modprobe.blacklist=nouveau
in my kernel params.
It still loads the Nouveau/Gallium driver on the xrun session. :/
@AxelSilverdew if you did not have bumblebee and the rest of the gang, just nvidia-xrun was it working? Apart from the GPU not being turned on/off properly.
I tried on a fresh install, but it didn't work. Fedora has some directory differences that I noticed. Currently trying to see if I can get it to work.
Will keep you updated.
Any news on this?
No updates I'm afraid. I've concluded that it's an issue with how Fedora installs drivers and such.
Oddly enough, I've been able to get it to work on openSUSE Tumbleweed.
I'll investigate on Fedora again later.
@AxelSilverdew I am interested in packaging nvidia-xrun for opensuse tumbleweed. Could you tell me how the installation went? Did you use the official driver? What packages did you install? Did any of the directories have to be tweaked?
@sudopluto. Hey, I'm already working on packaging it for openSUSE Tumbleweed. I'm just making sure that some fixes work on Fedora too so I can set up a copr repo for this. :D
@Witko @sudopluto I've packaged nvidia-xrun for openSUSE Tumbleweed, Leap, Fedora27 and RHEL7.
OBS Repo - Fedora27, OpenSUSE Tumbleweed, Leap COPR Repo - Fedora 27, but updates slower than the OBS Repo.
@AxelSilverdew , great thx! if you need any cooperation just write. Sorry for later reply, time surely flies:D