[kwin] [Bug 473971] Games do not display when Wayland fractional scaling is enabled

2023-09-05 Thread Kyle McGrath
https://bugs.kde.org/show_bug.cgi?id=473971

--- Comment #2 from Kyle McGrath  ---
(In reply to Zamundaaa from comment #1)
> When this happens, can you check the buffer geometry of the X11 window with
> the kwin debug console? To open it, just search for "kwin" in krunner

I did get the info you asked, but I also have some new info as well. I'll start
with the new info.

I went and loaded the two games I previously used to test when I submitted the
bug report (League of Legends via Lutris, and Crab Champions via Steam). They
just worked without any intervention from me, or so I thought! By default my
install was scaling my 2560x1600 screen to 150%, which is what I did the
original tests with. But because I do some web design work as a hobby, I
reduced the scaling to 135% to give me scaling that was fairly close to
1920X1200.

This reduced scaling has corrected the issue. My workaround was setting to
simply 100% scaling, but it looks like anything at 135% or lower does allow the
games to work normally and be visible. I went ahead and tested with 125%, 130%,
140%, 145%, and 150%. 125% and 130% work fine, but 140-150% produced the same
bug.

Using the kwin debug you suggested, I couldn't first see the geometry, but got
some strange behaviour when alt+tabbing the focus away from the game window,
etc. in order to show the geometry. Since selecting the window caused the
geometry window to disappear, I decided to just take a short video as this also
shows the other weird behaviour. I've uploaded it to Google Drive, here's the
link:

https://drive.google.com/file/d/1i96jW1khmc6p8OCGgeWEdkFuuKWwVNNL/view?usp=sharing

If any further info is required on my end please let me know and I'll be happy
to get it for you!

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

[kde] [Bug 473971] New: Games do not display when Wayland fractional scaling is enabled

2023-08-30 Thread Kyle McGrath
https://bugs.kde.org/show_bug.cgi?id=473971

Bug ID: 473971
   Summary: Games do not display when Wayland fractional scaling
is enabled
Classification: I don't know
   Product: kde
   Version: unspecified
  Platform: Fedora RPMs
OS: Linux
Status: REPORTED
  Severity: major
  Priority: NOR
 Component: general
  Assignee: unassigned-b...@kde.org
  Reporter: dualityk...@pm.me
  Target Milestone: ---

SUMMARY
If I have fractional scaling enable on Wayland, then launching a game using
Lutris or Steam results in the game window not being displayed.

STEPS TO REPRODUCE
1. In a Wayland Plasma session, enable display scaling
2. Launch a game using Steam or Lutris

OBSERVED RESULT
When launching a game, I can see the game's icon in the taskbar, and I can hear
the game's audio, but I continue to see my desktop and other windows. While the
game window is active I can't click on anything else.

EXPECTED RESULT
The game should be displayed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel 6.4.12-200.fc38.x86_64
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Alt-tabbing allows me to select another window and interact with it. On certain
games which change the cursor, I can see the game's skinned cursor.

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

[kscreenlocker] [Bug 461123] "The screen locker is broken and unlocking is not possible anymore" with console output saying "Creating a fake screen in order for Qt not to crash"

2022-11-18 Thread Kyle McGrath
https://bugs.kde.org/show_bug.cgi?id=461123

--- Comment #18 from Kyle McGrath  ---
Happy to report that on Fedora 37 they released an update that has fixed this.

Cheers!

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

[kscreenlocker] [Bug 461123] When waking from standby or leaving the screenlocker a blackscreen shows "The screen locker is broken and unlocking is not possible anymore"

2022-11-17 Thread Kyle McGrath
https://bugs.kde.org/show_bug.cgi?id=461123

Kyle McGrath  changed:

   What|Removed |Added

 CC||dualityk...@pm.me

--- Comment #13 from Kyle McGrath  ---
I can confirm the same issue:

Plasma: 5.26.3
Frameworks: 5.100.0
Qt: 5.15.6
Kernel: 6.0.8-300.fc37.x86_64 (Fedora)

> Nov 18 01:41:50 fedora kscreenlocker_greet[7529]: kf.kirigami: Failed to find 
> a Kirigami platform plugin
> Nov 18 01:41:50 fedora audit[7529]: ANOM_ABEND auid=1000 uid=1000 gid=1000 
> ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=7529 
> comm="kscreenlocker_g" exe="/usr/lib>
> Nov 18 01:41:50 fedora kernel: kscreenlocker_g[7529]: segfault at 18 ip 
> 7f1068fb2da6 sp 7ffc0ed86ba0 error 4 in 
> libLayerShellQtInterface.so.5.26.3[7f1068fb1000+3000]
> Nov 18 01:41:50 fedora kernel: Code: 8d 64 24 38 48 89 44 24 28 48 89 ee 4c 
> 89 e7 e8 10 e8 ff ff 48 89 ef e8 08 e9 ff ff 4c 89 e6 4c 89 ef 89 44 24 24 49 
> 8b 46 38 <4c> 8b 48 18 4c 89 4c>
> Nov 18 01:41:50 fedora kwin_wayland_wrapper[1771]: not a valid new object id 
> (2), message get_registry(n)
> Nov 18 01:41:50 fedora kwin_wayland_wrapper[1771]: error in client 
> communication (pid 1771)
> Nov 18 01:41:50 fedora kwin_wayland_wrapper[7560]: wl_display@1: error 1: 
> invalid arguments for wl_display@1.get_registry
> Nov 18 01:41:50 fedora kscreenlocker_greet[7560]: qt.qpa.wayland: Creating a 
> fake screen in order for Qt not to crash
> Nov 18 01:41:50 fedora kscreenlocker_greet[7560]: The Wayland connection 
> experienced a fatal error: Invalid argument
> Nov 18 01:41:50 fedora kscreenlocker_greet[7564]: qt.qpa.wayland: Creating a 
> fake screen in order for Qt not to crash
> Nov 18 01:41:50 fedora kscreenlocker_greet[7564]: The Wayland connection 
> broke. Did the Wayland compositor die?
> Nov 18 01:41:50 fedora kscreenlocker_greet[7568]: qt.qpa.wayland: Creating a 
> fake screen in order for Qt not to crash
> Nov 18 01:41:50 fedora kscreenlocker_greet[7568]: The Wayland connection 
> broke. Did the Wayland compositor die?
> Nov 18 01:41:55 fedora polkitd[1004]: Registered Authentication Agent for 
> unix-process:7708:88529 (system bus name :1.170 [/usr/bin/pkttyagent 
> --notify-fd 5 --fallback], object path /or>
> Nov 18 01:41:55 fedora polkitd[1004]: Unregistered Authentication Agent for 
> unix-process:7708:88529 (system bus name :1.170, object path 
> /org/freedesktop/PolicyKit1/AuthenticationAgent,>
> Nov 18 01:41:55 fedora audit[4170]: CRED_DISP pid=4170 uid=0 auid=1000 ses=4 
> subj=system_u:system_r:local_login_t:s0-s0:c0.c1023 msg='op=PAM:setcred 
> grantors=pam_localuser,pam_unix acct>
> Nov 18 01:41:55 fedora login[4170]: pam_unix(login:session): session closed 
> for user kyle
> Nov 18 01:41:55 fedora audit[4170]: USER_END pid=4170 uid=0 auid=1000 ses=4 
> subj=system_u:system_r:local_login_t:s0-s0:c0.c1023 msg='op=PAM:session_close 
> grantors=pam_selinux,pam_loginu>
> Nov 18 01:41:55 fedora systemd[1]: getty@tty3.service: Deactivated 
> successfully.
> Nov 18 01:41:55 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 
> ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=getty@tty3 
> comm="systemd" exe="/usr/lib/systemd/syste>
> Nov 18 01:41:55 fedora systemd[1]: session-4.scope: Deactivated successfully.
> Nov 18 01:41:56 fedora systemd-logind[1034]: Session 4 logged out. Waiting 
> for processes to exit.
> Nov 18 01:41:56 fedora systemd[1]: getty@tty3.service: Scheduled restart job, 
> restart counter is at 1.
> Nov 18 01:41:56 fedora systemd[1]: Stopped getty@tty3.service - Getty on tty3.
> Nov 18 01:41:56 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 
> ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=getty@tty3 
> comm="systemd" exe="/usr/lib/systemd/syst>
> Nov 18 01:41:56 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 
> ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=getty@tty3 
> comm="systemd" exe="/usr/lib/systemd/syste>

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