Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Monitor settings lost at login

  1. #11
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,836

    Default Re: Monitor settings lost at login

    The amdgpu DDX should be able to be forced using this file:
    Code:
    /etc/X11/xorg.conf.d/50-device.conf
    Containing this content:
    Code:
    Section "Device"
        Identifier "DefaultDevice"
    #	Driver	"modesetting"
    EndSection
    If it fails, the following or something similar might be required on the kernel cmdline:
    Code:
    radeon.si_support=0 amdgpu.si_support=1
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  2. #12
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,836

    Default Re: Monitor settings lost at login

    BTW, in the standard TW OSS repo is the utility arandr. It can be used to generate the script to be used as /etc/X11/xinit/xinitrc.d/50-xrandr.sh. When used arandr can save the script as a file in ~/.screenlayout/ (or anywhere else writable that you choose), then copied, renamed, edited, and if necessary, re-permissioned.

    When you configure screen layout in /etc/X11/xinit/xinitrc.d/50-xrandr.sh, it will be applied to any desktop session type you select, not just Plasma.

    50-xrandr.sh is an arbitrary name. You can make it any name you please. A number at its start can affect when it gets run during X startup.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  3. #13

    Default Re: Monitor settings lost at login

    Quote Originally Posted by mrmazda View Post
    Let's try using xrandr "directly", via a startup miniscript, instead of going through desktop settings, and for now, not fuss over which DDX is in use. Create the miniscript using superuser permission as:
    Code:
    /etc/X11/xinit/xinitrc.d/50-xrandr.sh
    Make it executable
    Code:
    sudo chmod 755 /etc/X11/xinit/xinitrc.d/50-xrandr.sh
    Try this as initial content:
    Code:
    xrandr --output DVI-D-1 --mode 1920x1080 --primary --output DVI-I-1 --mode 1920x1080 --left-of DVI-D-1 --rotate right
    Whether it works correctly on startup, it can be run from an X terminal:
    Code:
    sudo /etc/X11/xinit/xinitrc.d/50-xrandr.sh
    If the left display is upside down, change rotate right to rotate left. If the display positions are swapped, swap the output parameters and run the miniscript again.
    Added the script as described. Rebooted but with no change in result. Tried to execute the script from X-terminal and it just gives me an error "Can't open display"

  4. #14
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,836

    Default Re: Monitor settings lost at login

    Quote Originally Posted by habr71 View Post
    Added the script as described. Rebooted but with no change in result.


    Tried to execute the script from X-terminal and it just gives me an error "Can't open display"
    Possibly our definitions for X terminal are out of sync. In Plasma the script should be run from Konsole, Xterm or Alt-F2, not one of the virtual terminals reached via Ctrl-Alt-Fn, which is where "cannot open display" errors typically come from.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  5. #15

    Default Re: Monitor settings lost at login

    Today I got a notification that I got ~700 packages to upgrade. Run the zypper dup and since then the problem is gone.

  6. #16
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,836

    Default Re: Monitor settings lost at login

    Quote Originally Posted by habr71 View Post
    ...the problem is gone.
    Super!!!!!
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  7. #17

    Default Re: Monitor settings lost at login

    Quote Originally Posted by mrmazda View Post
    Super!!!!!
    Yes! Thanks for your help and support. Very much appreciated!

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •