You are not logged in.
I cannot launch gnome with xorg - when i type in the password, the screen goes black for a split second and goes back to the login screen. I have the package xorg-drivers installed, and Wayland works perfectly fine - but I need xorg for screensharing.
My /var/log/xdm.log states that ,,no screens are found."
xdm info (pid 344): Starting xdm 1.1.12
xdm info (pid 344): Starting X server on :0
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
Current Operating System: Linux archtux 5.16.5-arch1-1 #1 SMP PREEMPT Tue, 01 Feb 2022 21:42:50 +0000 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a012f247-4c71-484e-bdf1-1f00fb2e1383 rw loglevel=3 quiet
Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 4 01:28:17 2022
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xdm error (pid 344): server unexpectedly died
xdm error (pid 344): Server for display :0 can't be started, session disabled
xdm info (pid 344): Exiting
And here's my Xorg.0.log file:
[ 55.030]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[ 55.030] Current Operating System: Linux windowsmediaplayer 5.17.1-arch1-1 #1 SMP PREEMPT Mon, 28 Mar 2022 20:55:33 +0000 x86_64
[ 55.030] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a012f247-4c71-484e-bdf1-1f00fb2e1383 rw loglevel=3 quiet
[ 55.031]
[ 55.031] Current version of pixman: 0.40.0
[ 55.031] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 55.031] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 55.033] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 16 21:43:53 2022
[ 55.033] (II) Module ABI versions:
[ 55.033] X.Org ANSI C Emulation: 0.4
[ 55.033] X.Org Video Driver: 25.2
[ 55.033] X.Org XInput driver : 24.4
[ 55.033] X.Org Server Extension : 10.0
[ 55.034] (--) using VT number 3
[ 55.034] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 55.034] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 55.034] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card0
[ 55.035] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 55.035] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card1
[ 55.038] (--) PCI: (1@0:0:0) 1002:67ef:1043:17c1 rev 229, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfea00000/262144, I/O @ 0x0000f000/256, BIOS @ 0x????????/131072
[ 55.038] (--) PCI:*(5@0:0:0) 1002:15d8:1043:17c1 rev 194, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xfe600000/524288, I/O @ 0x0000c000/256
[ 55.039] List of video drivers:
[ 55.039] amdgpu
[ 55.039] modesetting
[ 55.039] vesa
[ 55.039] (II) LoadModule: "amdgpu"
[ 55.040] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 55.041] (II) Module amdgpu: vendor="X.Org Foundation"
[ 55.041] compiled for 1.21.1.3, module version = 22.0.0
[ 55.041] Module class: X.Org Video Driver
[ 55.041] ABI class: X.Org Video Driver, version 25.2
[ 55.041] (II) LoadModule: "modesetting"
[ 55.041] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 55.041] (II) Module modesetting: vendor="X.Org Foundation"
[ 55.041] compiled for 1.21.1.3, module version = 1.21.1
[ 55.041] Module class: X.Org Video Driver
[ 55.041] ABI class: X.Org Video Driver, version 25.2
[ 55.041] (II) LoadModule: "vesa"
[ 55.041] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 55.042] (II) Module vesa: vendor="X.Org Foundation"
[ 55.042] compiled for 1.21.1.1, module version = 2.5.0
[ 55.042] Module class: X.Org Video Driver
[ 55.042] ABI class: X.Org Video Driver, version 25.2
[ 55.042] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 55.042] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 55.042] (II) VESA: driver for VESA chipsets: vesa
[ 55.122] (++) Using config file: "/root/xorg.conf.new"
[ 55.122] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 55.123] (==) ServerLayout "Layout0"
[ 55.123] (**) |-->Screen "iGPU" (0)
[ 55.123] (**) | |-->Monitor "<default monitor>"
[ 55.123] (**) | |-->Device "iGPU"
[ 55.123] (**) | |-->GPUDevice "dGPU"
[ 55.123] (**) | |-->GPUDevice "Card0"
[ 55.123] (**) | |-->GPUDevice "Card1"
[ 55.123] (**) | |-->GPUDevice "Card2"
[ 55.123] (==) No monitor specified for screen "iGPU".
Using a default monitor configuration.
[ 55.123] (==) Automatically adding devices
[ 55.123] (==) Automatically enabling devices
[ 55.123] (==) Automatically adding GPU devices
[ 55.123] (==) Automatically binding GPU devices
[ 55.124] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 55.124] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 55.124] Entry deleted from font path.
[ 55.124] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 55.124] Entry deleted from font path.
[ 55.124] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 55.124] Entry deleted from font path.
[ 55.124] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 55.124] Entry deleted from font path.
[ 55.124] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 55.124] Entry deleted from font path.
[ 55.124] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 55.124] Entry deleted from font path.
[ 55.124] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 55.124] Entry deleted from font path.
[ 55.124] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 55.124] Entry deleted from font path.
[ 55.124] (**) FontPath set to:
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 55.124] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 55.124] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 55.124] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[ 55.125] (II) AMDGPU(1): [KMS] Kernel modesetting enabled.
[ 55.129] (II) AMDGPU(2): [KMS] Kernel modesetting enabled.
[ 55.129] (EE) AMDGPU(2): [drm] Failed to open DRM device for pci:0000:05:00.1: Invalid argument
[ 55.130]
[ 55.130]
Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
[ 55.130]
Xorg has configured a multihead system, please check your config.
[ 55.130]
Your xorg.conf file is /root/xorg.conf.new
[ 55.130] To test the server, run 'X -config /root/xorg.conf.new'
[ 55.130] (EE) Server terminated with error (2). Closing log file.
Anyone has any idea what might cause this? And how should I fix it?
Thanks
Last edited by ilovemeepo (2022-05-22 11:14:36)
Offline
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 4 01:28:17 2022
[ 55.033] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 16 21:43:53 2022
Both logs are vastly dated.
I cannot launch gnome with xorg - when i type in the password
How exactly do you start X11? What DM do you use? GDM?
=> https://wiki.archlinux.org/title/Xorg#General
Offline
Yeah, GDM. I start it by using the menu in the right bottom corner, regular GNOME loads fine while GNOME (Xorg) does what i described above.
Also sorry for the dated logs, didnt notice
That log (from /.local/share/xorg) is from yesterday, I checked this time:
[ 74.401] (--) Log file renamed from "/home/atherexr/.local/share/xorg/Xorg.pid-2040.log" to "/home/atherexr/.local/share/xorg/Xorg.0.log"
[ 74.403]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[ 74.403] Current Operating System: Linux windowsmediaplayer 5.17.7-arch1-2 #1 SMP PREEMPT Sun, 15 May 2022 05:00:14 +0000 x86_64
[ 74.403] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a012f247-4c71-484e-bdf1-1f00fb2e1383 rw loglevel=3 quiet
[ 74.403]
[ 74.403] Current version of pixman: 0.40.0
[ 74.403] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 74.403] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 74.403] (==) Log file: "/home/atherexr/.local/share/xorg/Xorg.0.log", Time: Sun May 22 12:35:11 2022
[ 74.404] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 74.404] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 74.405] (==) ServerLayout "Layout0"
[ 74.405] (**) |-->Screen "iGPU" (0)
[ 74.405] (**) | |-->Monitor "<default monitor>"
[ 74.406] (**) | |-->Device "iGPU"
[ 74.406] (**) | |-->GPUDevice "dGPU"
[ 74.406] (**) | |-->GPUDevice "Card0"
[ 74.406] (**) | |-->GPUDevice "Card1"
[ 74.406] (**) | |-->GPUDevice "Card2"
[ 74.406] (==) No monitor specified for screen "iGPU".
Using a default monitor configuration.
[ 74.406] (==) Automatically adding devices
[ 74.406] (==) Automatically enabling devices
[ 74.406] (==) Automatically adding GPU devices
[ 74.406] (==) Automatically binding GPU devices
[ 74.406] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 74.406] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 74.406] Entry deleted from font path.
[ 74.406] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 74.406] Entry deleted from font path.
[ 74.406] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 74.406] Entry deleted from font path.
[ 74.406] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 74.406] Entry deleted from font path.
[ 74.406] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 74.406] Entry deleted from font path.
[ 74.406] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 74.406] Entry deleted from font path.
[ 74.406] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 74.406] Entry deleted from font path.
[ 74.406] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 74.406] Entry deleted from font path.
[ 74.406] (**) FontPath set to:
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 74.406] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 74.406] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 74.406] (II) Module ABI versions:
[ 74.406] X.Org ANSI C Emulation: 0.4
[ 74.406] X.Org Video Driver: 25.2
[ 74.406] X.Org XInput driver : 24.4
[ 74.406] X.Org Server Extension : 10.0
[ 74.408] (++) using VT number 2
[ 74.410] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_37
[ 74.412] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 74.412] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card0
[ 74.413] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
[ 74.413] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 74.413] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card1
[ 74.414] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 13 paused 0
[ 74.420] (--) PCI: (1@0:0:0) 1002:67ef:1043:17c1 rev 229, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfea00000/262144, I/O @ 0x0000f000/256, BIOS @ 0x????????/131072
[ 74.420] (--) PCI:*(5@0:0:0) 1002:15d8:1043:17c1 rev 194, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xfe600000/524288, I/O @ 0x0000c000/256
[ 74.420] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 74.420] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 74.420] (II) LoadModule: "glx"
[ 74.421] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 74.424] (II) Module glx: vendor="X.Org Foundation"
[ 74.424] compiled for 1.21.1.3, module version = 1.0.0
[ 74.424] ABI class: X.Org Server Extension, version 10.0
[ 74.424] (II) LoadModule: "modesetting"
[ 74.425] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 74.426] (II) Module modesetting: vendor="X.Org Foundation"
[ 74.426] compiled for 1.21.1.3, module version = 1.21.1
[ 74.426] Module class: X.Org Video Driver
[ 74.426] ABI class: X.Org Video Driver, version 25.2
[ 74.426] (II) LoadModule: "nvidia"
[ 74.427] (WW) Warning, couldn't open module nvidia
[ 74.427] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 74.427] (II) LoadModule: "amdgpu"
[ 74.427] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 74.428] (II) Module amdgpu: vendor="X.Org Foundation"
[ 74.428] compiled for 1.21.1.3, module version = 22.0.0
[ 74.428] Module class: X.Org Video Driver
[ 74.428] ABI class: X.Org Video Driver, version 25.2
[ 74.428] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 74.428] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 74.428] (WW) Falling back to old probe method for modesetting
[ 74.428] (II) modeset(0): using default device
[ 74.431] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 74.431] (EE)
Fatal server error:
[ 74.431] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 74.431] (EE)
[ 74.431] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 74.431] (EE) Please also check the log file at "/home/atherexr/.local/share/xorg/Xorg.0.log" for additional information.
[ 74.431] (EE)
[ 74.449] (EE) Server terminated with error (1). Closing log file.
Edit: Also the Arch Wiki states that i should remove the xf86-video-fbdev package to fix the ,,framebuffer mode" issue, but that didn't work out.
Last edited by ilovemeepo (2022-05-23 13:57:09)
Offline
GDM stores the log in the system journal.
As for the posted log: some config file references 5 GPUs, there're only 2 in the system, the nvidia DDX driver is tried so the kernel module is in use?) but not available…
=> You first and foremost need to get rid of the bogus config file and configure the hybrid system properly, https://wiki.archlinux.org/title/NVIDIA_Optimus
grep -r iGPU /{etc,usr/share}/X11/xorg.conf*
i should remove the xf86-video-fbdev package
Yes (you hardly want to use that)
to fix the ,,framebuffer mode" issue
No. The fbdev driver isn't even referenced by the log.
Offline
Just wanted to mention, i don't even have a nvidia gpu, both my integrated and dedicated gpu are amd and i have no idea why do i have nvidia related files on my system - im not as experienced as i thought i am xD
The grep command printed this:
/usr/share/X11/xorg.conf.d/10-nvidia.conf: Screen 0 "iGPU" 0 0
/usr/share/X11/xorg.conf.d/10-nvidia.conf: Identifier "iGPU"
/usr/share/X11/xorg.conf.d/10-nvidia.conf: Identifier "iGPU"
/usr/share/X11/xorg.conf.d/10-nvidia.conf: Device "iGPU"
/usr/share/X11/xorg.conf.d/10-nvidia.conf: Identifier "iGPU"
Should i remove those? Or the file itself?
Last edited by ilovemeepo (2022-05-23 17:54:29)
Offline
Probably the file itself.
If that doesn't help, post an updated xorg log and the output of "lspci".
Offline
Removing 10-nvidia.conf from /usr/share/X11/xorg.conf.d helped
Thanks for helping out! I really have no idea how it got here though xD
Offline
Did you keep (just move) it? The header might say. It looks a bit like sth. optimus-manager and the likes would have created.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline