You are not logged in.

#1 2022-11-04 01:37:50

user456132
Member
Registered: 2022-08-01
Posts: 14

KDE fails to start when there is a Device section in xorg.conf

Hello, guys!
I have arch linux with KDE desktop and SDDM display manager.
I've installed nvidia proprietary driver. (nvidia-open package).
I generated a xorg configuration using nvidia-xconfig.
When I run the system it won't start the graphical interface and the boot process is stuck at message "Reached target Graphical Interface".
I figured out that when I delete the while /etc/X11/xorg.conf file or delete the "Device" section from it, KDE starts working as expected.
Then I tried the minimal xorg.conf configuration from arch wiki https://wiki.archlinux.org/title/NVIDIA … figuration.
The same result. KDE doesn't start until I delete the "Device" section.

xorg.conf generated by nvidia-xconfig:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

What may cause the problem?
Thanks in advance!

Offline

#2 2022-11-04 02:28:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: KDE fails to start when there is a Device section in xorg.conf

Why are you generating an xorg.conf at all? What are you trying to accomplish?

Offline

#3 2022-11-04 02:36:30

user456132
Member
Registered: 2022-08-01
Posts: 14

Re: KDE fails to start when there is a Device section in xorg.conf

Scimmia wrote:

Why are you generating an xorg.conf at all? What are you trying to accomplish?

I need to set some Option in the device section, so I need the device section, but when I add it, GUI stops working.
And I thought the xorg.conf file is needed for xorg to work? Or is it optional?

Offline

#4 2022-11-04 02:39:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: KDE fails to start when there is a Device section in xorg.conf

xorg.conf hasn't been required for many, many years now.

Offline

#5 2022-11-04 07:51:41

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

Re: KDE fails to start when there is a Device section in xorg.conf

I need to set some Option in the device section

be more specific about that and post the xorg log of a successfull boot sequence.
https://wiki.archlinux.org/title/Xorg#General

Chances are, you've an optimus system and the nvidia chip is deactivated, late or doesn't have any outputs attached when trying to start the server.

Offline

Board footer

Powered by FluxBB