Ask Your Question
2

Wayland, X11 session x server... confused, please help clarify

asked 2016-11-30 05:58:23 -0500

thingummybob gravatar image

Please excuse if any of the following seems garbled/nonsense to anyone who fully understands the issues involved. Feel free to set me straight!

While I'm broadly from the school of "if it ain't broke don't fix it", I was very keen to see that Nvidia have finally written an up to date driver and so I have installed it, mostly because it just continues to improve VLC when watching movies (less tear, less dropped frames etc), but also for games. However, since this driver is all rather new, I'm not sure that other online references detailing the configuration are really up to date. Reading around, it seems that if I run

$ nvidia-settings

and click through the various options, the default configuration file it creates ".nvidia-settings-rc" is only applied per session, meaning that if I log out or restart, those configuration settings are not automatically applied. Is this correct under Wayland, or would this only apply if I were to run under an X11 session?

I ask because I am looking at an online resource that gives a detailed explanation and which suggests that I could either:

use a local ~/.xinitrc file to control my session at login, and thus load this .nvdia*-rc file, thus ensuring my chosen configuration is always set. It then goes on to detail how, if there's no local .xinitrc file, it might use a system default in /etc/x11/xinit/ or

run the nvidia settings and 'merge' the chosen config parameters into the x session defaults.

Again, if any of this is already superfluous and has no relevance under Wayland, then should I either:

Not need to worry at all and just leave everything as is if I run under Wayland? or

Only use an x11 session, and thus actually bother setting up these advanced configuration options to ensure I'm always using the optimal settings for my graphics card?

Apologies for the long post ;0)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-11-30 06:36:41 -0500

geforce gravatar image

If your using the proper nvidia driver (not nouveau) all the wayland doesn't apply as gnome-wayland doesn't support it. You will have to wait till F26 for nvidia wayland as the mutter git changes are unlikely to be backported to F25.

As for .nvidia-settings-rc, the rpmfusion driver loads it

https://pkgs.rpmfusion.org/cgit/nonfr...

https://pkgs.rpmfusion.org/cgit/nonfr...

edit flag offensive delete link more

Comments

Thanks, v helpful :0) Am I better off then just using xorg session instead? I'm afraid I don't entirely understand the above links. I've used the very latest driver from Nvidia site - 375.20 which supports x11. Afraid my understanding runs out at about this point ;0) Are you saying I should uninstall this official driver and use a pkg from rpmfusion instead, and that this will take care of it all? I note that # nvidia-settings includes option "save to x-org configuration" and merges. But again - really rather confused by all this..

thingummybob gravatar imagethingummybob ( 2016-11-30 12:26:41 -0500 )edit

Ah yes, worked out how to do that now, thanks. Have installed

# dnf install akmod-nvidia xorg-x11-drv-nvidia

Presume this is correct? ;0)

thingummybob gravatar imagethingummybob ( 2016-12-01 03:14:57 -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-11-30 05:58:23 -0500

Seen: 381 times

Last updated: Nov 30 '16