Nvidia X Server Settings and xorg troubles

Hi, guys.

I am having trouble with the above-mentioned. Basically, when using kernl58 with the Nvidia 450xx drivers I get to the greeter but when I enter my password, the screen goes black. I then have to open the terminal and type reboot. However, when I use kernel54, I can log in just fine.

The other troubles I am experiencing is that G-Sync is automatically reset to ‘on’ on restart and I can’t seem to get the changes to stick.

Suggestions?

Please show us the Xorg.0.log for successful 5.4 login an unsuccessful 5.8 black screen.

I’ve got two of them and both are very long. I doubt I can post them. Can I take excerpts of the output and post? Or maybe shorten them down to vital info?

Share logs on pastebin.com in reply use URLs.

I just had a look at the two log files. The log for kernel 5.8 is indeed showing that the X server is terminated:

(II) Server terminated successfully (0). Closing log file.

Interesting is that there are no X11 related errors, but plenty of systemd-logind messages which are missing in the kernel 5.4 log file:

The kernel 5.8 log file says:

systemd-logind messages

II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
(II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
(II) systemd-logind: releasing fd for 226:0
(II) systemd-logind: got fd for /dev/input/event2 13:66 fd 33 paused 0
(II) systemd-logind: got fd for /dev/input/event1 13:65 fd 36 paused 0
(II) systemd-logind: got fd for /dev/input/event0 13:64 fd 37 paused 0
(II) systemd-logind: got fd for /dev/input/event27 13:91 fd 38 paused 0
(II) systemd-logind: got fd for /dev/input/event28 13:92 fd 39 paused 0
(II) systemd-logind: got fd for /dev/input/event29 13:93 fd 40 paused 0
(II) systemd-logind: got fd for /dev/input/event30 13:94 fd 41 paused 0
(II) systemd-logind: got fd for /dev/input/event31 13:95 fd 42 paused 0
(II) systemd-logind: got fd for /dev/input/event19 13:83 fd 43 paused 0
(II) systemd-logind: got fd for /dev/input/event20 13:84 fd 44 paused 0
(II) systemd-logind: got fd for /dev/input/event21 13:85 fd 45 paused 0
(II) systemd-logind: got fd for /dev/input/event22 13:86 fd 46 paused 0
(II) systemd-logind: got fd for /dev/input/event24 13:88 fd 47 paused 0
(II) systemd-logind: got fd for /dev/input/event25 13:89 fd 48 paused 0
(II) systemd-logind: got fd for /dev/input/event18 13:82 fd 49 paused 0
(II) systemd-logind: returning pre-existing fd for /dev/input/event30 13:94
(II) systemd-logind: returning pre-existing fd for /dev/input/event21 13:85
(II) systemd-logind: not releasing fd for 13:85, still in use
(II) systemd-logind: not releasing fd for 13:94, still in use
(II) systemd-logind: releasing fd for 13:82
(II) systemd-logind: releasing fd for 13:89
(II) systemd-logind: releasing fd for 13:88
(II) systemd-logind: releasing fd for 13:86
(II) systemd-logind: releasing fd for 13:85
(II) systemd-logind: releasing fd for 13:84
(II) systemd-logind: releasing fd for 13:83
(II) systemd-logind: releasing fd for 13:95
(II) systemd-logind: releasing fd for 13:94
(II) systemd-logind: releasing fd for 13:93
(II) systemd-logind: releasing fd for 13:92
(II) systemd-logind: releasing fd for 13:91
(II) systemd-logind: releasing fd for 13:64
(II) systemd-logind: releasing fd for 13:65
(II) systemd-logind: releasing fd for 13:66
(II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
(II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
(II) systemd-logind: releasing fd for 226:0
(II) systemd-logind: got fd for /dev/input/event2 13:66 fd 33 paused 0
(II) systemd-logind: got fd for /dev/input/event1 13:65 fd 36 paused 0
(II) systemd-logind: got fd for /dev/input/event0 13:64 fd 37 paused 0
(II) systemd-logind: got fd for /dev/input/event27 13:91 fd 38 paused 0
(II) systemd-logind: got fd for /dev/input/event28 13:92 fd 39 paused 0
(II) systemd-logind: got fd for /dev/input/event29 13:93 fd 40 paused 0
(II) systemd-logind: got fd for /dev/input/event30 13:94 fd 41 paused 0
(II) systemd-logind: got fd for /dev/input/event31 13:95 fd 42 paused 0
(II) systemd-logind: got fd for /dev/input/event19 13:83 fd 43 paused 0
(II) systemd-logind: got fd for /dev/input/event20 13:84 fd 44 paused 0
(II) systemd-logind: got fd for /dev/input/event21 13:85 fd 45 paused 0
(II) systemd-logind: got fd for /dev/input/event22 13:86 fd 46 paused 0
(II) systemd-logind: got fd for /dev/input/event24 13:88 fd 47 paused 0
(II) systemd-logind: got fd for /dev/input/event25 13:89 fd 48 paused 0
(II) systemd-logind: got fd for /dev/input/event18 13:82 fd 49 paused 0
(II) systemd-logind: returning pre-existing fd for /dev/input/event30 13:94
(II) systemd-logind: returning pre-existing fd for /dev/input/event21 13:85
(II) systemd-logind: not releasing fd for 13:85, still in use
(II) systemd-logind: not releasing fd for 13:94, still in use
(II) systemd-logind: releasing fd for 13:82
(II) systemd-logind: releasing fd for 13:89
(II) systemd-logind: releasing fd for 13:88
(II) systemd-logind: releasing fd for 13:86
(II) systemd-logind: releasing fd for 13:85
(II) systemd-logind: releasing fd for 13:84
(II) systemd-logind: releasing fd for 13:83
(II) systemd-logind: releasing fd for 13:95
(II) systemd-logind: releasing fd for 13:94
(II) systemd-logind: releasing fd for 13:93
(II) systemd-logind: releasing fd for 13:92
(II) systemd-logind: releasing fd for 13:91
(II) systemd-logind: releasing fd for 13:64
(II) systemd-logind: releasing fd for 13:65
(II) systemd-logind: releasing fd for 13:66

And these are actually the last messages before the X server terminates itself.

On the other hand, the log file for kernel 5.4 has only one message from systemd-logind:

systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration

This is weird. I do not know why systemd-logind is behaving differently on both kernels.

Also, with kernel 5.4 you get this X11 warning:

(WW) NVIDIA(0): Option "NoLogo" is not used

This is not showing with kernel 5.8. Is this due to a different config?

Also with kernel 5.4 the log is saying things like:

(**) Extension "COMPOSITE" is enabled
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(**) Power Button: Applying InputClass "Keyboard Defaults"

This is not showing with kernel 5.8. This is all very weird.

I am a little bit lost here and leave it for others to join the trouble shooting.

PS
Your “Kingston HyperX Alloy FPS Mechanical Gaming Keyboard” seems to behave differently between kernel 5.8 and 5.4. Can you try with a different keyboard?

Alright, thanks. No, unfortunately, I only have one keyboard :confused:

Alright, something odd now happened. When the screen goes black, I press the super-key and start typing ‘x server’ and press enter, NVIDIA x server pops up and the screen comes back to life. I suspect the culprit is G-Sync, because G-Sync is enabled on log-in but not in x serv itself. So when I enter x serv, it switches off G-Sync automatically.

What file can I edit to remove the autostart of G-Sync?

So… I’m still experiencing trouble with that darn G-Sync. Which file, and how, can I edit it to stop auto loading G-Sync?

Please don’t bump or duplicate your own threads just because you haven’t received a satisfactory reply yet.

Alright. Apologies.

1 Like

If anyone starts experiencing the same issue, I found the fix:

The problem seems to be that the OS loads xorg.conf instead of the Nvidia-generated config. To solve this make a startup option by enabling this command nvidia-settings --load-config-only.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.