You are not logged in.

#1 2021-02-06 02:23:43

Zaxioms
Member
Registered: 2021-02-06
Posts: 10

Lightdm not using xorg.conf on initial boot

Hello!

So, I'm having a really strange issue with lightdm. When I initially boot, I get really bad, noticeable screen tearing. I did some fiddling with my settings in my /etc/X11/xorg.conf settings and the issue was fixed (hooray!). But, now I've noticed a much stranger issue. Whenever I initially boot into my machine (and lightdm turns on for the first time) the screen tearing persists. However, if I manually restart light dm with:

sudo systemctl restart lightdm

the screen tearing stops.

My best guess as to why is because the contents of the xorg.conf are only being read when I manually restart, but not when I boot. To be honest, I have no idea how to go about verifying this problem, or solving it if it turns out to be the issue. Of course I could just manually restart lightdm every time (or do it on boot with a startup script), but to be honest, that's less than ideal. Here are the contents of my xorg.conf file. Any help is appreciated!

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "AUS VG27A"
    HorizSync       230.0 - 230.0
    VertRefresh     48.0 - 144.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce RTX 3080"
    Option         "NoLogo" "1"
    Option         "RenderAccel" "1"
    Option         "TripleBuffer" "true"
    Option         "MigrationHeuristic" "greedy"
    Option         "AccelMethod" "sna"
    Option         "TearFree"    "true"
EndSection

Section "Screen"

# Removed Option "metamodes" "DP-2: 2560x1440_144 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-0: 2560x1440_144 +2560+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowIndirectGLXProtocol" "off"
    Option         "TripleBuffer" "on"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "DP-2: 2560x1440_144 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-0: 2560x1440_144 +2560+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    Option         "AllowIndirectGLXProtocol" "off"
    Option         "TripleBuffer" "on"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Here are the xorg logs (excluding obviously irrelevant stuff). The first ones are from before the reboot, and the second ones are from after, when the screen tearing is fixed.

[     1.534] 
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[     1.534] Build Operating System: Linux Arch Linux
[     1.534] Current Operating System: Linux archbox 5.10.13-arch1-1 #1 SMP PREEMPT Wed, 03 Feb 2021 23:44:07 +0000 x86_64
[     1.534] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=6ad670ef-a56b-423c-a780-12d9547e0c9c rw loglevel=3 quiet
[     1.534] Build Date: 14 December 2020  12:10:29PM
[     1.534]  
[     1.534] Current version of pixman: 0.40.0
[     1.534]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[     1.534] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     1.534] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb  5 16:40:09 2021
[     1.535] (==) Using config file: "/etc/X11/xorg.conf"
[     1.535] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     1.535] (==) ServerLayout "Layout0"
[     1.535] (**) |-->Screen "Screen0" (0)
[     1.535] (**) |   |-->Monitor "Monitor0"
[     1.535] (**) |   |-->Device "Device0"
[     1.535] (**) |-->Input Device "Keyboard0"
[     1.535] (**) |-->Input Device "Mouse0"
[     1.535] (**) Option "Xinerama" "0"
[     1.535] (==) Automatically adding devices
[     1.535] (==) Automatically enabling devices
[     1.535] (==) Automatically adding GPU devices
[     1.535] (==) Automatically binding GPU devices
[     1.535] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     1.536] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     1.536]    Entry deleted from font path.
[     1.536] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[     1.536]    Entry deleted from font path.
[     1.536] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     1.536]    Entry deleted from font path.
[     1.536] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     1.536]    Entry deleted from font path.
[     1.537] (==) FontPath set to:
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[     1.537] (==) ModulePath set to "/usr/lib/xorg/modules"
[     1.537] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     1.537] (WW) Disabling Keyboard0
[     1.537] (WW) Disabling Mouse0
[     1.537] (II) Module ABI versions:
[     1.537]    X.Org ANSI C Emulation: 0.4
[     1.537]    X.Org Video Driver: 24.1
[     1.537]    X.Org XInput driver : 24.1
[     1.537]    X.Org Server Extension : 10.0
[     1.537] (++) using VT number 7

