You are not logged in.

#1 2015-06-29 22:50:10

GunnDawg
Member
Registered: 2015-04-14
Posts: 86

Display settings being reverted when reboot.

Every time I reboot, my monitor/display settings get messed up. I run dual monitors and it likes to display my secondary monitor on both my monitors until I open up nvidia-settings and change it back to where it should be. After I changed it back to what it should be I save the x configuration to /etc/X11/xorg.conf but it still reverts every time I reboot.

/etc/X11/xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 352.21  (buildmeister@swio-display-x64-rhel04-13)  Tue Jun  9 22:42:41 PDT 2015


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      "JVC JLC32BC3000"
    HorizSync       31.0 - 70.0
    VertRefresh     50.0 - 77.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 760"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +1920+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Last edited by GunnDawg (2015-06-29 22:53:11)

Offline

#2 2015-06-30 05:30:57

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Display settings being reverted when reboot.

What desktop environment ar you using...

did you try calling a bash script in your autostart

#!/bin/bash

nvidia-settings --assign CurrentMetaMode="DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +1920+0"

Offline

#3 2015-06-30 06:03:22

GunnDawg
Member
Registered: 2015-04-14
Posts: 86

Re: Display settings being reverted when reboot.

I am using KDE Plasma5. I have not tried your suggestion yet, I Figured I'd see what input I got here before doing anything. I'll give that a shot. Also was wondering if xorg.conf can live in ~/

Offline

#4 2015-06-30 06:28:09

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Display settings being reverted when reboot.

By default Plasma as a service that runs on startup for display (using xrandr)  ... disabling it should solve that.

You could also check that your Display settings are set properly in the kde display settings if you don't want to disable the service

Edit: xorg.conf should be/renamed /etc/X11/xorg.conf.d/20-nvidia.conf

Last edited by Malkymder (2015-06-30 06:29:32)

Offline

#5 2015-07-01 00:05:09

GunnDawg
Member
Registered: 2015-04-14
Posts: 86

Re: Display settings being reverted when reboot.

Well I added that bash script to start up and still no luck.

Offline

#6 2015-07-01 00:16:35

GunnDawg
Member
Registered: 2015-04-14
Posts: 86

Re: Display settings being reverted when reboot.

I missed the reply/post about making xorg.conf /xorg.conf.d/20-nvidia.conf and that seems to fix the problem. Not sure exactly what that did but it fixed the issue.

Offline

Board footer

Powered by FluxBB