Ask Your Question
0

Fedora 25: make persistent .nvidia-settings-rc

asked 2016-12-15 05:05:07 -0500

thingummybob gravatar image

updated 2016-12-15 05:05:55 -0500

Rather confused by all this. Read the man pages for xinit, still not clear. I have Fedora 25 with Gnome 3.22 fully updated. I've used RPMFusion repos to install the lastest nvidia drivers. So far so good apart from the annoying loss of both auto login and the boot splash. However, it's applying the nvidia x server settings that has stumped me.

I read that it is intentional that the file

.nvidia-settings-rc

generated when I run the Nvidia settings app is only applied on a per session basis i.e. that even just logging off, but obviously a restart (i.e. EVERY DAY when I boot up!) means that those settings are not applied.

Nvidia's settings-user-guide suggests using (creating) a local

~/.xinitrc

file. I tried to do this in my home folder, using the following suggested settings:

nvidia-settings --load-config-only &
gdm

However, when I try to log in under a Wayland session I cannot. I can log into an X session but obviously don't want to do that (well, unless someone explain why). Using

nvidia-settings --load-config-only &
gnome-session

had no effect whatsoever.

For now I've simply deleted this file. But I'm not sure I fully understand which file I'm supposed to be putting where, or indeed what it should have in it. Can anyone please help? I'm sure it can't be too complicated

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-12-15 05:53:39 -0500

geforce gravatar image

updated 2016-12-15 06:03:37 -0500

rpmfusiom driver does it for you.

rpm -qf /etc/xdg/autostart/nvidia-settings.desktop
xorg-x11-drv-nvidia-375.26-1.fc25.x86_64


$ cat /etc/xdg/autostart/nvidia-settings.desktop
[Desktop Entry]
Type=Application
Exec=nvidia-settings -l
Icon=nvidia-settings
Hidden=false
NoDisplay=false
Name[en_GB]=nvidia-settings
Name=nvidia-settings
Comment[en_GB]=Load user settings
Comment=Load user settings
X-GNOME-Autostart-Delay=30
X-GNOME-Autostart-enabled=true

Gnome wayland doesn't support nvidia driver yet, mutter-3.23 adds the support needed (that will be F26). Don't expect nvidia-settings to work under wayland as it's a X app and requires the display env to be set, even if it did work it only controls Xorg, not wayland.

edit flag offensive delete link more

Comments

Great, thanks! Clarity at last ;0) It is confusing for us beginners though. All the commotion about "finally, in F25" and yet there's STILL no proper/full support for possibly THE. BIGGEST.SINGLE producer of graphics cards on the planet. Oh well. I'll just use x-session then, and wait for F26 so that I can discover that it doesn't in fact do x, y or etc. ("oh, no - that'll be in F27...) ;0)

thingummybob gravatar imagethingummybob ( 2016-12-15 06:26:23 -0500 )edit

and not wanting to seem unduly critical but hoping that feedback is useful (and not directed at you @leigh123)

After all the fanfare, it would seem reasonable to say that Wayland isn't finished yet? I entirely (and greatly) appreciate that this software cost me NOTHING!! but... I'm not a techie/IT specialist/Server Admin etc. I'm just an ordinary bloke wanting to write email, watch videos and play music etc. Quite WHY?? there remains this seemingly endless, untoward train of constant updates because bugs/conflicts, and the need I discovered to learn WAAAYY more about the workings of OSes...

thingummybob gravatar imagethingummybob ( 2016-12-15 06:47:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-12-15 05:05:07 -0500

Seen: 949 times

Last updated: Dec 15 '16