[     1.537] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     1.539] (--) PCI:*(45@0:0:0) 10de:2206:3842:3897 rev 161, Mem @ 0xfb000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[     1.539] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     1.539] (II) LoadModule: "glx"
[     1.540] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     1.544] (II) Module glx: vendor="X.Org Foundation"
[     1.544]    compiled for 1.20.10, module version = 1.0.0
[     1.544]    ABI class: X.Org Server Extension, version 10.0
[     1.544] (II) LoadModule: "nvidia"
[     1.544] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     1.546] (II) Module nvidia: vendor="NVIDIA Corporation"
[     1.546]    compiled for 1.6.99.901, module version = 1.0.0
[     1.546]    Module class: X.Org Video Driver
[     1.546] (II) NVIDIA dlloader X Driver  460.39  Thu Jan 21 21:54:11 UTC 2021
[     1.546] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     1.547] (II) Loading sub module "fb"
[     1.547] (II) LoadModule: "fb"
[     1.547] (II) Loading /usr/lib/xorg/modules/libfb.so
[     1.548] (II) Module fb: vendor="X.Org Foundation"
[     1.548]    compiled for 1.20.10, module version = 1.0.0
[     1.548]    ABI class: X.Org ANSI C Emulation, version 0.4
[     1.548] (II) Loading sub module "wfb"
[     1.548] (II) LoadModule: "wfb"
[     1.548] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     1.548] (II) Module wfb: vendor="X.Org Foundation"
[     1.548]    compiled for 1.20.10, module version = 1.0.0
[     1.548]    ABI class: X.Org ANSI C Emulation, version 0.4
[     1.548] (II) Loading sub module "ramdac"
[     1.548] (II) LoadModule: "ramdac"
[     1.548] (II) Module "ramdac" already built-in
[     2.153] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[     2.153] (==) NVIDIA(0): RGB weight 888
[     2.153] (==) NVIDIA(0): Default visual is TrueColor
[     2.153] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     2.153] (**) NVIDIA(0): Option "Stereo" "0"
[     2.153] (**) NVIDIA(0): Option "RenderAccel" "1"
[     2.153] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-1"
[     2.153] (**) NVIDIA(0): Option "SLI" "Off"
[     2.153] (**) NVIDIA(0): Option "MultiGPU" "Off"
[     2.153] (**) NVIDIA(0): Option "TripleBuffer" "on"
[     2.153] (**) NVIDIA(0): Option "AllowIndirectGLXProtocol" "off"
[     2.153] (**) NVIDIA(0): Option "BaseMosaic" "off"
[     2.153] (**) NVIDIA(0): Stereo disabled by request
[     2.153] (**) NVIDIA(0): Enabling RENDER acceleration
[     2.153] (**) NVIDIA(0): NVIDIA SLI disabled.
[     2.153] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[     2.153] (**) NVIDIA(0): Option "MetaModes" "DP-2: 2560x1440_144 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-0: 2560x1440_144 +2560+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
[     2.153] (**) NVIDIA(0): Enabling 2D acceleration
[     2.153] (II) Loading sub module "glxserver_nvidia"
[     2.153] (II) LoadModule: "glxserver_nvidia"
[     2.153] (WW) Warning, couldn't open module glxserver_nvidia
[     2.153] (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)
[     2.153] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[     2.153] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[     2.153] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[     2.153] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[     2.153] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[     2.153] (II) NVIDIA: The X server does not support PRIME Render Offload.
[     3.410] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:45:0:0
[     3.410] (--) NVIDIA(0):     DFP-0
[     3.410] (--) NVIDIA(0):     DFP-1
[     3.410] (--) NVIDIA(0):     DFP-2
[     3.410] (--) NVIDIA(0):     DFP-3 (boot)
[     3.410] (--) NVIDIA(0):     DFP-4
[     3.410] (--) NVIDIA(0):     DFP-5
[     3.410] (--) NVIDIA(0):     DFP-6
[     3.410] (II) NVIDIA(0): NVIDIA GPU GeForce RTX 3080 (GA102-A) at PCI:45:0:0 (GPU-0)
[     3.410] (--) NVIDIA(0): Memory: 10485760 kBytes
[     3.410] (--) NVIDIA(0): VideoBIOS: 94.02.26.80.70
[     3.410] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     3.410] (--) NVIDIA(GPU-0): DFP-0: disconnected
[     3.410] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[     3.410] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[     3.410] (--) NVIDIA(GPU-0): 
[     3.410] (--) NVIDIA(GPU-0): AUS VG27A (DFP-1): connected
[     3.410] (--) NVIDIA(GPU-0): AUS VG27A (DFP-1): Internal DisplayPort
[     3.410] (--) NVIDIA(GPU-0): AUS VG27A (DFP-1): 2670.0 MHz maximum pixel clock
[     3.410] (--) NVIDIA(GPU-0): 
[     3.412] (--) NVIDIA(GPU-0): DFP-2: disconnected
[     3.412] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[     3.412] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[     3.412] (--) NVIDIA(GPU-0): 
[     3.412] (--) NVIDIA(GPU-0): AUS VG27A (DFP-3): connected
[     3.412] (--) NVIDIA(GPU-0): AUS VG27A (DFP-3): Internal DisplayPort
[     3.412] (--) NVIDIA(GPU-0): AUS VG27A (DFP-3): 2670.0 MHz maximum pixel clock
[     3.412] (--) NVIDIA(GPU-0): 
[     3.413] (--) NVIDIA(GPU-0): DFP-4: disconnected
[     3.413] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[     3.413] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[     3.413] (--) NVIDIA(GPU-0): 
[     3.413] (--) NVIDIA(GPU-0): DFP-5: disconnected
[     3.413] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[     3.413] (--) NVIDIA(GPU-0): DFP-5: 2670.0 MHz maximum pixel clock
[     3.413] (--) NVIDIA(GPU-0): 
[     3.413] (--) NVIDIA(GPU-0): DFP-6: disconnected
[     3.413] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[     3.413] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[     3.413] (--) NVIDIA(GPU-0): 
[     3.523] (II) NVIDIA(0): Validated MetaModes:
[     3.523] (II) NVIDIA(0):    
[     3.523] (II) NVIDIA(0):     "DP-2:2560x1440_144+0+0{ForceCompositionPipeline=On,ForceFullCompositionPipeline=On},DP-0:2560x1440_144+2560+0{ForceCompositionPipeline=On,ForceFullCompositionPipeline=On}"
[     3.523] (II) NVIDIA(0): Virtual screen size determined to be 5120 x 1440
[     3.591] (--) NVIDIA(0): DPI set to (108, 107); computed from "UseEdidDpi" X config
[     3.591] (--) NVIDIA(0):     option
[     3.592] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[     3.592] (II) NVIDIA:     access.
[     3.595] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[     3.595] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[     3.595] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[     3.595] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[     3.595] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[     3.595] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[     3.595] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[     3.595] (II) NVIDIA(0):     Config Options in the README.
[     3.608] (II) NVIDIA(0): Setting mode "DP-2:2560x1440_144+0+0{ForceCompositionPipeline=On,ForceFullCompositionPipeline=On},DP-0:2560x1440_144+2560+0{ForceCompositionPipeline=On,ForceFullCompositionPipeline=On}"
[     3.725] (==) NVIDIA(0): Disabling shared memory pixmaps
[     3.725] (==) NVIDIA(0): Backing store enabled
[     3.725] (==) NVIDIA(0): Silken mouse disabled
[     3.725] (**) NVIDIA(0): DPMS enabled
[     3.725] (WW) NVIDIA(0): Option "NoLogo" is not used
[     3.725] (WW) NVIDIA(0): Option "MigrationHeuristic" is not used
[     3.725] (WW) NVIDIA(0): Option "AccelMethod" is not used
[     3.725] (WW) NVIDIA(0): Option "TearFree" is not used
[     3.725] (II) Loading sub module "dri2"
[     3.725] (II) LoadModule: "dri2"
[     3.725] (II) Module "dri2" already built-in
[     3.725] (II) NVIDIA(0): [DRI2] Setup complete
[     3.725] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[     3.725] (II) Initializing extension Generic Event Extension
[     3.725] (II) Initializing extension SHAPE
[     3.725] (II) Initializing extension MIT-SHM
[     3.725] (II) Initializing extension XInputExtension
[     3.725] (II) Initializing extension XTEST
[     3.726] (II) Initializing extension BIG-REQUESTS
[     3.726] (II) Initializing extension SYNC
[     3.726] (II) Initializing extension XKEYBOARD
[     3.726] (II) Initializing extension XC-MISC
[     3.726] (II) Initializing extension SECURITY
[     3.726] (II) Initializing extension XFIXES
[     3.726] (II) Initializing extension RENDER
[     3.726] (II) Initializing extension RANDR
[     3.726] (II) Initializing extension COMPOSITE
[     3.726] (II) Initializing extension DAMAGE
[     3.726] (II) Initializing extension MIT-SCREEN-SAVER
[     3.726] (II) Initializing extension DOUBLE-BUFFER
[     3.726] (II) Initializing extension RECORD
[     3.726] (II) Initializing extension DPMS
[     3.726] (II) Initializing extension Present
[     3.726] (II) Initializing extension DRI3
[     3.726] (II) Initializing extension X-Resource
[     3.726] (II) Initializing extension XVideo
[     3.726] (II) Initializing extension XVideo-MotionCompensation
[     3.726] (II) Initializing extension GLX
[     3.726] (II) AIGLX: Screen 0 is not DRI2 capable
[     3.805] (II) IGLX: Loaded and initialized swrast
[     3.805] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[     3.805] (II) Initializing extension XFree86-VidModeExtension
[     3.805] (II) Initializing extension XFree86-DGA
[     3.805] (II) Initializing extension XFree86-DRI
[     3.805] (II) Initializing extension DRI2
[     3.806] (II) Initializing extension NV-GLX
[     3.806] (II) Initializing extension NV-CONTROL
[     3.806] (II) Initializing extension XINERAMA

