Bug 347072 - Switching outputs with "xrandr" causes plasmashell to crash
Summary: Switching outputs with "xrandr" causes plasmashell to crash
Status: RESOLVED DUPLICATE of bug 345544
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.3.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-02 15:56 UTC by Stefan Becker
Modified: 2015-05-02 18:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
crash information provided by KDE crash handler (32.46 KB, text/plain)
2015-05-02 15:57 UTC, Stefan Becker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Becker 2015-05-02 15:56:56 UTC
On my work laptop I use 4 different display setups:

* laptop only
* laptop with beamer (HDMI)
* office: 2x external monitors (DVI-D, docking station)
* home: 2x external monitors (DP, docking station)

As it is too cumbersome to switch screens with Kscreen2 (no support for pre-defined setups), I use small scripts that run "xrandr", assigned to input actions. They work nicely under KDE4.

While the output switching works, every time a switch is executed, plasmashell crashes reliably

Reproducible: Always

Steps to Reproduce:
1. Execute script to switch from "Laptop" to "Home"
        xrandr --output VGA-0 --off --output HDMI-0 --off --output DP-0 --off --output DP-1 --off --output DP-2 --off
        xrandr --output LVDS-0 --off --output DP-3 --auto --primary
        xrandr --output DP-2 --auto --right-of DP-3
        xrandr --output VGA-0 --off --output HDMI-0 --off --output DP-0 --off --output DP-1 --off --output LVDS-0 --off

2. Execute script to switch from "Home" to "Laptop"
       xrandr --output VGA-0 --off --output HDMI-0 --off --output DP-0 --off --output DP-1 --off --output DP-2 --off                                                                                   
        xrandr --output DP-3 --off --output LVDS-0 --auto --primary                                 
        xrandr --output VGA-0 --off --output HDMI-0 --off --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off                                                               

Actual Results:  
Outputs are switched, then the KDE crash handler opens, e.g. with

  Executable: plasmashell PID: 3887 Signal: Aborted (6)

Expected Results:  
plasmashell should not crash

On this system I have to use Nvidia BLOB driver, because that is the only one that can drive the DP ports on the docking station reliably. I'm currently using version 349.59.

Kwin5 compositor doesn't work reliably with OpenGL on this system, so I'm using XRender.
Comment 1 Stefan Becker 2015-05-02 15:57:47 UTC
Created attachment 92372 [details]
crash information provided by KDE crash handler
Comment 2 David Edmundson 2015-05-02 18:37:28 UTC

*** This bug has been marked as a duplicate of bug 345544 ***
Comment 3 David Edmundson 2015-05-02 18:37:46 UTC
Thanks will be fixed in the next Qt release.