Nvidia gtx970 black screen

Hi
Like many others i get a black screen after booting my server (not laptop). I have tried the solutions in other threads but nothing has worked for me so far.
I have managed to get picture if i uninstall the nvidia drivers, I hope someone can help me.

I have tried

  • help dokumentation, Troubleshooting:_X-Server_Failed_to_Start_and_Install (cant link to it?).
  • downgrading form kernel 5.10 to 5.4.
  • Reinstall drivers.
  • Bunch more i dont specifically remember.

I cant open new TTY, its just black. So i SSH into server to try stuff.

Here is some output from commands.

$ mhwd -l
> 0000:01:00.0 (0300:10de:13c2) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2021.12.18               false            PCI
    video-nvidia-470xx            2021.12.18               false            PCI
    video-nvidia-390xx            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2021.12.18               false            PCI
$ inxi -G
Graphics:
  Device-1: NVIDIA GM204 [GeForce GTX 970] driver: nvidia v: 510.47.03
  Display: server: X.org 1.21.1.3 driver: loaded: nvidia tty: 102x51
  Message: Advanced graphics data unavailable in console. Try -G --display
nvidia-smi
Wed Feb 16 21:14:15 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03    Driver Version: 510.47.03    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A |
| 31%   39C    P0    42W / 200W |      0MiB /  4096MiB |      1%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
$ lspci | grep -E "VGA|3D"
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
$ ls -laR /etc/X11
/etc/X11:
total 20
drwxr-xr-x   5 root root 4096 23 jan 13.49 .
drwxr-xr-x 103 root root 4096 16 feb 20.53 ..
drwxr-xr-x   2 root root 4096 16 feb 20.08 mhwd.d
drwxr-xr-x   3 root root 4096 23 jan 13.49 xinit
drwxr-xr-x   2 root root 4096 16 feb 20.08 xorg.conf.d

/etc/X11/mhwd.d:
total 12
drwxr-xr-x 2 root root 4096 16 feb 20.08 .
drwxr-xr-x 5 root root 4096 23 jan 13.49 ..
-rw-r--r-- 1 root root 1461 16 feb 20.08 nvidia.conf
-rw-r--r-- 1 root root    0 16 feb 20.08 nvidia.conf.nvidia-xconfig-original

/etc/X11/xinit:
total 20
drwxr-xr-x 3 root root 4096 23 jan 13.49 .
drwxr-xr-x 5 root root 4096 23 jan 13.49 ..
-rw-r--r-- 1 root root  739 10 okt  2020 xinitrc
drwxr-xr-x 2 root root 4096 16 feb 17.49 xinitrc.d
-rw-r--r-- 1 root root   45 10 okt  2020 xserverrc

/etc/X11/xinit/xinitrc.d:
total 20
drwxr-xr-x 2 root root 4096 16 feb 17.49 .
drwxr-xr-x 3 root root 4096 23 jan 13.49 ..
-rwxr-xr-x 1 root root  318 23 jun  2021 40-libcanberra-gtk-module.sh
-rwxr-xr-x 1 root root  538  8 feb 16.30 50-systemd-user.sh
-rwxr-xr-x 1 root root  243 15 jan 22.01 80xapp-gtk3-module.sh

/etc/X11/xorg.conf.d:
total 12
drwxr-xr-x 2 root root 4096 16 feb 20.08 .
drwxr-xr-x 5 root root 4096 23 jan 13.49 ..
-rw-r--r-- 1 root root  232  6 feb 17.46 00-keyboard.conf
lrwxrwxrwx 1 root root   27 16 feb 20.08 90-mhwd.conf -> /etc/X11/mhwd.d/nvidia.conf
$ cat /etc/X11/mhwd.d/nvidia.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 510.47.03

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
        Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection


Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Thanks in advanced!

have you checked in journal log ?

sudo journalctl -g nvidia
sudo journalctl -g drm

I cant find a error but i get the following repeated over and over.

feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (==) NVIDIA(0):     will be used as the requested mode.
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (==) NVIDIA(0):
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0): Validated MetaModes:
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0):     "DFP-1:nvidia-auto-select"
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (--) NVIDIA(0): DPI set to (76, 76); computed from "UseEdidDpi" X config
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (--) NVIDIA(0):     option
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA:     access.
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0):     configuration option may not be set correctly.  When the
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0):     Config Options in the README.
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select"
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (==) NVIDIA(0): Disabling shared memory pixmaps
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (==) NVIDIA(0): Backing store enabled
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (==) NVIDIA(0): Silken mouse enabled
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (**) NVIDIA(0): DPMS enabled
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (WW) NVIDIA(0): Option "NoLogo" is not used
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0): [DRI2] Setup complete
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event5)
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event6)
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event7)
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event8)
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=10 (/dev/input/event9)
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=11 (/dev/input/event10)
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=12 (/dev/input/event11)
feb 17 00:38:10 skorstten /usr/lib/gdm-x-session[154520]: (II) NVIDIA(GPU-0): Deleting GPU-0

For some reasons it says that it deletes GPU-0 but i cant see why.
I also get

 caller _nv000651rm+0x1ad/0x200 [nvidia] mapping multiple BARs

In drm it just repeats

(II) xfree86: Adding drm device (/dev/dri/card0)
/usr/lib/gdm-x-session[2726]: (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0

When googling the above things people seem to say they aren’t problems.

GTX 960 owner here, and on Gnome i use early KMS, so in /etc/mkinitcpio.conf i have:

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

Also, i use in /etc/default/grub under the GRUB_CMDLINE_LINUX_DEFAULT this kernel parameter:

nvidia-drm.modeset=1

You need to run:
sudo mkinitcpio -P
and
sudo update-grub

if you modify those files.

Regarding the /etc/X11/mhwd.d/nvidia.conf i always use:

    Option         "TripleBuffer"  "On"
    Option  "ConnectToAcpid"    "Off"

under Section “Device” instead of the Option "NoLogo" "1"

And if i have to edit the conf file, i always run this commend:

sudo mhwd-gpu --setmod nvidia --setxorg /etc/X11/mhwd.d/nvidia.conf

One thing is unclear to me, what connection port and cable are you using?

I am using HDMI port and cable.

Progress!
Now i could go to tty4 and run startx which started the gui. However i couldn’t do anything. When i tried start the terminal, file explorer or enter settings it would load for a few seconds and then stop loading it.
I could however open firefox.

Now when i look in journalctl i get

nvidia: module verification failed: signature and/or required key missing - tainting kernel
(WW) NVIDIA:     '/var/run/nvidia-xdriver-532b0ba4' Permission denied

In /var/log/Xorg.0.log i have:

[  7570.367] (II) NVIDIA(GPU-0): Deleting GPU-0
[  7570.624] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[  7570.624] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error

I have discovered that if i wait 3-5 min after boot the gui start and everything seems to work. But if i try to start it with startx i cant start programs.

Do you have any idea as to why this is?

That is a lot of time and to me doesn’t look normal.
Do you use some USB hub for mouse and keyboard, what kernel are you running, is your system fully updated?
Might want to share inxi -Fazy

have a look with

sudo systemd-analyze blame 
sudo systemd-analyze critical-chain

Using a wireless logitech keyboard with touchpad mouse on it, no hub. Kernel 5.10 and i installed OS couple of days ago and have done tha pacman command for updating and it says up to date.

$ inxi -Fazy
System:
  Kernel: 5.10.98-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
    root=UUID=dcb20283-1a07-481e-bc15-7d28c6c24a8f rw udev.log_priority=3
    nvidia-drm.modeset=1
  Console: pty pts/0 DM: GDM 41.3 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: MSI model: Z97 GAMING 5 (MS-7917) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 1.13
    date: 02/16/2016
CPU:
  Info: model: Intel Core i5-4690K bits: 64 type: MCP arch: Haswell family: 6
    model-id: 0x3C (60) stepping: 3 microcode: 0x28
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
    desc: 1x6 MiB
  Speed (MHz): avg: 3085 high: 3903 min/max: 800/3900 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 1342 2: 3903 3: 3862
    4: 3233 bogomips: 28012
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GM204 [GeForce GTX 970] vendor: Micro-Star MSI
    driver: nvidia v: 510.47.03 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
    chip-ID: 10de:13c2 class-ID: 0300
  Display: server: X.org 1.21.1.3 compositor: gnome-shell driver:
    loaded: nvidia tty: 209x52
  Message: Advanced graphics data unavailable in console. Try -G --display
Audio:
  Device-1: Intel 9 Series Family HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8ca0
    class-ID: 0403
  Device-2: NVIDIA GM204 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fbb
    class-ID: 0403
  Sound Server-1: ALSA v: k5.10.98-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.45 running: no
Network:
  Device-1: Qualcomm Atheros Killer E220x Gigabit Ethernet
    vendor: Micro-Star MSI driver: alx v: kernel port: d000 bus-ID: 03:00.0
    chip-ID: 1969:e091 class-ID: 0200
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: Microsoft Wireless XBox Controller Dongle type: USB
    driver: mt76x2u bus-ID: 3-14:4 chip-ID: 045e:02e6 class-ID: 0000
    serial: <filter>
  IF: wlp0s20u14 state: down mac: <filter>
  IF-ID-1: br-50c54a145e4e state: down mac: <filter>
  IF-ID-2: br-a5b65fd7d4b0 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-3: docker0 state: down mac: <filter>
  IF-ID-4: veth64bae79 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-5: vethd3dd0a3 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-6: vethfebc50e state: up speed: 10000 Mbps duplex: full
    mac: <filter>
RAID:
  Supported mdraid levels: raid6 raid5 raid4
  Device-1: md0 maj-min: 9:0 type: mdraid level: raid-5 status: active
    size: 1.8 TiB
  Info: report: 2/2 UU blocks: 1929945088 chunk-size: 64k super-blocks: 1.2
    algorithm: 2
  Components: Online:
  0: sdb2 maj-min: 8:18 size: 1.8 TiB
  1: sdc2 maj-min: 8:34 size: 1.8 TiB
Drives:
  Local Storage: total: raw: 6.66 TiB usable: 4.86 TiB used: 1.31 TiB (27.0%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Hitachi model: HTS543232A7A384
    size: 298.09 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: A90C scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD20EFRX-68EUZN0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A82 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
    model: WD20EFRX-68EUZN0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A82 scheme: GPT
  ID-4: /dev/sdd maj-min: 8:48 vendor: Western Digital
    model: WDS100T1R0A-68A4W0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 00WR
    scheme: GPT
  ID-5: /dev/sde maj-min: 8:64 vendor: Western Digital
    model: WD20EFAX-68FB5N0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A82
Partition:
  ID-1: / raw-size: 297.79 GiB size: 292.06 GiB (98.07%)
    used: 16.61 GiB (5.7%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 40 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 219 Uptime: 4m wakeups: 0 Memory: 15.58 GiB used: 1.45 GiB (9.3%)
  Init: systemd v: 250 tool: systemctl Compilers: gcc: 11.1.0 Packages:
  pacman: 1180 lib: 402 Shell: Bash v: 5.1.16 running-in: pty pts/0 (SSH)
  inxi: 3.3.12
$ sudo systemd-analyze blame
48.138s docker.service
18.584s NetworkManager-wait-online.service
12.606s accounts-daemon.service
12.118s polkit.service
11.316s samba.service
10.465s systemd-journal-flush.service
 8.059s nmb.service
 7.110s dev-sda2.device
 4.894s smb.service
 3.437s ModemManager.service
 3.358s NetworkManager.service
 2.811s systemd-logind.service
 2.767s user@1000.service
 2.606s udisks2.service
 2.583s systemd-udevd.service
 2.276s ufw.service
 2.228s wpa_supplicant.service
 1.348s systemd-fsck@dev-disk-by\x2duuid-AA3E\x2d767B.service
 1.070s lvm2-monitor.service
 1.001s systemd-tmpfiles-setup-dev.service
  967ms gdm.service
  919ms systemd-modules-load.service
  650ms colord.service
  543ms alsa-restore.service
  534ms systemd-random-seed.service
  454ms systemd-journald.service
  380ms systemd-udev-trigger.service
  359ms systemd-rfkill.service
  319ms dev-hugepages.mount
  319ms dev-mqueue.mount
  318ms sys-kernel-debug.mount
  318ms sys-kernel-tracing.mount
  298ms tmp.mount
  298ms kmod-static-nodes.service
  298ms modprobe@fuse.service
  298ms modprobe@drm.service
  297ms modprobe@configfs.service
  291ms upower.service
  255ms boot-efi.mount
  225ms systemd-tmpfiles-setup.service
  202ms mnt-discworld.mount
  191ms fail2ban.service
  184ms systemd-sysctl.service
  114ms systemd-update-utmp.service
  105ms systemd-timesyncd.service
   75ms systemd-remount-fs.service
   65ms rtkit-daemon.service
   55ms sys-kernel-config.mount
   51ms sys-fs-fuse-connections.mount
   47ms systemd-user-sessions.service
   28ms user-runtime-dir@1000.service
    2ms mdmonitor.service
    1ms docker.socket
$ sudo systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @1min 25.939s
└─multi-user.target @1min 25.939s
  └─docker.service @37.799s +48.138s
    └─network-online.target @37.758s
      └─NetworkManager-wait-online.service @19.171s +18.584s
        └─NetworkManager.service @15.783s +3.358s
          └─dbus.service @15.780s
            └─basic.target @15.777s
              └─sockets.target @15.776s
                └─docker.socket @15.774s +1ms
                  └─sysinit.target @15.733s
                    └─systemd-update-utmp.service @15.615s +114ms
                      └─systemd-tmpfiles-setup.service @15.341s +225ms
                        └─systemd-journal-flush.service @4.824s +10.465s
                          └─systemd-journald.service @4.324s +454ms
                            └─systemd-journald.socket @2.645s
                              └─system.slice @2.452s
                                └─-.slice @2.452s

I reran inxi from the GUI to get more data. I SSH into machine in the previous one

System:
  Kernel: 5.10.98-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
    root=UUID=dcb20283-1a07-481e-bc15-7d28c6c24a8f rw udev.log_priority=3
    nvidia-drm.modeset=1
  Desktop: GNOME 41.3 tk: GTK 3.24.31 wm: gnome-shell dm: GDM 41.3
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: MSI product: MS-7917 v: 1.0
    serial: <superuser required>
  Mobo: MSI model: Z97 GAMING 5 (MS-7917) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 1.13
    date: 02/16/2016
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400 Plus
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: Discharging
CPU:
  Info: model: Intel Core i5-4690K bits: 64 type: MCP arch: Haswell family: 6
    model-id: 0x3C (60) stepping: 3 microcode: 0x28
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
    desc: 1x6 MiB
  Speed (MHz): avg: 3898 high: 3905 min/max: 800/3900 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 3900 2: 3887 3: 3905
    4: 3900 bogomips: 28012
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GM204 [GeForce GTX 970] vendor: Micro-Star MSI
    driver: nvidia v: 510.47.03 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
    chip-ID: 10de:13c2 class-ID: 0300
  Display: wayland server: X.org 1.21.1.3 compositor: gnome-shell driver:
    loaded: nvidia display-ID: 0 resolution: <missing: xdpyinfo>
  OpenGL: renderer: NVIDIA GeForce GTX 970/PCIe/SSE2
    v: 4.6.0 NVIDIA 510.47.03 direct render: Yes
Audio:
  Device-1: Intel 9 Series Family HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8ca0
    class-ID: 0403
  Device-2: NVIDIA GM204 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fbb
    class-ID: 0403
  Sound Server-1: ALSA v: k5.10.98-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.45 running: no
Network:
  Device-1: Qualcomm Atheros Killer E220x Gigabit Ethernet
    vendor: Micro-Star MSI driver: alx v: kernel port: d000 bus-ID: 03:00.0
    chip-ID: 1969:e091 class-ID: 0200
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: Microsoft Wireless XBox Controller Dongle type: USB
    driver: mt76x2u bus-ID: 3-14:4 chip-ID: 045e:02e6 class-ID: 0000
    serial: <filter>
  IF: wlp0s20u14 state: down mac: <filter>
  IF-ID-1: br-50c54a145e4e state: down mac: <filter>
  IF-ID-2: br-a5b65fd7d4b0 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-3: docker0 state: down mac: <filter>
  IF-ID-4: veth64bae79 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-5: vethd3dd0a3 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-6: vethfebc50e state: up speed: 10000 Mbps duplex: full
    mac: <filter>
RAID:
  Supported mdraid levels: raid6 raid5 raid4
  Device-1: md0 maj-min: 9:0 type: mdraid level: raid-5 status: active
    size: 1.8 TiB
  Info: report: 2/2 UU blocks: 1929945088 chunk-size: 64k super-blocks: 1.2
    algorithm: 2
  Components: Online:
  0: sdb2 maj-min: 8:18 size: 1.8 TiB
  1: sdc2 maj-min: 8:34 size: 1.8 TiB
Drives:
  Local Storage: total: raw: 6.66 TiB usable: 4.86 TiB used: 1.31 TiB (27.0%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Hitachi model: HTS543232A7A384
    size: 298.09 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: A90C scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD20EFRX-68EUZN0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A82 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
    model: WD20EFRX-68EUZN0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A82 scheme: GPT
  ID-4: /dev/sdd maj-min: 8:48 vendor: Western Digital
    model: WDS100T1R0A-68A4W0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 00WR
    scheme: GPT
  ID-5: /dev/sde maj-min: 8:64 vendor: Western Digital
    model: WD20EFAX-68FB5N0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A82
Partition:
  ID-1: / raw-size: 297.79 GiB size: 292.06 GiB (98.07%)
    used: 16.61 GiB (5.7%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 209 Uptime: 12m wakeups: 2 Memory: 15.58 GiB
  used: 1.53 GiB (9.8%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.1.0 Packages: pacman: 1180 lib: 402 Shell: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.12

not a good choice to pair wayland and nvidia. use the propietary driver for nvidia and no wayland.

    driver: nvidia v: 510.47.03 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
    chip-ID: 10de:13c2 class-ID: 0300
  Display: wayland server:

And the way to do that is only to uncomment WaylandEnable=false in /etc/gdm/custom.conf? I don’t need to install or activate anythin else?

At the login screen there’s a small gear at the bottom right.Click it and it will give you the option to login with xorg.

I didn’t have Xorg as an option i had, Gnome, Gnome classic and Wayland. If i chose Gnome och Gnome classic, the screen went black for a couple of seconds after i logged in and then i got sent back to login page. If i used wayland it worked as normal.

If i look in journal i now got the following errors.

feb 18 17:40:52 skorstten gnome-session-binary[1606]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
feb 18 17:40:52 skorstten gnome-session-binary[1606]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
feb 18 17:40:54 skorstten pulseaudio[1213]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
feb 18 17:41:02 skorstten gdm-password][1832]: pam_unix(gdm-password:auth): conversation failed
feb 18 17:41:24 skorstten gdm-launch-environment][1578]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
feb 18 17:41:28 skorstten systemd-coredump[1911]: [🡕]  Process 658 (gnome-shell) of user 1000 dumped core.

                                                  Module linux-vdso.so.1 with build-id 3ca731c98740a4de4b18f96c506cd3c597eb43fb
                                                  Module ISO8859-1.so with build-id d93c01aecc9ab9b0749df9c7d43dd05dd3887577
                                                  Module libcanberra-gtk-module.so with build-id 72bd14fd5ba4fb0eda082b3daeccc80b796a5586
                                                  Module libassuan.so.0 with build-id 21dba3fc93d5d174beca9378b016bcd85829a5c1
                                                  Module libssl.so.1.1 with build-id 1024424ab33a3767da03f4fdb1fc1b02479f160f
                                                  Module libssh2.so.1 with build-id a4adfe44cc7ebd295b3b783361acc3dcfcea1d50
                                                  Module libnghttp2.so.14 with build-id eca975f5266a67fc4895065727647e98ff99a128
                                                  Module libacl.so.1 with build-id 27869ed0219ade5d2ffd50eaee11f967187faa8b
                                                  Module libyaml-0.so.2 with build-id 94fd2b16e4c311e4c8b041061dfdb9ca8f508e29
                                                  Module libgpgme.so.11 with build-id e9c3a850e8ca354bdc0908996195707175e855aa
                                                  Module libcurl.so.4 with build-id d4dec3d9f8c789ec28d441f2a3f73d532809e6ef
                                                  Module libarchive.so.13 with build-id ae505295325ae814b94b23d8f79c0eb25d4efa02
                                                  Module libcrypto.so.1.1 with build-id 4c926b672d97886b123e03a008387aecf0786de4
                                                  Module libappstream-glib.so.8 with build-id b6c2db18354ad660b26ce2281398e50765c225a8
                                                  Module libalpm.so.13 with build-id 1407b7abcb95846a537d3909fb2549d118a5aa48
                                                  Module libpamac.so with build-id 781da7fb078446861a976c93a340d56e294be71d

And

feb 18 17:42:05 skorstten systemd[2236]: Started GNOME XSettings service.
feb 18 17:42:05 skorstten systemd[2236]: Reached target GNOME session X11 services.
feb 18 17:42:05 skorstten systemd[2236]: Reached target GNOME Session.
feb 18 17:42:05 skorstten systemd[2236]: Reached target GNOME Wayland Session (session: gnome).
feb 18 17:42:05 skorstten systemd[2236]: Reached target Current graphical user session.
feb 18 17:42:05 skorstten gnome-session[1944]: gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1
feb 18 17:42:05 skorstten gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1
feb 18 17:42:05 skorstten gnome-session[1944]: gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1
feb 18 17:42:05 skorstten gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1
feb 18 17:42:05 skorstten gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1
feb 18 17:42:05 skorstten gnome-session[1944]: gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1
feb 18 17:42:05 skorstten gnome-session[1944]: gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1
feb 18 17:42:05 skorstten gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1
feb 18 17:42:05 skorstten gnome-shell[2283]: ATK Bridge is disabled but a11y has already been enabled.
feb 18 17:42:05 skorstten gnome-session[1944]: gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1
feb 18 17:42:05 skorstten gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1
feb 18 17:42:05 skorstten gsd-color[2391]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Sony_PHILIPS_FTV_16843009_gdm_120
feb 18 17:42:05 skorstten gnome-session[1944]: gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1
feb 18 17:42:05 skorstten gnome-session-binary[1944]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) UnloadModule: "libinput"
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) systemd-logind: not releasing fd for 13:67, still in use
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) UnloadModule: "libinput"
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) systemd-logind: releasing fd for 13:67
feb 18 17:42:05 skorstten gsd-a11y-settin[2054]: Error releasing name org.gnome.SettingsDaemon.A11ySettings: The connection is closed
feb 18 17:42:05 skorstten gnome-session[1944]: gnome-session-binary[1944]: WARNING: Lost name on bus: org.gnome.SessionManager
feb 18 17:42:05 skorstten gnome-session-binary[1944]: WARNING: Lost name on bus: org.gnome.SessionManager
feb 18 17:42:05 skorstten polkitd[480]: Unregistered Authentication Agent for unix-session:6 (system bus name :1.128, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconne>
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) UnloadModule: "libinput"
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) systemd-logind: releasing fd for 13:65
feb 18 17:42:05 skorstten touchegg.desktop[2485]: Parsing your configuration file...
feb 18 17:42:05 skorstten touchegg.desktop[2485]: Using configuration file "/home/andreas/.config/touchegg/touchegg.conf"
feb 18 17:42:05 skorstten touchegg.desktop[2485]: Configuration parsed successfully
feb 18 17:42:05 skorstten touchegg.desktop[2485]: Connecting to Touchégg daemon...
feb 18 17:42:05 skorstten touchegg.desktop[2485]: Error connecting to Touchégg daemon: Could not connect: Connection refused
feb 18 17:42:05 skorstten touchegg.desktop[2485]: Reconnecting in 5 seconds...
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) UnloadModule: "libinput"
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) systemd-logind: releasing fd for 13:64
feb 18 17:42:05 skorstten dbus-daemon[2256]: [session uid=1000 pid=2256] Successfully activated service 'org.gnome.Shell.Screencast'
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) UnloadModule: "libinput"
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) systemd-logind: releasing fd for 13:66
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) NVIDIA(GPU-0): Deleting GPU-0
feb 18 17:42:05 skorstten gnome-session-f[2615]: Cannot open display:
feb 18 17:42:05 skorstten /usr/lib/gdm-x-session[1937]: (II) Server terminated successfully (0). Closing log file.
feb 18 17:42:05 skorstten audit[1931]: USER_END pid=1931 uid=0 auid=120 ses=6 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_succeed_if,pam_permit,pam_systemd,pam_env acct="gdm" exe="/usr/lib>
feb 18 17:42:05 skorstten audit[1931]: CRED_DISP pid=1931 uid=0 auid=120 ses=6 msg='op=PAM:setcred grantors=pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=skorstten addr=? terminal=/dev/tty1>
feb 18 17:42:05 skorstten gdm-launch-environment][1931]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

I another thread with similar problems, Screen Goes black after Login After Update - #16 by Fabby.
And i also have

Memory:
  RAM: total: 15.58 GiB used: 1.48 GiB (9.5%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
Swap:
  Alert: No swap data was found.

What was pointed out at the end to be a possible problem/solution, but the OP never responded after the proposed solution so i dont know if it worked.

I am curious if that can be my problem as well, but i am wondering if so. Why does wayland work and Xorg don’t? I don’t see the connection between the two.

Do you think i should try the solution? it seem like a big solution to try if its a samll chanse that it will work.