Announcement

Collapse
No announcement yet.

Beaver Laptop Lid ACPI kscreen.xrandr events - how to disable?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Beaver Laptop Lid ACPI kscreen.xrandr events - how to disable?

    Finally updated to BB from Xenial. Great so far.
    I have an external display and sometimes I close the laptop lid to save power and distraction. When I do this the display disables and everything shoves over to the external display. I don't want this.
    Also (and probably related), when the displays fire up again after going blank (if I leave the desk for a while), the applications/windows are all jumbled around. I'm a bit over that one too - also happens with Kubuntu versions of old.
    When I close the lid, this happens:

    Code:
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: XRandR::setConfig
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: Requested screen size is QSize(2560, 1440)
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: Needed CRTCs:  1
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: Actions to perform:
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Primary Output: false
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Change Screen Size: true
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011#011Old: QSize(4480, 1440)
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011#011Intermediate: QSize(4480, 1440)
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011#011New: QSize(2560, 1440)
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Disable outputs: true
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011#011 (97)
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Change outputs: true
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011#011 (1297)
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Enable outputs: false
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: RRSetCrtcConfig (disable output)
    Jun  6 06:52:20 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011CRTC: 95
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Result: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: XRandROutput 97 update
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011m_connected: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011m_crtc XRandRCrtc(0x5583bdb47480)
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011CRTC: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011MODE: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Connection: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Primary: false
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: Disconnected output 97 from CRTC 95
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: RRSetCrtcConfig (change output)
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Output: 1297 ( "DVI-I-1-1" )
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011CRTC: 1296
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Pos: QPoint(0,0)
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Mode: 1300 KScreen::Mode(Id: "1300" , Size: QSize(2560, 1440) @ 74.9681 )
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Rotation: 1
    Jun  6 06:52:22 alex-G53SX kernel: [   24.079668] evdi: [D] evdi_painter_crtc_state_notify:482 (dev=1) Notifying crtc state: 3
    Jun  6 06:52:22 alex-G53SX kernel: [   24.082325] evdi: [D] evdi_painter_mode_changed_notify:506 (dev=1) Notifying mode changed: 2560x1440@75; bpp 32; 
    Jun  6 06:52:22 alex-G53SX kernel: [   24.082330] evdi: [D] evdi_painter_mode_changed_notify:507 pixel format 875713112
    Jun  6 06:52:22 alex-G53SX kernel: [   24.083455] evdi: [D] evdi_painter_crtc_state_notify:482 (dev=1) Notifying crtc state: 0
    Jun  6 06:52:22 alex-G53SX kernel: [   24.083464] evdi: [D] evdi_painter_dpms_notify:469 (dev=1) Notifying dpms mode: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Result:  0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: XRandROutput 1297 update
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011m_connected: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011m_crtc XRandRCrtc(0x5583bdb481c0)
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011CRTC: 1296
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011MODE: 1300
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Connection: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Primary: true
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: RRSetScreenSize
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011DPI: 96.2526
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Size: QSize(2560, 1440)
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011SizeMM: QSize(675, 380)
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: XRandR::setConfig done!
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: RRNotify_CrtcChange
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011CRTC:  95
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Mode:  0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Rotation:  "Rotate_0"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Geometry:  0 0 0 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: RRNotify_OutputChange
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Output:  97
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011CRTC:  0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Mode:  0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Rotation:  "Rotate_0"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Connection:  "Connected"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Subpixel Order:  0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: RRScreenChangeNotify
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Window: 14680068
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Root: 1243
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Rotation:  "Rotate_0"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Size ID: 65535
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Size:  4480 1440
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011SizeMM:  1182 380
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: RRNotify_CrtcChange
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011CRTC:  95
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Mode:  0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Rotation:  "Rotate_0"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Geometry:  0 0 0 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: RRNotify_OutputChange
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Output:  97
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011CRTC:  0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Mode:  0
    n  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Rotation:  "Rotate_0"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Connection:  "Connected"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Subpixel Order:  0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: RRNotify_CrtcChange
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011CRTC:  1296
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Mode:  1300
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Rotation:  "Rotate_0"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Geometry:  0 0 2560 1440
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: RRScreenChangeNotify
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Window: 14680068
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Root: 1243
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Rotation:  "Rotate_0"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Size ID: 65535
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Size:  4480 1440
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011SizeMM:  1182 380
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: RRNotify_CrtcChange
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011CRTC:  1296
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Mode:  1300
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Rotation:  "Rotate_0"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Geometry:  0 0 2560 1440
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: RRScreenChangeNotify
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Window: 14680068
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Root: 1243
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Rotation:  "Rotate_0"
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Size ID: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011Size:  2560 1440
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xcb.helper: #011SizeMM:  675 380
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: XRandROutput 97 update
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011m_connected: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011m_crtc QObject(0x0)
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011CRTC: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011MODE: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Connection: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Primary: false
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: Output 97 : connected = true , enabled = false
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: XRandROutput 97 update
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011m_connected: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011m_crtc QObject(0x0)
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011CRTC: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011MODE: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Connection: 0
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: #011Primary: false
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: Output 97 : connected = true , enabled = false
    Jun  6 06:52:22 alex-G53SX org.kde.KScreen[1305]: kscreen.xrandr: Emitting configChanged()
    My laptop never leaves my desk. I'd like lid events and whatever window jumbling trickery to stop somehow. I have indeed done plenty of Net searching but it appears that the options/solutions provided are not applicable to combination of KDE/Systemd/18.04.

    Cheers,
    Axel

    #2
    OK, well for anyone in the same predicament, the work around is edit:
    Code:
    /etc/UPower/UPower.conf
    Find and edit the line to be:
    Code:
    IgnoreLid=true
    Reboot.

    If anyone has a better way please chime in. Would prefer to leave system based event management alone and instead tell kscreen/xrandr to stop disabling my display.

    Comment

    Working...
    X