You are not logged in.

#1 2023-08-16 11:15:31

amiria703
Member
Registered: 2023-07-18
Posts: 21

Black screen after installing gpu-related packages

Hi.
I have an ATI HD 4250 (integrated) gpu.
I tried to install gpu drivers by reading ATI page of wiki (https://wiki.archlinux.org/title/ATI).
Following install section, installed mesa xf86-video-ati libva-mesa-driver mesa-vdpau packages and now it seems that xorg doesn't start.
Uninstalled those packages and again black screen appears.
How to fix this issue and install appropriate drivers for it?

Offline

#2 2023-08-16 11:33:29

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,104

Re: Black screen after installing gpu-related packages

Append systemd.unit=multi-user.target to your bootcommand line, this should give you a text console.

Assuming it works, get the full output of lspci -k and most recent xorg log , see https://wiki.archlinux.org/title/Xorg#General for inof where to find that.
https://wiki.archlinux.org/title/List_o … n_services for methods to upload stuff from console.


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 2023-08-16 12:58:41

amiria703
Member
Registered: 2023-07-18
Posts: 21

Re: Black screen after installing gpu-related packages

Lone_Wolf wrote:

get the full output of lspci -k

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge
	Subsystem: Elitegroup Computer Systems RS880 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
	Subsystem: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (PCIE port 2)
	Subsystem: Elitegroup Computer Systems RS780 PCI to PCI bridge (PCIE port 2)
	Kernel driver in use: pcieport
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
	Subsystem: Elitegroup Computer Systems SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
	Subsystem: Elitegroup Computer Systems SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
	Kernel driver in use: ohci-pci
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
	Subsystem: Elitegroup Computer Systems SB7x0 USB OHCI1 Controller
	Kernel driver in use: ohci-pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
	Subsystem: Elitegroup Computer Systems SB7x0/SB8x0/SB9x0 USB EHCI Controller
	Kernel driver in use: ehci-pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
	Subsystem: Elitegroup Computer Systems SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
	Kernel driver in use: ohci-pci
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
	Subsystem: Elitegroup Computer Systems SB7x0 USB OHCI1 Controller
	Kernel driver in use: ohci-pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
	Subsystem: Elitegroup Computer Systems SB7x0/SB8x0/SB9x0 USB EHCI Controller
	Kernel driver in use: ehci-pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
	Subsystem: Elitegroup Computer Systems SBx00 SMBus Controller
	Kernel modules: i2c_piix4, sp5100_tco
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
	Subsystem: Elitegroup Computer Systems SB7x0/SB8x0/SB9x0 IDE Controller
	Kernel driver in use: pata_atiixp
	Kernel modules: pata_atiixp, pata_acpi
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
	Subsystem: Elitegroup Computer Systems SBx00 Azalia (Intel HDA)
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
	Subsystem: Elitegroup Computer Systems SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
	Subsystem: Elitegroup Computer Systems SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
	Kernel driver in use: ohci-pci
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4250]
	Subsystem: Elitegroup Computer Systems RS880 [Radeon HD 4250]
	Kernel modules: radeon, amdgpu
01:05.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series]
	Subsystem: Elitegroup Computer Systems RS880 HDMI Audio [Radeon HD 4200 Series]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
	Subsystem: Elitegroup Computer Systems RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Kernel driver in use: r8169
	Kernel modules: r8169
Lone_Wolf wrote:

most recent xorg log

[    48.418] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[    48.418] Current Operating System: Linux amiria703 6.4.5-x64v2-xanmod1-1 #1 SMP PREEMPT_DYNAMIC Tue, 25 Jul 2023 04:44:32 +0000 x86_64
[    48.418] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-xanmod root=UUID=2fc57bdf-917b-423a-83d8-2b1ecd962b7d rw loglevel=3
[    48.418]  
[    48.418] Current version of pixman: 0.42.2
[    48.418] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    48.418] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    48.418] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 16 16:24:49 2023
[    48.419] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    48.419] (==) No Layout section.  Using the first Screen section.
[    48.419] (==) No screen section available. Using defaults.
[    48.419] (**) |-->Screen "Default Screen Section" (0)
[    48.419] (**) |   |-->Monitor "<default monitor>"
[    48.419] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    48.419] (==) Automatically adding devices
[    48.419] (==) Automatically enabling devices
[    48.419] (==) Automatically adding GPU devices
[    48.419] (==) Automatically binding GPU devices
[    48.419] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    48.419] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    48.419] 	Entry deleted from font path.
[    48.419] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    48.419] (==) ModulePath set to "/usr/lib/xorg/modules"
[    48.419] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    48.419] (II) Module ABI versions:
[    48.419] 	X.Org ANSI C Emulation: 0.4
[    48.419] 	X.Org Video Driver: 25.2
[    48.419] 	X.Org XInput driver : 24.4
[    48.419] 	X.Org Server Extension : 10.0
[    48.420] (++) using VT number 7

[    48.420] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    48.421] (II) xfree86: Adding drm device (/dev/dri/card0)
[    48.421] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm/card0
[    48.424] (--) PCI:*(1@0:5:0) 1002:9715:1019:2255 rev 0, Mem @ 0xd0000000/268435456, 0xfeaf0000/65536, 0xfe900000/1048576, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[    48.424] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    48.424] (II) LoadModule: "glx"
[    48.424] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    48.426] (II) Module glx: vendor="X.Org Foundation"
[    48.426] 	compiled for 1.21.1.8, module version = 1.0.0
[    48.426] 	ABI class: X.Org Server Extension, version 10.0
[    48.426] (==) Matched ati as autoconfigured driver 0
[    48.426] (==) Matched modesetting as autoconfigured driver 1
[    48.426] (==) Matched fbdev as autoconfigured driver 2
[    48.426] (==) Matched vesa as autoconfigured driver 3
[    48.426] (==) Assigned the driver to the xf86ConfigLayout
[    48.426] (II) LoadModule: "ati"
[    48.426] (WW) Warning, couldn't open module ati
[    48.426] (EE) Failed to load module "ati" (module does not exist, 0)
[    48.426] (II) LoadModule: "modesetting"
[    48.426] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    48.427] (EE) Failed to load /usr/lib/xorg/modules/drivers/modesetting_drv.so: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libgbm.so.1)
[    48.427] (EE) Failed to load module "modesetting" (loader failed, 0)
[    48.427] (II) LoadModule: "fbdev"
[    48.427] (WW) Warning, couldn't open module fbdev
[    48.427] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    48.427] (II) LoadModule: "vesa"
[    48.427] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    48.427] (II) Module vesa: vendor="X.Org Foundation"
[    48.427] 	compiled for 1.21.1.4, module version = 2.6.0
[    48.427] 	Module class: X.Org Video Driver
[    48.427] 	ABI class: X.Org Video Driver, version 25.2
[    48.427] (II) VESA: driver for VESA chipsets: vesa
[    48.428] vesa: Refusing to run, Framebuffer or dri device present
[    48.428] (EE) No devices detected.
[    48.428] (EE) 
Fatal server error:
[    48.428] (EE) no screens found(EE) 
[    48.428] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    48.428] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    48.428] (EE) 
[    48.439] (EE) Server terminated with error (1). Closing log file.

Offline

#4 2023-08-16 13:20:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,112

Re: Black screen after installing gpu-related packages

[    48.427] (EE) Failed to load /usr/lib/xorg/modules/drivers/modesetting_drv.so: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libgbm.so.1)

Don't conduct partial updates.

pacman -Syu

Possibly use the patched libc from https://bugs.archlinux.org/task/79300

Offline

Board footer

Powered by FluxBB