and after

X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[   306.889] Build Operating System: Linux Arch Linux
[   306.889] Current Operating System: Linux archbox 5.10.13-arch1-1 #1 SMP PREEMPT Wed, 03 Feb 2021 23:44:07 +0000 x86_64
[   306.889] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=6ad670ef-a56b-423c-a780-12d9547e0c9c rw loglevel=3 quiet
[   306.889] Build Date: 14 December 2020  12:10:29PM
[   306.889]  
[   306.889] Current version of pixman: 0.40.0
[   306.889]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   306.889] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   306.889] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb  5 21:45:26 2021
[   306.889] (==) Using config file: "/etc/X11/xorg.conf"
[   306.889] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   306.889] (==) ServerLayout "Layout0"
[   306.889] (**) |-->Screen "Screen0" (0)
[   306.889] (**) |   |-->Monitor "Monitor0"
[   306.889] (**) |   |-->Device "Device0"
[   306.889] (**) |-->Input Device "Keyboard0"
[   306.889] (**) |-->Input Device "Mouse0"
[   306.889] (**) Option "Xinerama" "0"
[   306.889] (==) Automatically adding devices
[   306.889] (==) Automatically enabling devices
[   306.889] (==) Automatically adding GPU devices
[   306.889] (==) Automatically binding GPU devices
[   306.889] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   306.889] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   306.889]    Entry deleted from font path.
[   306.889] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   306.889]    Entry deleted from font path.
[   306.889] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   306.889]    Entry deleted from font path.
[   306.889] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   306.889]    Entry deleted from font path.
[   306.889] (==) FontPath set to:
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[   306.889] (==) ModulePath set to "/usr/lib/xorg/modules"
[   306.889] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   306.889] (WW) Disabling Keyboard0
[   306.889] (WW) Disabling Mouse0
[   306.889] (II) Module ABI versions:
[   306.889]    X.Org ANSI C Emulation: 0.4
[   306.889]    X.Org Video Driver: 24.1
[   306.889]    X.Org XInput driver : 24.1
[   306.889]    X.Org Server Extension : 10.0
[   306.890] (++) using VT number 7

