Hi Maxim
Thank you for taking the time to answer! I am not sure how to debug
further? As it seems the black screen issue is not diagnosable from
/var/log/messages. Where else could I look for clues? In
/var/log/Xorg.0.log I see suspicious messages:
[ 7.325] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 7.325] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 7.325] (II) FBDEV: driver for framebuffer: fbdev
[ 7.325] (II) VESA: driver for VESA chipsets: vesa
[ 7.332] (EE) [drm] Failed to open DRM device for (null): -2
[ 7.332] (EE) [drm] Failed to open DRM device for pci:0000:65:00.0: -2
[ 7.332] (EE) [drm] Failed to open DRM device for (null): -2
[ 7.332] (EE) [drm] Failed to open DRM device for pci:0000:65:00.0: -2
[ 7.332] (II) modeset(0): using drv /dev/dri/card0
[ 7.332] (WW) Falling back to old probe method for fbdev
[ 7.332] (II) Loading sub module "fbdevhw"
[ 7.332] (II) LoadModule: "fbdevhw"
[ 7.332] (II) Loading
/gnu/store/in79c81bz14qlds2lp6464sigvfqdk3h-xorg-server-21.1.24/lib/xorg/modules/libfbdevhw.so
[ 7.333] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 7.333] compiled for 1.21.1.24, module version = 0.0.2
[ 7.333] ABI class: X.Org Video Driver, version 25.4
[ 7.338] (II) modeset(0): Creating default Display subsection in Screen
section
"Default Screen Section" for depth/fbbpp 24/32
[ 7.338] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 7.338] (==) modeset(0): RGB weight 888
[ 7.338] (==) modeset(0): Default visual is TrueColor
[ 7.338] (II) Loading sub module "glamoregl"
[ 7.338] (II) LoadModule: "glamoregl"
[ 7.338] (II) Loading
/gnu/store/in79c81bz14qlds2lp6464sigvfqdk3h-xorg-server-21.1.24/lib/xorg/modules/libglamoregl.so
[ 7.343] (II) Module glamoregl: vendor="X.Org Foundation"
[ 7.343] compiled for 1.21.1.24, module version = 1.0.1
[ 7.343] ABI class: X.Org ANSI C Emulation, version 0.4
[ 7.427] (EE) modeset(0): eglGetDisplay() failed
[ 7.430] (II) modeset(0): glamor initialization failed
[ 7.430] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[ 7.430] (II) modeset(0): Double-buffered shadow updates: off
[ 7.430] (II) modeset(0): Output eDP-2 has no monitor section
[ 7.430] (II) modeset(0): Output DP-8 has no monitor section
[ 7.431] (II) modeset(0): Output HDMI-2 has no monitor section
[ 7.431] (II) modeset(0): Up to 3 crtcs needed for screen.
[ 7.431] (II) modeset(0): Allocated crtc nr. 0 to this screen.
[ 7.431] (II) modeset(0): Allocated crtc nr. 1 to this screen.
[ 7.431] (II) modeset(0): Allocated crtc nr. 2 to this screen.
[ 7.431] (II) modeset(0): Allocated crtc nr. 3 to this screen.
[ 7.431] (II) modeset(0): EDID for output eDP-2
[ 7.431] (II) modeset(0): EDID for output DP-8
[ 7.431] (II) modeset(0): EDID for output HDMI-2
[ 7.431] (II) modeset(0): Output eDP-2 disconnected
[ 7.431] (II) modeset(0): Output DP-8 disconnected
[ 7.431] (II) modeset(0): Output HDMI-2 disconnected
[ 7.431] (WW) modeset(0): No outputs definitely connected, trying again...
[ 7.431] (II) modeset(0): Output eDP-2 disconnected
[ 7.431] (II) modeset(0): Output DP-8 disconnected
[ 7.431] (II) modeset(0): Output HDMI-2 disconnected
[ 7.431] (WW) modeset(0): Unable to find connected outputs - setting
1024x768 initial framebuffer
[ 7.431] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 7.431] (==) modeset(0): DPI set to (96, 96)
[ 7.431] (II) Loading sub module "fb"
[ 7.431] (II) LoadModule: "fb"
[ 7.431] (II) Module "fb" already built-in
[ 7.431] (II) Loading sub module "shadow"
[ 7.431] (II) LoadModule: "shadow"
[ 7.431] (II) Loading
/gnu/store/in79c81bz14qlds2lp6464sigvfqdk3h-xorg-server-21.1.24/lib/xorg/modules/libshadow.so
[ 7.432] (II) Module shadow: vendor="X.Org Foundation"
[ 7.432] compiled for 1.21.1.24, module version = 1.1.0
[ 7.432] ABI class: X.Org ANSI C Emulation, version 0.4
[ 7.432] (II) AMDGPU(G0): AMDGPUPreInit_KMS
[ 7.432] (==) AMDGPU(G0): Depth 24, (--) framebuffer bpp 32
[ 7.432] (II) AMDGPU(G0): Pixel depth = 24 bits stored in 4 bytes (32 bpp
pixmaps)
[ 7.432] (==) AMDGPU(G0): Default visual is TrueColor
[ 7.432] (II) Applying OutputClass "AMDgpu" options to /dev/dri/card1
[ 7.432] (==) AMDGPU(G0): RGB weight 888
[ 7.432] (II) AMDGPU(G0): Using 8 bits per RGB (8 bit DAC)
[ 7.432] (--) AMDGPU(G0): Chipset: "AMD Radeon 890M Graphics" (ChipID =
0x150e)
[ 7.432] (II) Loading sub module "fb"
[ 7.432] (II) LoadModule: "fb"
[ 7.432] (II) Module "fb" already built-in
[ 7.432] (II) Loading sub module "dri2"
[ 7.432] (II) LoadModule: "dri2"
[ 7.432] (II) Module "dri2" already built-in
[ 7.460] (II) Loading sub module "glamoregl"
[ 7.460] (II) LoadModule: "glamoregl"
[ 7.460] (II) Loading
/gnu/store/in79c81bz14qlds2lp6464sigvfqdk3h-xorg-server-21.1.24/lib/xorg/modules/libglamoregl.so
[ 7.460] (II) Module glamoregl: vendor="X.Org Foundation"
[ 7.460] compiled for 1.21.1.24, module version = 1.0.1
[ 7.460] ABI class: X.Org ANSI C Emulation, version 0.4
[ 7.463] (EE) AMDGPU(G0): eglGetDisplay() failed
[ 7.463] (EE) AMDGPU(G0): glamor detected, failed to initialize EGL.
[ 7.463] (WW) AMDGPU(G0): amdgpu_glamor_pre_init returned FALSE, using
ShadowFB
[ 7.463] (II) Loading sub module "shadow"
[ 7.463] (II) LoadModule: "shadow"
[ 7.464] (II) Loading
/gnu/store/in79c81bz14qlds2lp6464sigvfqdk3h-xorg-server-21.1.24/lib/xorg/modules/libshadow.so
[ 7.464] (II) Module shadow: vendor="X.Org Foundation"
[ 7.464] compiled for 1.21.1.24, module version = 1.1.0
[ 7.464] ABI class: X.Org ANSI C Emulation, version 0.4
[ 7.464] (II) AMDGPU(G0): Initializing outputs ...
[ 7.465] (II) AMDGPU(G0): Output eDP-1-0 has no monitor section
[ 7.465] (II) AMDGPU(G0): Output HDMI-A-1-0 has no monitor section
[ 7.465] (II) AMDGPU(G0): Output DisplayPort-1-0 has no monitor section
[ 7.465] (II) AMDGPU(G0): Output DisplayPort-1-1 has no monitor section
[ 7.465] (II) AMDGPU(G0): Output DisplayPort-1-2 has no monitor section
[ 7.465] (II) AMDGPU(G0): Output DisplayPort-1-3 has no monitor section
[ 7.465] (II) AMDGPU(G0): Output DisplayPort-1-4 has no monitor section
[ 7.465] (II) AMDGPU(G0): Output DisplayPort-1-5 has no monitor section
[ 7.465] (II) AMDGPU(G0): Output DisplayPort-1-6 has no monitor section
[ 7.465] (II) AMDGPU(G0): 9 crtcs needed for screen.
[ 7.470] (II) AMDGPU(G0): Allocated crtc nr. 0 to this screen.
[ 7.470] (II) AMDGPU(G0): Allocated crtc nr. 1 to this screen.
[ 7.470] (II) AMDGPU(G0): Allocated crtc nr. 2 to this screen.
[ 7.470] (II) AMDGPU(G0): Allocated crtc nr. 3 to this screen.
[ 7.470] (WW) AMDGPU(G0): 9 ZaphodHeads crtcs unavailable. Some outputs
will stay off.
[ 7.471] (II) AMDGPU(G0): EDID for output eDP-1-0
[ 7.471] (II) AMDGPU(G0): Manufacturer: BOE Model: d5f Serial#: 0
[ 7.471] (II) AMDGPU(G0): Year: 2024 Week: 42
[ 7.471] (II) AMDGPU(G0): EDID Version: 1.4
[ 7.471] (II) AMDGPU(G0): Digital Display Input
[ 7.471] (II) AMDGPU(G0): 10 bits per channel
[ 7.471] (II) AMDGPU(G0): Digital interface is DisplayPort
[ 7.471] (II) AMDGPU(G0): Max Image Size [cm]: horiz.: 33 vert.: 21
[ 7.471] (II) AMDGPU(G0): Gamma: 2.20
[ 7.471] (II) AMDGPU(G0): No DPMS capabilities specified
[ 7.471] (II) AMDGPU(G0): Supported color encodings: RGB 4:4:4
[ 7.471] (II) AMDGPU(G0): Default color space is primary color space
[ 7.471] (II) AMDGPU(G0): First detailed timing is preferred mode
[ 7.471] (II) AMDGPU(G0): Preferred mode is native pixel format and refresh
rate
[ 7.471] (II) AMDGPU(G0): Display is continuous-frequency
[ 7.471] (II) AMDGPU(G0): redX: 0.653 redY: 0.331 greenX: 0.297 greenY:
0.612
[ 7.471] (II) AMDGPU(G0): blueX: 0.145 blueY: 0.058 whiteX: 0.313 whiteY:
0.329
[ 7.471] (II) AMDGPU(G0): Manufacturer's mask: 0
Not sure what to make of them, why is there no mention of these problems
in /var/log/messages?
Thanks again for your help!
Best,
Reza
> Hi Reza,
>
> Reza <[email protected]> writes:
>
>> Hi Guixers
>>
>> After updating my system to the newest commit my system shows a black
>> screen after login. I booted the old generation #135 and had access to
>> my system again. This generation is still with linux 7.1, which I see in
>> the grub menu. Now I extracted the commit of the good generation with
>>
>> guix system describe /var/guix/profiles/system-135-link/profile
>>
>> and found the good commit 5c217ab1361758851ac89bc523015fcd965c0a83. I
>> reconfigured my system with this commit in channels.scm with
>>
>
> [...]
>
>> localhost linux: [ 0.286954] ACPI Error: AE_ALREADY_EXISTS, During
>> name lookup/catalog (20251212/psobject-220)
>>
>> localhost linux: [ 1.815475] init[1]: segfault at 3fff00 ip
>> 00000000004d5593 sp 00007ffdc591a7c0 error 4 in
>> guile[d5593,401000+202000] likely on CPU 16 (core 8, socket 0)
>
> The segfault at least is currently expected/known to not be critical [0].
>
> [0] https://codeberg.org/guix/guix/issues/3333
>
>> localhost linux: [ 2.979860] faux_driver regulatory: Direct firmware
>> load for regulatory.db failed with error -2
>>
>> ntpd[958]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
>
> Not sure about this one; perhaps your hardware clock is way off? I
> don't think this would cause your boot problem though.
>
>> localhost gdm: Gdm: GdmLocalDisplayFactory: Failed to issue method call:
>> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
>> org.freedesktop.login1 was not provided by any .service files
>
> This one was caused by a regression in elogind; fixed (including
> fix-ups) in commit 14321bbbe38f1e3e26fae4d019468c5896e7bd18
> ("services/elogind: Fix build for ungrafted elogind."). It wasn't
> critical to boot either, though, so wouldn't explain your black screen.
>
> --
> Thanks,
> Maxim