You are not logged in.

#1 2021-12-28 17:46:25

sppmacd
Member
Registered: 2021-12-28
Posts: 3

Xorg - Cannot run in framebuffer mode - black screen

Hello,
I have a problem running Xorg on Arch Linux. It boots to a black screen (cannot even switch between consoles). It started happening after running pacman -Syu:

[2021-12-28T13:21:13+0100] [PACMAN] Running 'pacman -Syu'
[2021-12-28T13:21:13+0100] [PACMAN] synchronizing package lists
[2021-12-28T13:21:14+0100] [PACMAN] starting full system upgrade
[2021-12-28T13:26:11+0100] [ALPM] running '60-mkinitcpio-remove.hook'...
[2021-12-28T13:26:11+0100] [ALPM] running '71-dkms-remove.hook'...
[2021-12-28T13:26:11+0100] [ALPM] transaction started
...
[2021-12-28T13:26:16+0100] [ALPM] upgraded xcb-proto (1.14.1-3 -> 1.14.1-5)
[2021-12-28T13:26:16+0100] [ALPM] upgraded libx11 (1.7.2-1 -> 1.7.3.1-1)
...
[2021-12-28T13:26:17+0100] [ALPM] upgraded libdrm (2.4.108-1 -> 2.4.109-1)
[2021-12-28T13:26:17+0100] [ALPM] upgraded wayland (1.19.0-2 -> 1.20.0-1)
...
[2021-12-28T13:26:17+0100] [ALPM] upgraded llvm-libs (12.0.1-5 -> 13.0.0-6)
[2021-12-28T13:26:17+0100] [ALPM] upgraded vulkan-icd-loader (1.2.194-1 -> 1.2.202-1)
[2021-12-28T13:26:17+0100] [ALPM] upgraded mesa (21.2.4-1 -> 21.3.2-1)
[2021-12-28T13:26:17+0100] [ALPM] upgraded egl-wayland (1:1.1.9+2+gdaab854-1 -> 2:1.1.9+r3+g582b2d3-1)
[2021-12-28T13:26:17+0100] [ALPM] upgraded xorg-server-common (21.1.1-2 -> 21.1.2-2)
...
[2021-12-28T13:26:18+0100] [ALPM] upgraded systemd (249.5-3 -> 250-1)
[2021-12-28T13:26:18+0100] [ALPM] upgraded libinput (1.19.2-1 -> 1.19.3-1)
[2021-12-28T13:26:18+0100] [ALPM] upgraded xorg-server (21.1.1-2 -> 21.1.2-2)
[2021-12-28T13:26:20+0100] [ALPM] upgraded nvidia-utils (495.44-3 -> 495.46-1)
[2021-12-28T13:26:20+0100] [ALPM-SCRIPTLET] If you run into trouble with CUDA not being available, run nvidia-modprobe first.
...

My graphics card is NVIDIA GeForce GTX 1050 Ti and I use nouveau driver (xf86-video-nouveau 1.0.17-2)

Xorg logs:

[    12.019] (--) Log file renamed from "/var/log/Xorg.pid-614.log" to "/var/log/Xorg.0.log"
[    12.019] 
X.Org X Server 1.21.1.2
X Protocol Version 11, Revision 0
[    12.019] Current Operating System: Linux archsgd 5.10.88-2-lts #1 SMP Wed, 22 Dec 2021 19:16:31 +0000 x86_64
[    12.019] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=e0bdb519-9181-4059-8bea-01cc9a42e011 rw loglevel=3 quiet
[    12.019]  
[    12.019] Current version of pixman: 0.40.0
[    12.019]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    12.019] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    12.019] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 28 18:19:30 2021
[    12.019] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    12.019] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    12.020] (==) No Layout section.  Using the first Screen section.
[    12.020] (==) No screen section available. Using defaults.
[    12.020] (**) |-->Screen "Default Screen Section" (0)
[    12.020] (**) |   |-->Monitor "<default monitor>"
[    12.020] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    12.020] (==) Automatically adding devices
[    12.020] (==) Automatically enabling devices
[    12.020] (==) Automatically adding GPU devices
[    12.020] (==) Automatically binding GPU devices
[    12.020] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    12.020] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    12.020]    Entry deleted from font path.
[    12.020] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    12.020]    Entry deleted from font path.
[    12.020] (==) FontPath set to:
        /usr/share/fonts/misc,
        /usr/share/fonts/TTF,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[    12.020] (==) ModulePath set to "/usr/lib/xorg/modules"
