https://bugs.kde.org/show_bug.cgi?id=359177

            Bug ID: 359177
           Summary: blanks out original plasma session when I start a new
                    a new plasma session from it
           Product: KScreen
           Version: git
          Platform: Debian unstable
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: common
          Assignee: se...@kde.org
          Reporter: mar...@lichtvoll.de

Happens with both kscreen + kded5 from git as well as packaged 5.4.3 in Debian
(soon to be updated to 5.5.4 I think). With kernel 4.5-rc3 and 4.4. With Intel
ThinkPad, i915, internal display and external 22 inch display, both full hd
resolution.

Since yesterday I have it that on starting my second Plasma session via Alt-F2
start new session that something completely blanks out the Plasma session I
started the second session from. All I see is a black screen.

Right now this happens *everytime*. So right now I have this in a reproducable
state.

As I disabled KScreen 2 service on the initial desktop, it may not be related
to KScreen, maybe its a powerdevil issue or whatever is dealing with brightness
and display on/off controls.

Reproducible: Always

Steps to Reproduce:
1. Start a Plasma session.
2. Alt-F2 start a new Plasma session.

On my system at least.

Actual Results:  
Black screen on original Plasma session. And nothing works to bring it to
visibility again. I tried:

1. pressing a key

2. martin@merkaba:~> cat /usr/local/bin/licht 
#!/bin/bash
while true; do
        echo 0 > /sys/class/backlight/intel_backlight/bl_power
        echo 0 > /sys/class/backlight/acpi_video0/bl_power
        echo 4437 > /sys/class/backlight/intel_backlight/brightness
        echo 15 > /sys/class/backlight/acpi_video0/brightness
        sleep 1
done

(it seems it is not just the backlight, it just seems to switch of the display
*completely* on that session, cause the script otherwise actually works.)

3. su - othersession
export DISPLAY=:othersession
xrandr --auto

4. vbetool dpms off

5. Disabling KScreen 2 service on one of the sessions (so maybe this is not
related to KScreen 2)

6. Of course I also tried the rm -r ~/.local/share/kscreen thing that helped me
before with some servere KScreen issue.

7. Masking systemd backlight service:

martin@merkaba:/etc/systemd> find -name "*backlight*" -ls
  7950807      4 lrwxrwxrwx   1 root     root            9 Feb  9 11:13
./system/systemd-backlight@backlight:acpi_video0.service -> /dev/null
  7950809      4 lrwxrwxrwx   1 root     root            9 Feb  9 11:13
./system/systemd-backlight@backlight:intel_backlight.service -> /dev/null

8. Trying with kernel 4.4 to make sure its not related to 4.5-rc3.

9. Fiddling around with Solid brightness controls by su - othersession, eval
$(dbus-launch) and using

martin@merkaba:~> qdbus org.kde.kded5
/org/kde/Solid/PowerManagement/Actions/BrightnessControl
org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightnessMax
15

to query maximum brightness. It *did* not return within half a minute for the
broken session. It worked on the session that is running.



Next I will go with removing all self-compiled stuff, as it means not using
KDEPIM altogether, cause self-compiled KDEPIM has most recent Akonadi with
multi level cache directories I cannot go back to 15.08 which is currently
packaged in Debian (15.12 in experimental is not yet fully build).

Expected Results:  
kscreen / powerdevil / sddm / systemd backlight service – frankly I do not care
what component will do it, well I do think that systemd has no business
fiddling with brightness, but otherwise… – *totally* *ensures* that I *always*
can see my desktop sessions.

In *no* case it is a valid response to present the user with a black screen.
Unless there is some display connected and with a laptop there *always* is show
me the desktop at least on one of the displays when I press a key.

*Always*. No exception, I am the user, I am the king. No complex evaluation,
just *show* the desktop.


And for starters please give me a command I can use that does this:

I am the user, I am the king, show me the light (i.e. the desktop) *now*. At
least I want to be able to use two Plasma sessions again even if I have to
manually bring the blanked one back to light. Right now I know no way to
unblank the blanked session and as you can see I tried a lot. I have no words
to express how broken this is.

martin@merkaba:~> phoronix-test-suite system-info

Phoronix Test Suite v5.2.1
System Information

Hardware:
Processor: Intel Core i5-2520M @ 3.20GHz (4 Cores), Motherboard: LENOVO
42433WG, Chipset: Intel 2nd Generation Core Family DRAM, Memory: 16384MB, Disk:
300GB INTEL SSDSA2CW30 + 480GB Crucial_CT480M50, Graphics: Intel HD 3000
(1300MHz), Audio: Conexant CX20590, Monitor: P24T-7 LED, Network: Intel 82579LM
Gigabit Connection + Intel Centrino Advanced-N 6205

Software:
OS: Debian unstable, Kernel: 4.5.0-rc3-tp520+ (x86_64), Desktop: KDE Frameworks
5, Display Server: X Server 1.18.0, Display Driver: intel 2.99.917, OpenGL: 3.3
Mesa 11.1.1, Compiler: GCC 5.3.1 20160205, File-System: btrfs, Screen
Resolution: 3840x1080


I compile KDEPIM + KF5 from git master on Debian Sid packages Plasma 5.4.3 and
Qt 5.5.1-3. For testing I uninstalled the KDE Framework kinit, kded and
kscreen.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to