Bug 460089 - Blue screen after conection
Summary: Blue screen after conection
Status: REPORTED
Alias: None
Product: krdc
Classification: Applications
Component: RDP (show other bugs)
Version: 22.08.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 12:33 UTC by Augusto Beiro
Modified: 2022-12-06 13:20 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-32283-0.html (939 bytes, text/html)
2022-10-17 10:55 UTC, Augusto Beiro
Details
attachment-25986-0.html (2.12 KB, text/html)
2022-11-22 15:21 UTC, Tony Murray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Augusto Beiro 2022-10-07 12:33:50 UTC
After getting connected to remote machine, if  minimizing krdc window,  screen goes blue. Then,  when disconected, sometimes pane with connection history gets unusable, seems like this pane is not getting rendered after that blue screen.
Comment 1 Albert Astals Cid 2022-10-07 20:32:35 UTC
Are you using wayland? x11?

To which machine/server are you connection?
Comment 2 Libor Klepac 2022-10-17 10:39:37 UTC
Hi,
i'm on Debian Unstable, using X11, intel graphics. 
I have noticed this behaviour on end of September and i think it corresponds with upgrade of qt5 packages from 5.15.4+dfsg-5 to 5.15.6+dfsg-2. 
KRDC version was 4:21.12.3-1, it was recently updated to 4:22.08.1-1 , but it did not fix it.

All my connections are RDP
Comment 3 Augusto Beiro 2022-10-17 10:55:42 UTC
Created attachment 152934 [details]
attachment-32283-0.html

I'm using x11 and connecting to WIndows 10 machines and xfreerdp server (it
happens with both)



El vie, 7 oct 2022 a las 22:32, Albert Astals Cid (<bugzilla_noreply@kde.org>)
escribió:

> https://bugs.kde.org/show_bug.cgi?id=460089
>
> --- Comment #1 from Albert Astals Cid <aacid@kde.org> ---
> Are you using wayland? x11?
>
> To which machine/server are you connection?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 Mike Russo 2022-10-31 14:51:26 UTC
I was commenting on #460610 but I think this bug might be the same or more applicable to me.  Experiencing this after Ubuntu 22.10 upgrade, Intel 630 modesetting on Xorg.
Comment 5 Mike Russo 2022-10-31 14:51:59 UTC
(In reply to Mike Russo from comment #4)
> I was commenting on #460610 but I think this bug might be the same or more
> applicable to me.  Experiencing this after Ubuntu 22.10 upgrade, Intel 630
> modesetting on Xorg.

Forgot to mention also seeing it on a Xephyr session so probably not related to graphics card.
Comment 6 Mike Russo 2022-11-01 13:20:07 UTC
Unfortunately just checking out and compiling KRDC v21.12.3 (the version that was in Ubuntu 22.04 and that was working for me) doesn't have any effect on this bug, meaning it's likely some interaction in the updated KDE Frameworks or Qt 5 (which was 5.15.3 in 22.04).  I'm not quite sure I have the stomach (or time) to do a git bisect on all that.  But maybe I can play around in a container to see if a downgraded Qt (or possibly Qt 5.15.7 which should be available now) will fix this.
Comment 7 Mike Russo 2022-11-07 19:15:56 UTC
I verified that setting up a Docker container with Ubuntu 22.04 and displaying KRDC via SSH forwarding does in fact work - KRDC can connect to machines and having multiple tabs does not screw it up or anything, works just like it should.  However wasn't able to get updated Qt 5.15.7 to work properly with the existing KDE libraries (missing some stupid function somehow) so I'm just using this for the time being.  But hopefully now that 5.15.7 has been released as open source, maybe Kubuntu PPAs will get that updated and we can see if that helps.
Comment 8 Tony Murray 2022-11-20 00:03:28 UTC
I was not able to reproduce this on Arch with 22.08.3 (Frameworks 5.100.0 and Qt 5.15.7).  I was able to reproduce it on Ubuntu 22.10.  It is not clear where the issue, if anyone can pinpoint it, that would be helpful.
Comment 9 Mike Russo 2022-11-21 00:08:06 UTC
(In reply to Tony Murray from comment #8)
> I was not able to reproduce this on Arch with 22.08.3 (Frameworks 5.100.0
> and Qt 5.15.7).  I was able to reproduce it on Ubuntu 22.10.  It is not
> clear where the issue, if anyone can pinpoint it, that would be helpful.

Ubuntu 22.10 only has Qt 5.15.6, perhaps once they add 5.15.7 it will be fixed?  Not sure what the timeline is on that or if there's a PPA or some other way I can try it.
Comment 10 Carlos 2022-11-21 11:59:48 UTC
Hi, 
I have updated from 22.04 to 22.10 and this bug started to append here.

Plasma: 5.25.5
KDE Framework: 5.98.0
Qt: 5.15.6
KDRC 22.08.1

Graphics: X11 / AMD Radeon

Carlos Baptista
Comment 11 Mike Russo 2022-11-22 14:28:58 UTC
Can confirm Qt 5.15.7 fixes this.  Compiled it on Ubuntu 22.10 with KDE patches as documented in 
https://www.linuxfromscratch.org/blfs/view/svn/x/qt5.html
(I didn't skip QtWebEngine and so ran into a few problems with it, as documented in
https://www.reddit.com/r/QtFramework/comments/vpo4sf/compiling_qt_5154_using_gcc_12/
and
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013025
patch for that at : https://salsa.debian.org/qt-kde-team/qt/qtwebengine/-/commit/32198a3e0694401b745b4d01add18cdcddf658b4
but I'm not sure QtWebEngine is necessary for KRDC anyway?
) 
then installed to /opt/qt5 set my LD_LIBRARY_PATH to /opt/qt5/lib and created a symlink to the KRDC plugins directory in /opt/qt5/lib and now KRDC works correctly.  So I hope Qt 5.15.7 is in the pipeline for Ubuntu 22.10!
Comment 12 Tony Murray 2022-11-22 15:21:01 UTC
Created attachment 153943 [details]
attachment-25986-0.html

Might be worthwhile to file a bug there to make sure it will be pushed out.

On Tue, Nov 22, 2022 at 8:29 AM Mike Russo <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=460089
>
> --- Comment #11 from Mike Russo <mike@papersolve.com> ---
> Can confirm Qt 5.15.7 fixes this.  Compiled it on Ubuntu 22.10 with KDE
> patches
> as documented in
> https://www.linuxfromscratch.org/blfs/view/svn/x/qt5.html
> (I didn't skip QtWebEngine and so ran into a few problems with it, as
> documented in
>
> https://www.reddit.com/r/QtFramework/comments/vpo4sf/compiling_qt_5154_using_gcc_12/
> and
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013025
> patch for that at :
>
> https://salsa.debian.org/qt-kde-team/qt/qtwebengine/-/commit/32198a3e0694401b745b4d01add18cdcddf658b4
> but I'm not sure QtWebEngine is necessary for KRDC anyway?
> )
> then installed to /opt/qt5 set my LD_LIBRARY_PATH to /opt/qt5/lib and
> created a
> symlink to the KRDC plugins directory in /opt/qt5/lib and now KRDC works
> correctly.  So I hope Qt 5.15.7 is in the pipeline for Ubuntu 22.10!
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 13 Mike Russo 2022-11-22 20:17:13 UTC
I opened an Ubuntu bug to request 5.15.7 but it looks like they say it will cause breakages and so likely won't happen until their next release:
https://bugs.launchpad.net/ubuntu/+source/krdc/+bug/1997479
so I'll have to keep using my workaround until then.
Comment 14 Libor Klepac 2022-12-06 13:20:02 UTC
Hi, it fixed itself somehow for me, on debian unstable. There is still qt5.15.6. I don't know what could fix it. I needed to reboot today and my kernel changed to 6.0.10.