[    12.020] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    12.020] (II) Module ABI versions:
[    12.020]    X.Org ANSI C Emulation: 0.4
[    12.020]    X.Org Video Driver: 25.2
[    12.020]    X.Org XInput driver : 24.4
[    12.020]    X.Org Server Extension : 10.0
[    12.021] (++) using VT number 1

[    12.021] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    12.022] (II) xfree86: Adding drm device (/dev/dri/card0)
[    12.022] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    12.024] (--) PCI: (0@0:2:0) 8086:0102:1734:11b9 rev 9, Mem @ 0xfb400000/4194304, 0xb0000000/268435456, I/O @ 0x0000f000/64
[    12.024] (--) PCI:*(1@0:0:0) 10de:1c82:10de:11bf rev 161, Mem @ 0xfa000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    12.024] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    12.024] (II) LoadModule: "glx"
[    12.024] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    12.026] (II) Module glx: vendor="X.Org Foundation"
[    12.026]    compiled for 1.21.1.2, module version = 1.0.0
[    12.026]    ABI class: X.Org Server Extension, version 10.0
[    12.026] (==) Matched intel as autoconfigured driver 0
[    12.026] (==) Matched nouveau as autoconfigured driver 1
[    12.026] (==) Matched nv as autoconfigured driver 2
[    12.026] (==) Matched modesetting as autoconfigured driver 3
[    12.026] (==) Matched fbdev as autoconfigured driver 4
[    12.026] (==) Matched vesa as autoconfigured driver 5
[    12.026] (==) Assigned the driver to the xf86ConfigLayout
[    12.026] (II) LoadModule: "intel"
[    12.026] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    12.026] (II) Module intel: vendor="X.Org Foundation"
[    12.026]    compiled for 1.21.1.1, module version = 2.99.917
[    12.026]    Module class: X.Org Video Driver
[    12.026]    ABI class: X.Org Video Driver, version 25.2
[    12.026] (II) LoadModule: "nouveau"
[    12.026] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    12.026] (II) Module nouveau: vendor="X.Org Foundation"
[    12.026]    compiled for 1.21.1.1, module version = 1.0.17
[    12.026]    Module class: X.Org Video Driver
[    12.026]    ABI class: X.Org Video Driver, version 25.2
[    12.026] (II) LoadModule: "nv"
[    12.026] (WW) Warning, couldn't open module nv
[    12.026] (EE) Failed to load module "nv" (module does not exist, 0)
[    12.026] (II) LoadModule: "modesetting"
[    12.027] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    12.030] (II) Module modesetting: vendor="X.Org Foundation"
[    12.030]    compiled for 1.21.1.2, module version = 1.21.1
[    12.031]    Module class: X.Org Video Driver
[    12.031]    ABI class: X.Org Video Driver, version 25.2
[    12.031] (II) LoadModule: "fbdev"
[    12.031] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    12.031] (II) Module fbdev: vendor="X.Org Foundation"
[    12.031]    compiled for 1.21.1.1, module version = 0.5.0
[    12.031]    Module class: X.Org Video Driver
[    12.031]    ABI class: X.Org Video Driver, version 25.2
[    12.031] (II) LoadModule: "vesa"
[    12.031] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    12.031] (II) Module vesa: vendor="X.Org Foundation"
[    12.031]    compiled for 1.21.1.1, module version = 2.5.0
[    12.031]    Module class: X.Org Video Driver
[    12.031]    ABI class: X.Org Video Driver, version 25.2
[    12.031] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    12.031] (II) intel: Driver for Intel(R) HD Graphics
[    12.031] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    12.031] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    12.031] (II) NOUVEAU driver 
[    12.031] (II) NOUVEAU driver for NVIDIA chipset families :
[    12.031]    RIVA TNT            (NV04)
[    12.031]    RIVA TNT2           (NV05)
[    12.031]    GeForce 256         (NV10)
[    12.031]    GeForce 2           (NV11, NV15)
[    12.031]    GeForce 4MX         (NV17, NV18)
[    12.031]    GeForce 3           (NV20)
[    12.031]    GeForce 4Ti         (NV25, NV28)
[    12.031]    GeForce FX          (NV3x)
[    12.031]    GeForce 6           (NV4x)
[    12.032]    GeForce 7           (G7x)
[    12.032]    GeForce 8           (G8x)
[    12.032]    GeForce 9           (G9x)
[    12.032]    GeForce GTX 2xx/3xx (GT2xx)
[    12.032]    GeForce GTX 4xx/5xx (GFxxx)
[    12.032]    GeForce GTX 6xx/7xx (GKxxx)
[    12.032]    GeForce GTX 9xx     (GMxxx)
[    12.032]    GeForce GTX 10xx    (GPxxx)
[    12.032] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    12.032] (II) FBDEV: driver for framebuffer: fbdev
[    12.032] (II) VESA: driver for VESA chipsets: vesa
[    12.033] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[    12.033] (WW) Falling back to old probe method for modesetting
[    12.033] (II) modeset(1): using default device
[    12.033] (II) Loading sub module "fbdevhw"
[    12.033] (II) LoadModule: "fbdevhw"
[    12.033] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    12.033] (II) Module fbdevhw: vendor="X.Org Foundation"
[    12.033]    compiled for 1.21.1.2, module version = 0.0.2
[    12.033]    ABI class: X.Org Video Driver, version 25.2
[    12.033] (EE) Unable to find a valid framebuffer device
[    12.033] (WW) Falling back to old probe method for fbdev
[    12.033] (II) Loading sub module "fbdevhw"
[    12.033] (II) LoadModule: "fbdevhw"
[    12.033] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    12.033] (II) Module fbdevhw: vendor="X.Org Foundation"
[    12.033]    compiled for 1.21.1.2, module version = 0.0.2
[    12.033]    ABI class: X.Org Video Driver, version 25.2
[    12.033] (II) FBDEV(3): using default device
[    12.033] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20200917
[    12.033] (II) intel(G0): SNA compiled from 2.99.917-916-g31486f40
[    12.063] (EE) Screen 0 deleted because of no matching config section.
[    12.063] (II) UnloadModule: "modesetting"
[    12.063] (EE) Screen 1 deleted because of no matching config section.
[    12.063] (II) UnloadModule: "fbdev"
[    12.063] (II) UnloadSubModule: "fbdevhw"
[    12.063] (EE) 
Fatal server error:
[    12.063] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[    12.063] (EE) 
[    12.063] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    12.063] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    12.063] (EE) 
[    12.079] (EE) Server terminated with error (1). Closing log file.

