[Bug 1492778] Re: kde crashes when turning powering on display port monitor

2015-09-09 Thread juanmanuel
It affects me too with Intel NUC 5i5RYH.I have a WORKAROUND (read
till the end of this post).

I have it plugged to a TV by HDMI.
Everytime the TV is switched off, X crashes with libqxcb.so errors in syslog, 
though the problem is not in libqxcb.so.

The problem is that xrandr looses all screen displays!! Nasty stuff. I found 
out about that by compiling a custom libqxcb and writing log messages to a 
file. This did not happen in 14.04.
Of course it won't affect laptops because they have always at least one display 
connected.

It also doesn't affect most desktop monitors, because when they are in
standby, they don't signal that they are off in the HDMI cable signals.
(pin 19).

It only affects computers on which all of their monitors or TVs get
turned off without turning the computer off, and those monitors or TVs
assert HDMI pin 19. My TV isn't even off, it is in standby and it
asserts pin 19, which crashes linux.

Please look for HDMI PIN 19 (Hot plug detect) in the web for more
information. It has caused problems in windows too in the past.

I have a nasty quick and dirty WORKAROUND:

Every time I reboot it or switch it on, I wait for X to start on the TV
I have to:

 1) Wait for the UI to start. Login.
 2) In a console in the UI (such as konsole, yakuake, etc.), run this:
  
  xrandr --output VIRTUAL1 --mode 1920x1080 --same-as HDMI1
  xrandr --addmode VIRTUAL1 1920x1080
  xrandr --output HDMI1 --primary

  3) Now, if you run:
xrandr
   you'll see that there is an additional display called VIRTUAL1

I tried and failed to make this sequence of commands automatic upon
login in. Something about the timing about which they have to be run,
when the full desktop has already been loaded I guess.

Please someone let me know if these xrandr commands can be made
automatic. I'm getting "cranky" about having to run them every time the
HTPC has to reboot or looses power and switch it on again.

Cheers!!
--Juan Manuel Cabo

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1492778

Title:
  kde crashes when turning powering on display port monitor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/1492778/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1492778] Re: kde crashes when turning powering on display port monitor

2015-09-09 Thread juanmanuel
I mean,
It is mind boggling because the main reason I got an Intel NUC was to pair it 
with a TV.. but it turns out that linux crashes when the TV goes to standby or 
OFF mode. OR HDMI gets unplugged.

I think the nvidia driver always makes sure that there is always at
least one virtual or mock screen so that libraries don't crash. I think.

Cheers!
--Juan Manuel Cabo

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1492778

Title:
  kde crashes when turning powering on display port monitor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/1492778/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1492778] Re: kde crashes when turning powering on display port monitor

2015-09-07 Thread Nikolay Mihaylov
I'm having the same problem on an up to date 15.10. Only I cannot log
back in because there's no display manager present. I can switch to a
virtual console and there it works. But when I get back to Console #7
the display goes into power saving mode. The only trace from the crash
is in dmesg:

kactivitymanage[1629]: segfault at 18 ip 7f4cf6438e90 sp 7ffead511e28 
error 4 in libqxcb.so[7f4cf640a000+b5000]
krunner[2159]: segfault at 18 ip 7f3523ebede8 sp 7ffeb62663c0 error 4 
in libqxcb.so[7f3523e75000+b5000]
kwin_x11[2164]: segfault at 18 ip 7f6e63b14de8 sp 7fff87859850 error 4 
in libqxcb.so[7f6e63acb000+b5000]
plasmashell[2167]: segfault at 18 ip 7f192ad04de8 sp 7ffc222dd470 error 
4 in libqxcb.so[7f192acbb000+b5000]
klauncher[2176]: segfault at 18 ip 7fb52e3abde8 sp 7ffda395b150 error 4 
in libqxcb.so[7fb52e362000+b5000]

Over DVI it works fine - I can switch my display off and on again
without problems. I have a Z87 MB with Pentium G3258 using the
integrated graphics of the CPU.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1492778

Title:
  kde crashes when turning powering on display port monitor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/1492778/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1492778] Re: kde crashes when turning powering on display port monitor

2015-09-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: kubuntu-meta (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1492778

Title:
  kde crashes when turning powering on display port monitor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/1492778/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1492778] Re: kde crashes when turning powering on display port monitor

2015-09-07 Thread William Söderberg
I've activated kubuntu-backports and I'm now running a fully updated
system (KDE 5.3). The problem still persists.  I don't get the login
screen if I turn off the monitor and then immediately on again. However,
if I turn off the monitor when I go to bed and then turn on it again in
the morning, my session is killed and I get the login screen. So, the
crash actually happens when you turn on the monitor, not when you turn
it off.

Please let me know what more information is required to troubleshoot
this.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1492778

Title:
  kde crashes when turning powering on display port monitor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/1492778/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs