You are not logged in.

#1 2024-07-21 06:57:17

sol_caliente
Member
Registered: 2020-11-12
Posts: 18

[SOLVED] Black screen and frozen cursor with an NVIDIA GPU

Hello.
I just installed archlinux on a new PC: a Ryzen 5 3600 CPU paired with an NVIDIA 3060. I can boot to the command line just fine, installed gnome and followed the steps in the wiki's nvidia article, mainly:

1-. Installed the proprietary drivers: nvidia, nvidia-utils, lib32-nvidia-utils and opencl-nvidia.
2-. Enabled drm as a kernel parameter via grub. (nvidia-drm.modeset=1)
3-. Removed KMS from the mkinitcpio hooks.
4-. Added nvidia, nvidia_modeset, nvidia_uvm, nvidia_drm to the mkinitcpio modules.

I'm not enabling GDM via a systemd, as to have a bootable system at least, but I tried with it and the problem persists.

You can check a system journal from a session where I run systemctl start gdm here.

Any help would be appreciated.

[SOLVED]
If your journal is similar to mine (saying it can't start the xorg server) you can try to force wayland (if that's what you want) by overriding the udev rules as described in https://wiki.archlinux.org/title/GDM#Wa … DIA_driver

Last edited by sol_caliente (2024-07-25 00:43:33)


I just want to sleep the sleep of ages, to know again the Great Rest, the perpetual bliss, to hear the songs the stars sing on the shores of the great sea.

Offline

#2 2024-07-21 12:07:01

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,616

Re: [SOLVED] Black screen and frozen cursor with an NVIDIA GPU

ul 21 00:40:24 desktop /usr/lib/gdm-x-session[842]: Unable to run X server

Do you want to use X or wayland ?

A possbile cause is files blocking your card from being used by gdm under wayland .
Check /etc/udev/rules.d/ ,  https://wiki.archlinux.org/title/GDM#Wa … DIA_driver for details .

Please post the output of pacman -Qs xorg .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2024-07-21 15:38:18

sol_caliente
Member
Registered: 2020-11-12
Posts: 18

Re: [SOLVED] Black screen and frozen cursor with an NVIDIA GPU

Lone_Wolf wrote:
ul 21 00:40:24 desktop /usr/lib/gdm-x-session[842]: Unable to run X server

Do you want to use X or wayland ?

A possbile cause is files blocking your card from being used by gdm under wayland .
Check /etc/udev/rules.d/ ,  https://wiki.archlinux.org/title/GDM#Wa … DIA_driver for details .

Please post the output of pacman -Qs xorg .

I want to use wayland.

The output of pacman -Qs xorg is:

local/xorg-fonts-encodings 1.1.0-1 (xorg-fonts xorg)
    X.org font encoding files
local/xorg-server-common 21.1.13-1 (xorg)
    Xorg server common files
local/xorg-server-devel 21.1.13-1 (xorg)
    Development files for the X.Org X server
local/xorg-setxkbmap 1.3.4-2 (xorg-apps xorg)
    Set the keyboard using the X Keyboard Extension
local/xorg-util-macros 1.20.1-1
    X.Org Autotools macros
local/xorg-xkbcomp 1.4.7-1 (xorg-apps xorg)
    X Keyboard description compiler
local/xorg-xprop 1.2.7-1 (xorg-apps xorg)
    Property displayer for X
local/xorg-xrdb 1.2.2-2 (xorg-apps xorg)
    X server resource database utility
local/xorg-xwayland 24.1.1-1 (xorg)
    run X clients under wayland
local/xorgproto 2024.1-2
    combined X.Org X11 Protocol headers

I'll try to symlink the udev rule to null, and see if that works. I didn't try it as I thought I didn't need to because I'm using the newest nvidia driver. I'll report back.


I just want to sleep the sleep of ages, to know again the Great Rest, the perpetual bliss, to hear the songs the stars sing on the shores of the great sea.

Offline

#4 2024-07-21 15:44:46

sol_caliente
Member
Registered: 2020-11-12
Posts: 18

Re: [SOLVED] Black screen and frozen cursor with an NVIDIA GPU

Tried the symlink trick https://wiki.archlinux.org/title/GDM#Wa … DIA_driver and it works!

Thanks, Lone_Wolf.

Marking as solved.


I just want to sleep the sleep of ages, to know again the Great Rest, the perpetual bliss, to hear the songs the stars sing on the shores of the great sea.

Offline

#5 2024-07-21 17:30:05

seth
Member
Registered: 2012-09-03
Posts: 56,103

Re: [SOLVED] Black screen and frozen cursor with an NVIDIA GPU

Please mark resolved threads by editing your initial posts subject (you might have to shorten the original subject a bit) - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB