nvidia-xrun icon indicating copy to clipboard operation
nvidia-xrun copied to clipboard

Problem on Fedora

Open AxelSilverdew opened this issue 7 years ago • 14 comments

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?

AxelSilverdew avatar Jun 30 '17 16:06 AxelSilverdew

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.

Witko avatar Jun 30 '17 16:06 Witko

Test2.zip Test1.zip

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.

AxelSilverdew avatar Jun 30 '17 17:06 AxelSilverdew

The turning ON/OFF GPU should work with bbswitch only without bumblebee.

Witko avatar Jun 30 '17 17:06 Witko

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 avatar Jun 30 '17 17:06 AxelSilverdew

@AxelSilverdew blacklist nouveau driver

Sudokamikaze avatar Jun 30 '17 22:06 Sudokamikaze

I did that. I have modprobe.blacklist=nouveau in my kernel params.

It still loads the Nouveau/Gallium driver on the xrun session. :/

AxelSilverdew avatar Jul 01 '17 18:07 AxelSilverdew

@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.

Witko avatar Jul 03 '17 07:07 Witko

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.

AxelSilverdew avatar Jul 03 '17 08:07 AxelSilverdew

Any news on this?

Witko avatar Dec 08 '17 21:12 Witko

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 avatar Dec 09 '17 03:12 AxelSilverdew

@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 avatar Dec 24 '17 23:12 sudopluto

@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

AxelSilverdew avatar Dec 25 '17 05:12 AxelSilverdew

@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 avatar Dec 29 '17 04:12 AxelSilverdew

@AxelSilverdew , great thx! if you need any cooperation just write. Sorry for later reply, time surely flies:D

Witko avatar Jan 17 '19 23:01 Witko