Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg / sddm G-Sync
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 381

PostPosted: Wed Mar 27, 2024 11:11 am    Post subject: Xorg / sddm G-Sync Reply with quote

Moin,

dadurch das ich jedes mal auf User-Ebene G-sync aktivieren muß, hatte ich mir eine 20-nvidia.conf in den Ordner /etc/X11/xorg.conf.d/ kopiert.
Nur kann ich jetzt den Xorg Server jetzt nicht mehr starten. Bzw. sddm

Code:

Mär 27 10:45:31 gentupe sddm[526]: Display server starting...
Mär 27 10:45:31 gentupe sddm[526]: Writing cookie to "/run/sddm/xauth_SidnTV"
Mär 27 10:45:31 gentupe sddm[526]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_SidnTV -noreset -displa>
Mär 27 10:45:31 gentupe sddm[526]: Failed to read display number from pipe
Mär 27 10:45:31 gentupe sddm[526]: Display server stopping...
Mär 27 10:45:31 gentupe sddm[526]: Attempt 3 starting the Display server on vt 2 failed
Mär 27 10:45:31 gentupe sddm[526]: Could not start Display server on vt 2


20-nvidia.conf
Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 550.67

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

Section "Files"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Idek Iiyama PL2730H"
    HorizSync       84.0 - 84.0
    VertRefresh     40.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 3070"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DP-2"
    Option         "metamodes" "DP-2: 1920x1080_75 +0+0 {ForceCompositionPipeline=On, AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +1920+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


50-mouse.conf
Code:
Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "Auto"
    Option         "Device" "/dev/input/mouse0"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"


00-keyboard.conf
Code:
 Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "Keyboard0"
        MatchIsKeyboard "on"
        Option "XkbLayout" "de"
        Option "XkbModel" "pc105"
        Option "XkbVariant" "nodeadkeys"
EndSection


Wenn ich die nvidia.conf Datei lösche, kann ich ganz normal Sddm / X-Server starten.
Hauptmonitor ist der Iiyama, Zweitmonitor ein LG L227W (rechts).
Was mache ich falsch?
Danke!
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1709
Location: Germany

PostPosted: Wed Mar 27, 2024 12:04 pm    Post subject: Reply with quote

Also wenn der Fehler schon so eingrenzbar ist, dann mach doch einfach block für block die 20-nvidia.conf wieder aktiv. Sobald ein Fehler kommt, dann kannsto noch weiter eingrenzen.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 381

PostPosted: Wed Mar 27, 2024 3:12 pm    Post subject: Reply with quote

Hi, danke für die Antwort.
Wenn ich das .conf file so editiere läufts.

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 550.67

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

#Section "Files"
#EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Idek Iiyama"
    ModelName      "PL2730H"
    HorizSync       84.0 - 84.0
    VertRefresh     40.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 3070"
    Option         "metamodes" "DP-2: 1920x1080_75 +0+0 {ForceCompositionPipeline=On, AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +1920+0"
#    Monitor        "Monitor0"
#    DefaultDepth    24
#    SubSection     "Display"
#        Depth       24
#    EndSubSection
EndSection

#Section "Screen"
#    Identifier     "Screen0"
#    Device         "Device0"
#    Monitor        "Monitor0"
#    DefaultDepth    24
#    Option         "Stereo" "0"
#    Option         "nvidiaXineramaInfoOrder" "DP-2"
#    Option         "metamodes" "DP-2: 1920x1080_75 +0+0 {ForceCompositionPipeline=On, AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +1920+0"
#    Option         "SLI" "Off"
#    Option         "MultiGPU" "Off"
#    Option         "BaseMosaic" "off"
#    SubSection     "Display"
#        Depth       24
#    EndSubSection
#EndSection

_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum