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

            Bug ID: 453012
           Summary: Wallpaper ignores global scale of 200% when a 144Hz 4K
                    HDMI 2.1 monitor is used
           Product: plasmashell
           Version: 5.24.4
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Image Wallpaper
          Assignee: plasma-b...@kde.org
          Reporter: r...@gentoo.org
                CC: notm...@gmail.com
  Target Milestone: 1.0

Created attachment 148364
  --> https://bugs.kde.org/attachment.cgi?id=148364&action=edit
This shows what the wallpaper looks like after logging into plasma shell before
running any commands to restart plasmashell or kwin.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

I have a 144Hz 4K monitor. I set my resolution scale to 200%. When I login, I
see the wallpaper occupying the upperleft 1/4 of the screen, with the rest
being black. I have attached a screenshot showing this.

If I execute `plasmashell --replace` via Alt+F2, the wallpaper properly
occupies the entire screen. However, if I change focus to skype or just about
any application, I see two copies of the wallpaper. One properly occupies the
entire screen. The other occupies 1/4 of the screen on top of that. If I click
on the wallpaper, I only see the correct copy. If I execute `kwin_x11
--replace` via Alt+F2, an extra copy no longer is shown when other applications
have focus.

My monitor has a HDMI compatibility mode, which seems to restrict the monitor
to HDMI 2.0b and limits the maximum refresh rate to 120Hz. When I set this
compatibility mode and login, the problem disappears.

STEPS TO REPRODUCE
1. Get a Nvidia graphics card that supports HDMI 2.1. Configure it to use X11
with the nvidia driver.
2. Get a 144Hz 4K HDMI 2.1 monitor.
3. Configure a 200% resolution scale.
4. Log into the plasma shell.

OBSERVED RESULT
I expect to see my wallpaper cover the entire screen.

EXPECTED RESULT
I see my wallpaper occupy 1/4 of the screen, with the rest black. I have
attached a picture showing this.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.16.14-gentoo-x86_64
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I am not sure if this is related to having Nvidia graphics (although it would
not surprise me) since I have no AMD graphics card to use to test. This issue
was present in KDE Plasma Version 5.23.5, but I upgraded my entire system to
Gentoo's testing branch to see if it was present in the latest version. That
gave me 5.24.4.

Running `kwin_x11 --replace` without running `plasmashell --replace` has no
effect on the issue. Turning off VRR on the monitor also has no effect on the
issue.

I wrote a small script to execute since I find this annoying:

# Workaround bug
nohup plasmashell --replace 2>&1 >/dev/null &
nohup kwin_x11 --replace 2>&1 >/dev/null &

It did not always fix the issue with a single run, so there might have been
some sort of race condition present. I primarily used it against KDE Plasma
Version 5.23.5. When doing testing while writing this bug report, I was not
able to reproduce the race, but I did not test many times.

My system's relevant hardware configuration is as follows:

Eve Spectrum ES07D03 144Hz 4K monitor (running scaler firmware version 106)
GeForce RTX 3080 (ROG-STRIX-RTX3080-O10G-GAMING) (running VBIOS v5) 
Asrock B450 Pro4 motherboard (running BIOS version 5.00)

I only have a single monitor. I have tried different HDMI cables, which made no
difference. I am also using nvidia driver version 510.60.02, although the issue
was present with 510.54.

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

Reply via email to