[   306.890] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   306.890] (II) xfree86: Adding drm device (/dev/dri/card0)
[   306.892] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   306.894] (--) PCI:*(45@0:0:0) 10de:2206:3842:3897 rev 161, Mem @ 0xfb000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[   306.894] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   306.894] (II) LoadModule: "glx"
[   306.894] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   306.896] (II) Module glx: vendor="X.Org Foundation"
[   306.896]    compiled for 1.20.10, module version = 1.0.0
[   306.896]    ABI class: X.Org Server Extension, version 10.0
[   306.896] (II) LoadModule: "nvidia"
[   306.896] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   306.896] (II) Module nvidia: vendor="NVIDIA Corporation"
[   306.896]    compiled for 1.6.99.901, module version = 1.0.0
[   306.896]    Module class: X.Org Video Driver
[   306.896] (II) NVIDIA dlloader X Driver  460.39  Thu Jan 21 21:54:11 UTC 2021
[   306.896] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   306.896] (II) Loading sub module "fb"
[   306.896] (II) LoadModule: "fb"
[   306.896] (II) Loading /usr/lib/xorg/modules/libfb.so
[   306.896] (II) Module fb: vendor="X.Org Foundation"
[   306.896]    compiled for 1.20.10, module version = 1.0.0
[   306.896]    ABI class: X.Org ANSI C Emulation, version 0.4
[   306.896] (II) Loading sub module "wfb"
[   306.896] (II) LoadModule: "wfb"
[   306.896] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   306.896] (II) Module wfb: vendor="X.Org Foundation"
[   306.896]    compiled for 1.20.10, module version = 1.0.0
[   306.896]    ABI class: X.Org ANSI C Emulation, version 0.4
[   306.896] (II) Loading sub module "ramdac"
[   306.896] (II) LoadModule: "ramdac"
[   306.897] (II) Module "ramdac" already built-in
[   306.897] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   306.897] (==) NVIDIA(0): RGB weight 888
[   306.897] (==) NVIDIA(0): Default visual is TrueColor
[   306.897] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   306.897] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[   306.897] (**) NVIDIA(0): Option "Stereo" "0"
[   306.897] (**) NVIDIA(0): Option "RenderAccel" "1"
[   306.897] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-1"
[   306.897] (**) NVIDIA(0): Option "SLI" "Off"
[   306.897] (**) NVIDIA(0): Option "MultiGPU" "Off"
[   306.897] (**) NVIDIA(0): Option "TripleBuffer" "on"
[   306.897] (**) NVIDIA(0): Option "AllowIndirectGLXProtocol" "off"
[   306.897] (**) NVIDIA(0): Option "BaseMosaic" "off"
[   306.897] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   306.897] (**) NVIDIA(0): Stereo disabled by request
[   306.897] (**) NVIDIA(0): Enabling RENDER acceleration
[   306.897] (**) NVIDIA(0): NVIDIA SLI disabled.
[   306.897] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[   306.897] (**) NVIDIA(0): Option "MetaModes" "DP-2: 2560x1440_144 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-0: 2560x1440_144 +2560+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
[   306.897] (**) NVIDIA(0): Enabling 2D acceleration
[   306.897] (II) Loading sub module "glxserver_nvidia"
[   306.897] (II) LoadModule: "glxserver_nvidia"
[   306.897] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   306.903] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   306.903]    compiled for 1.6.99.901, module version = 1.0.0
[   306.903]    Module class: X.Org Server Extension
[   306.903] (II) NVIDIA GLX Module  460.39  Thu Jan 21 21:51:40 UTC 2021
[   306.903] (II) NVIDIA: The X server supports PRIME Render Offload.
[   307.807] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:45:0:0
[   307.807] (--) NVIDIA(0):     DFP-0
[   307.807] (--) NVIDIA(0):     DFP-1 (boot)
[   307.807] (--) NVIDIA(0):     DFP-2
[   307.807] (--) NVIDIA(0):     DFP-3 (boot)
[   307.807] (--) NVIDIA(0):     DFP-4
[   307.807] (--) NVIDIA(0):     DFP-5
[   307.807] (--) NVIDIA(0):     DFP-6
[   307.808] (II) NVIDIA(0): NVIDIA GPU GeForce RTX 3080 (GA102-A) at PCI:45:0:0 (GPU-0)
[   307.808] (--) NVIDIA(0): Memory: 10485760 kBytes
[   307.808] (--) NVIDIA(0): VideoBIOS: 94.02.26.80.70
[   307.808] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   307.808] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   307.808] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   307.808] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   307.808] (--) NVIDIA(GPU-0): 
[   307.808] (--) NVIDIA(GPU-0): AUS VG27A (DFP-1): connected
[   307.808] (--) NVIDIA(GPU-0): AUS VG27A (DFP-1): Internal DisplayPort
[   307.808] (--) NVIDIA(GPU-0): AUS VG27A (DFP-1): 2670.0 MHz maximum pixel clock
[   307.808] (--) NVIDIA(GPU-0): 
[   307.809] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   307.809] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   307.809] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   307.809] (--) NVIDIA(GPU-0): 
[   307.809] (--) NVIDIA(GPU-0): AUS VG27A (DFP-3): connected
[   307.809] (--) NVIDIA(GPU-0): AUS VG27A (DFP-3): Internal DisplayPort
[   307.809] (--) NVIDIA(GPU-0): AUS VG27A (DFP-3): 2670.0 MHz maximum pixel clock
[   307.809] (--) NVIDIA(GPU-0): 
[   307.811] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   307.811] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   307.811] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   307.811] (--) NVIDIA(GPU-0): 
[   307.811] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   307.811] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   307.811] (--) NVIDIA(GPU-0): DFP-5: 2670.0 MHz maximum pixel clock
[   307.811] (--) NVIDIA(GPU-0): 
[   307.811] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   307.811] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[   307.811] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[   307.811] (--) NVIDIA(GPU-0): 
[   307.925] (II) NVIDIA(0): Validated MetaModes:
[   307.925] (II) NVIDIA(0):    
[   307.925] (II) NVIDIA(0):     "DP-2:2560x1440_144+0+0{ForceCompositionPipeline=On,ForceFullCompositionPipeline=On},DP-0:2560x1440_144+2560+0{ForceCompositionPipeline=On,ForceFullCompositionPipeline=On}"
[   307.925] (II) NVIDIA(0): Virtual screen size determined to be 5120 x 1440
[   307.980] (--) NVIDIA(0): DPI set to (108, 107); computed from "UseEdidDpi" X config
[   307.980] (--) NVIDIA(0):     option
[   307.981] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[   307.981] (II) NVIDIA:     access.
[   307.983] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   307.983] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   307.983] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   307.983] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   307.983] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   307.983] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   307.983] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   307.983] (II) NVIDIA(0):     Config Options in the README.
[   307.995] (II) NVIDIA(0): Setting mode "DP-2:2560x1440_144+0+0{ForceCompositionPipeline=On,ForceFullCompositionPipeline=On},DP-0:2560x1440_144+2560+0{ForceCompositionPipeline=On,ForceFullCompositionPipeline=On}"
[   308.130] (==) NVIDIA(0): Disabling shared memory pixmaps
[   308.130] (==) NVIDIA(0): Backing store enabled
[   308.130] (==) NVIDIA(0): Silken mouse disabled
[   308.130] (**) NVIDIA(0): DPMS enabled
[   308.131] (WW) NVIDIA(0): Option "NoLogo" is not used
[   308.131] (WW) NVIDIA(0): Option "MigrationHeuristic" is not used
[   308.131] (WW) NVIDIA(0): Option "AccelMethod" is not used
[   308.131] (WW) NVIDIA(0): Option "TearFree" is not used
[   308.131] (II) Loading sub module "dri2"
[   308.131] (II) LoadModule: "dri2"
[   308.131] (II) Module "dri2" already built-in
[   308.131] (II) NVIDIA(0): [DRI2] Setup complete
[   308.131] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   308.131] (II) Initializing extension Generic Event Extension
[   308.131] (II) Initializing extension SHAPE
[   308.131] (II) Initializing extension MIT-SHM
[   308.131] (II) Initializing extension XInputExtension
[   308.131] (II) Initializing extension XTEST
[   308.131] (II) Initializing extension BIG-REQUESTS
[   308.131] (II) Initializing extension SYNC
[   308.131] (II) Initializing extension XKEYBOARD
[   308.131] (II) Initializing extension XC-MISC
[   308.131] (II) Initializing extension SECURITY
[   308.131] (II) Initializing extension XFIXES
[   308.131] (II) Initializing extension RENDER
[   308.131] (II) Initializing extension RANDR
[   308.131] (II) Initializing extension COMPOSITE
[   308.131] (II) Initializing extension DAMAGE
[   308.131] (II) Initializing extension MIT-SCREEN-SAVER
[   308.131] (II) Initializing extension DOUBLE-BUFFER
[   308.131] (II) Initializing extension RECORD
[   308.131] (II) Initializing extension DPMS
[   308.132] (II) Initializing extension Present
[   308.132] (II) Initializing extension DRI3
[   308.132] (II) Initializing extension X-Resource
[   308.132] (II) Initializing extension XVideo
[   308.132] (II) Initializing extension XVideo-MotionCompensation
[   308.132] (II) Initializing extension GLX
[   308.132] (II) Initializing extension GLX
[   308.132] (II) Indirect GLX disabled.
[   308.132] (II) GLX: Another vendor is already registered for screen 0
[   308.132] (II) Initializing extension XFree86-VidModeExtension
[   308.132] (II) Initializing extension XFree86-DGA
[   308.132] (II) Initializing extension XFree86-DRI
[   308.132] (II) Initializing extension DRI2
[   308.132] (II) Initializing extension NV-GLX
[   308.132] (II) Initializing extension NV-CONTROL
[   308.132] (II) Initializing extension XINERAMA

Just comparing the logs, it seems that the block in the first one:

Failed to load module "glxserver_nvidia" (module does not exist, 0)

is the relevant part. But I'm not really sure how to fix that.

Last edited by Zaxioms (2021-02-06 02:49:30)

Offline

#2 2021-02-06 03:00:55

Zaxioms
Member
Registered: 2021-02-06
Posts: 10

Re: Lightdm not using xorg.conf on initial boot

Oh I got it! That was the issue, the solution can be found here

Offline

#3 2021-02-06 07:22:49

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,073

Re: Lightdm not using xorg.conf on initial boot

Did yo uread further down that thread?

Your xorg.conf is a mess and full of nonsense, check the log on invalid parameters and *really* consider moving to a configlet for the actually desired nvidia config options.
Then see https://wiki.archlinux.org/index.php/NV … de_setting and add the kernel parameter and the modules to the initramfs.

You're hitting a race condition and /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf doesn't apply because of that.
By "forcefully" including the extended module path you make your main config work because the forced nvidia driver can now find its glx module, but you're still dealing w/ the same race condition and this can lead to random failure because you're accessing HW that's not necessarily fully initialized.

Online

Board footer

Powered by FluxBB