Open alexisquintero opened 1 year ago
cc @LostAttractor
Does unsetting any of this help?
{
hardware.nvidia = {
# PCI-Express Runtime D3 Power Management is enabled by default on this laptop
# But it can fix screen tearing & suspend/resume screen corruption in sync mode
modesetting.enable = lib.mkDefault true;
# Enable DRM kernel mode setting
powerManagement.enable = lib.mkDefault true;
prime = {
amdgpuBusId = "PCI:4:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
}
with either or both modesetting
& powerManagement
it still fails.
Trying to set the buses to ""
fails on the switch
with
error: cached failure of attribute 'nixosConfigurations.nixos-g14.config.system.build.toplevel'
for completeness, the output of lspci
(which seems to match with the values in the pr)
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Max-Q] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU106 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU106 USB Type-C UCSI Controller (rev a1)
02:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
03:00.0 Non-Volatile memory controller: Intel Corporation SSD 660P Series (rev 03)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c5)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
05:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
I guess if no one else has any problem then the most likely explanation is that some other setting in my config is in conflict with these changes
To clarify the options above are set by the module and are the only one related to graphics as far I can see.
I noticed this problem before, But I didn't realize it was caused by #580. I'm using Wayland, so I didn't go any further Kernel mode setting (KMS) & Direct Rendering Manager (DRM) are both needed for RuntimeD3 Power Management, which can significantly improved battery life. However, I do the same on Arch Linux (Enabling KMS & DRM) did not cause any problems. In theory this shouldn't cause any problems, I need to find out further.
I managed to narrow down the problem to importing the common/gpu/amd/default.nix
file. Which I'm not sure what it does. Also if I add services.xserver.videoDrivers = ["nvidia"];
to my config it fixes the problem. I suppose is overriding this line.
I managed to narrow down the problem to importing the
common/gpu/amd/default.nix
file. Which I'm not sure what it does. Also if I addservices.xserver.videoDrivers = ["nvidia"];
to my config it fixes the problem. I suppose is overriding this line.
services.xserver.videoDrivers = ["nvidia"];
is already in there
Is what you're doing covering services.xserver.videoDrivers = lib.mkDefault [ "modesetting" ];
this line?
In fact, this is the default setting of this option. Maybe we should only add amdgpu
(and nvidia) to this option?
At least the NixOS wiki tells me this is what I should do, but I don't understand what that means
Because I haven't used xorg for a long time, I forgot to solve this issue, sorry here.
I have rechecked this issues, I found the problem is from this commit (from @K900 )
If change services.xserver.videoDrivers
from modesetting
to amdgpu
, everything works fine.
That sounds like an Nvidia driver bug then. Can you post the actual X server logs from a failed attempt?
Here is the full systemd log of booting the system, starting an xorg session with gdm/gnome45 and crashing. log.txt And here is the approximate log when the crash occurred:
.......
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: X.Org X Server 1.21.1.9
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: X Protocol Version 11, Revision 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Current Operating System: Linux CALaptopG14 6.6.1-zen1 #1-NixOS ZEN SMP PREEMPT_DYNAMIC Tue Jan 1 00:00:00 UTC 1980 x86_64
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Kernel command line: init=/nix/store/apbpaibwzsvzawip1jj8nfb9rh43sgkh-nixos-system-CALaptopG14-23.11.20231110.32a6216/init amd_pstate=active amd_iommu=pt pcie_acs_overrid>
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Current version of pixman: 0.42.2
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Before reporting problems, check http://wiki.x.org
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: to make sure that you have the latest version.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Markers: (--) probed, (**) from config file, (==) default setting,
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (++) from command line, (!!) notice, (II) informational,
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (++) Log file: "/dev/null", Time: Sat Nov 11 03:50:19 2023
Nov 11 03:50:19 CALaptopG14 bluetoothd[1095]: Endpoint unregistered: sender=:1.60 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Nov 11 03:50:19 CALaptopG14 bluetoothd[1095]: Endpoint unregistered: sender=:1.60 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (++) Using config file: "/nix/store/vryw5cyplyh3s8niqiy7a3nyq1hcivl8-xserver.conf"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) Using system config directory "/nix/store/x37jm8n7rdv3s4pmllz2mhxx38xbhsf5-xorg-server-21.1.9/share/X11/xorg.conf.d"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) ServerLayout "Layout[all]"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (**) |-->Screen "Screen-modesetting[0]" (0)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (**) | |-->Monitor "<default monitor>"
Nov 11 03:50:19 CALaptopG14 bluetoothd[1095]: Endpoint unregistered: sender=:1.60 path=/MediaEndpoint/A2DPSource/faststream
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (**) | |-->Device "Device-modesetting[0]"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) No monitor specified for screen "Screen-modesetting[0]".
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Using a default monitor configuration.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (**) |-->Screen "Screen-amdgpu[0]" (1)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (**) | |-->Monitor "<default monitor>"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (**) | |-->Device "Device-amdgpu[0]"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) No monitor specified for screen "Screen-amdgpu[0]".
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Using a default monitor configuration.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (**) Option "DontZap" "on"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (**) Option "AllowMouseOpenFail" "on"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) Automatically adding devices
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) Automatically enabling devices
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) Automatically adding GPU devices
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) Automatically binding GPU devices
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) Max clients allowed: 256, resource mask: 0x1fffff
Nov 11 03:50:19 CALaptopG14 bluetoothd[1095]: Endpoint unregistered: sender=:1.60 path=/MediaEndpoint/A2DPSource/faststream_duplex
Nov 11 03:50:19 CALaptopG14 bluetoothd[1095]: Endpoint unregistered: sender=:1.60 path=/MediaEndpoint/A2DPSink/opus_05
Nov 11 03:50:19 CALaptopG14 bluetoothd[1095]: Endpoint unregistered: sender=:1.60 path=/MediaEndpoint/A2DPSource/opus_05
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (**) FontPath set to:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: /nix/store/kis1dxfcbcl2if8d2bwygimm538p7wi3-font-cursor-misc-1.0.4/lib/X11/fonts/misc,
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: /nix/store/21s9qd0px4nbwvavmyp29hlymjqb97ha-font-misc-misc-1.1.3/lib/X11/fonts/misc,
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: /nix/store/af6kam7lqmnj7ygfjq5dzz1dcfywn76z-unifont-15.1.03/share/fonts,
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: /nix/store/9nnd9g3ah7s36n3nnslnpmsz37hivqbm-font-adobe-100dpi-1.0.4/lib/X11/fonts/100dpi,
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: /nix/store/11vani24q190kmbjm5xzwsyx71h3lk0y-font-adobe-75dpi-1.0.4/lib/X11/fonts/75dpi,
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: /nix/store/4n9dgcdyhhqx4dkahcn1kqp8416ib4z9-X11-fonts/share/X11/fonts
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (**) ModulePath set to "/nix/store/8zr2frhsvsmkkfgc9zymxslr5q7mw4af-nvidia-x11-545.29.02-6.6.1-bin/lib/xorg/modules/drivers,/nix/store/8zr2frhsvsmkkfgc9zymxslr5q7mw4af-nv>
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) The server relies on udev to provide the list of input devices.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: If no devices become available, reconfigure udev or disable AutoAddDevices.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Loader magic: 0x640e40
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Module ABI versions:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: X.Org ANSI C Emulation: 0.4
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: X.Org Video Driver: 25.2
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: X.Org XInput driver : 24.4
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: X.Org Server Extension : 10.0
Nov 11 03:50:19 CALaptopG14 bluetoothd[1095]: Endpoint unregistered: sender=:1.60 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Nov 11 03:50:19 CALaptopG14 bluetoothd[1095]: Endpoint unregistered: sender=:1.60 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (++) using VT number 2
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) xfree86: Adding drm device (/dev/dri/card1)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 14 paused 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) xfree86: Adding drm device (/dev/dri/card0)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 15 paused 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (--) PCI: (1@0:0:0) 10de:2520:1043:1722 rev 161, Mem @ 0xfb000000/16777216, 0xfc00000000/8589934592, 0xfe00000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (--) PCI:*(4@0:0:0) 1002:1638:1043:1722 rev 196, Mem @ 0xfe10000000/268435456, 0xfe20000000/2097152, 0xfc500000/524288, I/O @ 0x0000d000/256
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Open ACPI successful (/var/run/acpid.socket)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) "glx" will be loaded by default.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) LoadModule: "glx"
Nov 11 03:50:19 CALaptopG14 acpid[1075]: client connected from 2874[1000:100]
Nov 11 03:50:19 CALaptopG14 acpid[1075]: 1 client rule loaded
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Loading /nix/store/x37jm8n7rdv3s4pmllz2mhxx38xbhsf5-xorg-server-21.1.9/lib/xorg/modules/extensions/libglx.so
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Module glx: vendor="X.Org Foundation"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: compiled for 1.21.1.9, module version = 1.0.0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: ABI class: X.Org Server Extension, version 10.0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) LoadModule: "modesetting"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Loading /nix/store/x37jm8n7rdv3s4pmllz2mhxx38xbhsf5-xorg-server-21.1.9/lib/xorg/modules/drivers/modesetting_drv.so
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Module modesetting: vendor="X.Org Foundation"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: compiled for 1.21.1.9, module version = 1.21.1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Module class: X.Org Video Driver
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: ABI class: X.Org Video Driver, version 25.2
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) LoadModule: "amdgpu"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Loading /nix/store/y2dvas5k3i4a8aqk7ydr8yw7gbsxkryw-xf86-video-amdgpu-23.0.0/lib/xorg/modules/drivers/amdgpu_drv.so
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Module amdgpu: vendor="X.Org Foundation"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: compiled for 1.21.1.9, module version = 23.0.0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Module class: X.Org Video Driver
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: ABI class: X.Org Video Driver, version 25.2
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modesetting: Driver for Modesetting Kernel Drivers: kms
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) AMDGPU: Driver for AMD Radeon:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: All GPUs supported by the amdgpu kernel driver
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): using drv /dev/dri/card0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(G0): using drv /dev/dri/card1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Creating default Display subsection in Screen section
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: "Screen-modesetting[0]" for depth/fbbpp 24/32
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(0): Depth 24, (==) framebuffer bpp 32
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(0): RGB weight 888
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(0): Default visual is TrueColor
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Loading sub module "glamoregl"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) LoadModule: "glamoregl"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Loading /nix/store/x37jm8n7rdv3s4pmllz2mhxx38xbhsf5-xorg-server-21.1.9/lib/xorg/modules/libglamoregl.so
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Module glamoregl: vendor="X.Org Foundation"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: compiled for 1.21.1.9, module version = 1.0.1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: ABI class: X.Org ANSI C Emulation, version 0.4
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): glamor X acceleration enabled on AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.54, 6.6.1-zen1)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): glamor initialized
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(0): VariableRefresh: disabled
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(0): AsyncFlipSecondaries: disabled
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Output eDP-1 has no monitor section
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Output HDMI-1 has no monitor section
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): EDID for output eDP-1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Manufacturer: TMX Model: 1400 Serial#: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Year: 2020 Week: 30
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): EDID Version: 1.4
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Digital Display Input
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 8 bits per channel
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Digital interface is DisplayPort
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Max Image Size [cm]: horiz.: 31 vert.: 17
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Gamma: 2.20
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): No DPMS capabilities specified
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Supported color encodings: RGB 4:4:4
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Default color space is primary color space
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): First detailed timing is preferred mode
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Preferred mode is native pixel format and refresh rate
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Display is continuous-frequency
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): redX: 0.680 redY: 0.320 greenX: 0.265 greenY: 0.690
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): blueX: 0.150 blueY: 0.060 whiteX: 0.312 whiteY: 0.329
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Manufacturer's mask: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Supported detailed timing:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): clock: 496.1 MHz Image Size: 310 x 174 mm
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): h_active: 2560 h_sync: 2608 h_sync_end 2640 h_blank_end 2720 h_border: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): v_active: 1440 v_sync: 1463 v_sync_end 1468 v_blanking: 1520 v_border: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Supported detailed timing:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): clock: 248.1 MHz Image Size: 310 x 174 mm
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): h_active: 2560 h_sync: 2608 h_sync_end 2640 h_blank_end 2720 h_border: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): v_active: 1440 v_sync: 1463 v_sync_end 1468 v_blanking: 1520 v_border: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Ranges: V min: 48 V max: 120 Hz, H min: 184 H max: 184 kHz, PixClock max 505 MHz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Monitor name: TL140BDXP01-0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): EDID (in hex):
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 00ffffffffffff0051b8001400000000
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 1e1e0104a51f1178070f91ae5243b026
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 0f505400000001010101010101010101
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 010101010101cdc100a0a0a050503020
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 750436ae1000001ee76000a0a0a05050
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 3020750436ae1000001e000000fd0030
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 78b8b832010a202020202020000000fc
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 00544c3134304244585030312d30001e
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Not using default mode "2560x1440" (bad mode clock/interlace/doublescan)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Printing probed modes for output eDP-1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Modeline "2560x1440"x120.0 496.13 2560 2608 2640 2720 1440 1463 1468 1520 +hsync +vsync (182.4 kHz eP)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Modeline "2560x1440"x96.0 496.13 2560 2608 2640 2720 1440 1843 1848 1900 +hsync +vsync (182.4 kHz e)
...... (Modeline)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Modeline "320x180"x59.3 8.88 320 344 360 400 180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Modeline "320x175"x85.3 15.75 320 336 368 416 175 191 192 222 doublescan +hsync -vsync (37.9 kHz d)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): EDID for output HDMI-1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Manufacturer: AOC Model: b320 Serial#: 2071
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Year: 2023 Week: 30
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): EDID Version: 1.3
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Digital Display Input
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Max Image Size [cm]: horiz.: 60 vert.: 34
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Gamma: 2.20
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): DPMS capabilities: Off
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): First detailed timing is preferred mode
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): redX: 0.682 redY: 0.311 greenX: 0.267 greenY: 0.649
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): blueX: 0.141 blueY: 0.061 whiteX: 0.313 whiteY: 0.329
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Supported established timings:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 720x400@70Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 640x480@60Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 640x480@67Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 640x480@72Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 640x480@75Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 800x600@56Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 800x600@60Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 800x600@72Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 800x600@75Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 832x624@75Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 1024x768@60Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 1024x768@70Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 1024x768@75Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 1280x1024@75Hz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Manufacturer's mask: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Supported standard timings:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): #0: hsize: 1920 vsize 1080 refresh: 60 vid: 49361
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): #1: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): #2: hsize: 640 vsize 480 refresh: 100 vid: 26673
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): #3: hsize: 640 vsize 480 refresh: 120 vid: 31793
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): #4: hsize: 800 vsize 600 refresh: 100 vid: 26693
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): #5: hsize: 800 vsize 600 refresh: 120 vid: 31813
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): #6: hsize: 1024 vsize 768 refresh: 100 vid: 26721
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): #7: hsize: 1024 vsize 768 refresh: 120 vid: 31841
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Supported detailed timing:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): clock: 533.2 MHz Image Size: 596 x 335 mm
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): h_active: 3840 h_sync: 3888 h_sync_end 3952 h_blank_end 4000 h_border: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): v_active: 2160 v_sync: 2163 v_sync_end 2168 v_blanking: 2222 v_border: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Serial No: WGKP7HA002071
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Monitor name: U27G3X
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Ranges: V min: 48 V max: 144 Hz, H min: 30 H max: 255 kHz, PixClock max 1405 MHz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Supported detailed timing:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): clock: 497.8 MHz Image Size: 596 x 335 mm
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): h_active: 2560 h_sync: 2608 h_sync_end 2640 h_blank_end 2720 h_border: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): v_active: 1440 v_sync: 1443 v_sync_end 1448 v_blanking: 1525 v_border: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Supported detailed timing:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): clock: 277.2 MHz Image Size: 596 x 335 mm
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): v_active: 2160 v_sync: 2163 v_sync_end 2173 v_blanking: 2222 v_border: 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Number of EDID sections to follow: 1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): EDID (in hex):
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 00ffffffffffff0005e320b317080000
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 1e210103803c22782aa525ae4f44a624
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 0f5054bfef00d1c081803168317c4568
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 457c6168617c4dd000a0f0703e803040
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 3500544f2100001a000000ff0057474b
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 50374841303032303731000000fc0055
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 32374733580a202020202020000000fd
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 0030901eff8c000a2020202020200140
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 020358f14f9004031f1301125d5e5f60
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 613f757623090707830100006d030c00
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 1000383c2000600102036dd85dc40178
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 8063023090c3640ce200d5e305c301e3
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 0f006ce60605016262006d1a00000201
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 3090e600000000006fc200a0a0a05550
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 30203500544f2100001e4d6c80a07070
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): 3e8030203a00544f2100001a000000e4
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (--) modeset(0): HDMI max TMDS frequency 300000KHz
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Printing probed modes for output HDMI-1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Modeline "3840x2160"x60.0 533.25 3840 3888 3952 4000 2160 2163 2168 2222 +hsync -vsync (133.3 kHz eP)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Modeline "3840x2160"x120.0 1188.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync (270.0 kHz e)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Modeline "3840x2160"x100.0 1188.00 3840 4896 4984 5280 2160 2168 2178 2250 +hsync +vsync (225.0 kHz e)
...... (Modeline)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Modeline "320x180"x59.3 8.88 320 344 360 400 180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Modeline "320x175"x85.3 15.75 320 336 368 416 175 191 192 222 doublescan +hsync -vsync (37.9 kHz d)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Output eDP-1 connected
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Output HDMI-1 connected
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Using spanning desktop for initial modes
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Output eDP-1 using initial mode 2560x1440 +0+0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Output HDMI-1 using initial mode 3840x2160 +2560+0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(0): DPI set to (96, 96)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Loading sub module "fb"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) LoadModule: "fb"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Module "fb" already built-in
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(G0): RGB weight 888
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(G0): Default visual is TrueColor
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Loading sub module "glamoregl"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) LoadModule: "glamoregl"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Loading /nix/store/x37jm8n7rdv3s4pmllz2mhxx38xbhsf5-xorg-server-21.1.9/lib/xorg/modules/libglamoregl.so
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Module glamoregl: vendor="X.Org Foundation"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: compiled for 1.21.1.9, module version = 1.0.1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: ABI class: X.Org ANSI C Emulation, version 0.4
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(G0): glamor X acceleration enabled on NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(G0): glamor initialized
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(G0): Output DP-1-1 has no monitor section
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(G0): EDID for output DP-1-1
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(G0): DPI set to (96, 96)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Loading sub module "fb"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) LoadModule: "fb"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Module "fb" already built-in
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) UnloadModule: "amdgpu"
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Unloading amdgpu
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(0): Backing store enabled
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(0): Silken mouse enabled
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(0): DPMS enabled
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): [DRI2] Setup complete
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): [DRI2] DRI driver: radeonsi
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(0): [DRI2] VDPAU driver: radeonsi
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(G0): Backing store enabled
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(G0): Silken mouse enabled
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (==) modeset(G0): DPMS enabled
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(G0): [DRI2] Setup complete
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(G0): [DRI2] DRI driver: nouveau
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) modeset(G0): [DRI2] VDPAU driver: nouveau
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension Generic Event Extension
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension SHAPE
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension MIT-SHM
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension XInputExtension
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension XTEST
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension BIG-REQUESTS
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension SYNC
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension XKEYBOARD
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension XC-MISC
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension SECURITY
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension XFIXES
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension RENDER
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension RANDR
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension COMPOSITE
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension DAMAGE
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension MIT-SCREEN-SAVER
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension DOUBLE-BUFFER
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension RECORD
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension DPMS
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension Present
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension DRI3
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension X-Resource
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension XVideo
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension XVideo-MotionCompensation
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension GLX
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) AIGLX: Loaded and initialized radeonsi
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) GLX: Initialized DRI2 GL provider for screen 0
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension XFree86-VidModeExtension
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension XFree86-DGA
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension XFree86-DRI
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) Initializing extension DRI2
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (EE) modeset(G0): Failed to create pixmap
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (EE)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Fatal server error:
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (EE) failed to create screen resources(EE)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (EE)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: Please consult the The X.Org Foundation support
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: at http://wiki.x.org
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: for help.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (EE) Please also check the log file at "/dev/null" for additional information.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (EE)
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (II) AIGLX: Suspending AIGLX clients for VT switch
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2874]: (EE) Server terminated with error (1). Closing log file.
Nov 11 03:50:19 CALaptopG14 /nix/store/gdm-45.0.1/libexec/gdm-x-session[2862]: Unable to run X server
Nov 11 03:50:19 CALaptopG14 gdm-password][2764]: pam_unix(gdm-password:session): session closed for user lostattractor
Looks like some Gentoo people tracked it down to the modesetting driver trying to probe the Nvidia card and failing: https://bugs.gentoo.org/910169
Can you try videoDrivers = [ "nvidia" "modesetting" ]
, in that order?
Looks like some Gentoo people tracked it down to the modesetting driver trying to probe the Nvidia card and failing: https://bugs.gentoo.org/910169
Can you try
videoDrivers = [ "nvidia" "modesetting" ]
, in that order?
I tried services.xserver.videoDrivers = lib.mkForce [ "nvidia" "modesetting" ];
But it has no effect
I have also been having issues with this config. I am having different issues though.
May 01 14:32:56 G14 /nix/store/6lpk2r07qrv8n0mvq1dfjgbds2bihjax-nvidia-x11-550.76-6.6.28-bin/bin/nvidia-powerd[60431]: SBIOS support not found for NVPCF GET_SUPPORTED function
May 01 14:32:56 G14 /nix/store/6lpk2r07qrv8n0mvq1dfjgbds2bihjax-nvidia-x11-550.76-6.6.28-bin/bin/nvidia-powerd[60431]: No matching GPU found
May 01 14:32:56 G14 /nix/store/6lpk2r07qrv8n0mvq1dfjgbds2bihjax-nvidia-x11-550.76-6.6.28-bin/bin/nvidia-powerd[60431]: Failed to initialize Dynamic Boost
May 01 14:32:56 G14 /nix/store/6lpk2r07qrv8n0mvq1dfjgbds2bihjax-nvidia-x11-550.76-6.6.28-bin/bin/nvidia-powerd[60431]: Failed to detach GPU id 256
May 01 14:32:56 G14 /nix/store/6lpk2r07qrv8n0mvq1dfjgbds2bihjax-nvidia-x11-550.76-6.6.28-bin/bin/nvidia-powerd[60431]: Failed to initialize Dynamic Boost
May 01 14:32:56 G14 /nix/store/6lpk2r07qrv8n0mvq1dfjgbds2bihjax-nvidia-x11-550.76-6.6.28-bin/bin/nvidia-powerd[60431]: Failed to detach GPU id 256
May 01 14:32:56 G14 systemd[1]: nvidia-powerd.service: Main process exited, code=exited, status=1/FAILURE
May 01 14:32:56 G14 systemd[1]: nvidia-powerd.service: Failed with result 'exit-code'.
May 01 14:32:56 G14 systemd[1]: Failed to start nvidia-powerd service
Not sure if it is at all related.
I've hit this issue and this change fixed it
videoDrivers = [ "nvidia" ]
(here https://github.com/ludat/dotfiles/commit/22d7896a2025d215e2c93adfe1a4b358913206d6)
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nvidia-powerd-service-fails-no-matter-what-i-try/54640/1
It seems to be broken since #580 was merged Xserver fails to start, although journalctl is not exactly helpful, or more likely, I'm failing to make good use of it.