Last edited by sppmacd (2021-12-28 18:24:52)

Offline

#2 2021-12-28 17:56:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,493
Website

Re: Xorg - Cannot run in framebuffer mode - black screen

Ah, you have a hybrid graphics system and you also have xf86-video-intel installed, right?

What WM/DE are you running / trying to run?  Please post your complete xinitrc.

Last edited by Trilby (2021-12-28 18:00:19)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2021-12-28 17:59:09

sppmacd
Member
Registered: 2021-12-28
Posts: 3

Re: Xorg - Cannot run in framebuffer mode - black screen

yes

Offline

#4 2021-12-28 18:13:45

sppmacd
Member
Registered: 2021-12-28
Posts: 3

Re: Xorg - Cannot run in framebuffer mode - black screen

I'm trying to run KDE Plasma with SDDM.

Xinitrc (There is no regular xinitrc file in /etc/X11/xinit):

[root@hs66sp /]# cat /etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh
#!/bin/sh

case "${DESKTOP_SESSION-}" in
  gnome*) # Done by gnome-settings-daemon
  ;;
  *)
    # Extra check in case DESKTOP_SESSION is not set correctly
    if [ -z "${GNOME_DESKTOP_SESSION_ID-}" ]; then
      GTK_MODULES="${GTK_MODULES:+$GTK_MODULES:}canberra-gtk-module"
      export GTK_MODULES
    fi
  ;;
esac
[root@hs66sp /]# cat /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
#!/bin/sh

systemctl --user import-environment DISPLAY XAUTHORITY

if command -v dbus-update-activation-environment >/dev/null 2>&1; then
    dbus-update-activation-environment DISPLAY XAUTHORITY
fi

User xinitrc:

[root@hs66sp /]# cat /home/sppmacd/.xinitrc
#!/bin/sh
export DESKTOP_SESSION=plasma
#export DISPLAY=:10
exec dbus-run-session startplasma-x11

Last edited by sppmacd (2021-12-28 18:17:39)

Offline

#5 2021-12-28 19:05:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,493
Website

Re: Xorg - Cannot run in framebuffer mode - black screen

Well that ~/.xinitrc is all wrong - please see the wiki to fix it if you ever intend to use it.  That said, I don't think it is used at all with SDDM.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2021-12-28 20:16:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,296

Re: Xorg - Cannot run in framebuffer mode - black screen

Remove nvidia-utils if you indeed want to use nouveau, you might also in general want to get rid of xf86-video-nouveau and -intel as both are not that well maintained and usually better handled by the built in mdoesetting driver.

Offline

Board footer

Powered by FluxBB