Bug 1224061 - One quarter of screen displaying a white box in KDE Plasma 6 after MEGARELEASE. (WAS) Unable to load usable X11 session after Tumbleweed update:
Summary: One quarter of screen displaying a white box in KDE Plasma 6 after MEGARELEAS...
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Current
Hardware: 32bit openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 17:15 UTC by Paul Graff
Modified: 2024-05-21 02:36 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
inxi -Gxx output in TTY3 (1.56 MB, image/jpeg)
2024-05-08 17:15 UTC, Paul Graff
Details
32 bit Tumbleweed after update to KDE P6 MEGARELEASE X11 session. (1.13 MB, image/jpeg)
2024-05-20 03:03 UTC, Paul Graff
Details
Logout affirmation with KDE Plasma6 MEGARELEASE, no compositing, software rendering off. (1.43 MB, image/jpeg)
2024-05-20 03:56 UTC, Paul Graff
Details
White Box takes back screen in P6 Wayland (1.26 MB, image/jpeg)
2024-05-20 04:05 UTC, Paul Graff
Details
KDE P6 MEGARELASE (Plasma Wayland) session - white box (1.21 MB, image/jpeg)
2024-05-20 04:08 UTC, Paul Graff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Graff 2024-05-08 17:15:12 UTC
Created attachment 874771 [details]
inxi -Gxx output in TTY3

Hi, I decided to update an i386 Tumbleweed machine here to the latest
20240506 snapshot there were many many packages listed for update
(1900+). I used snapper to create a snapshot manually prior to the update.

The update appears to have completed fine without incident. I then
powercycled the machine. Now when the SDDM desktop display manager is
displayed, I am able to select X11 session type then enter my password
and login. Once logged in, the desktop is for the most part unusable.
Menu button is covered by workspaces, taskmanager is partially blank,
(konsole is also unusable).

I can then switch to TTY1 and enter my username and password. Passing
'inxi -Gxx' displays the following ->
https://paste.opensuse.org/pastes/f42c153b3d71

I have added an attachment to this report of the inxi -Gxx output in a photo as well.

It appears to me that Xwayland is being used even though I have selected
the X11 session type at SDDM login.

Looking through /.config/kdeglobals (using TTY1) does not show ->
    [QtQuickRendererSettings]
        SceneGraphBackend=software

I know this is probably not a software rendering issue. Previously I
have forced software rendering by editing /etc/environment and adding ->
    QT_QUICK_BACKEND=software
    KWIN_COMPOSE=02ES

Do you believe this may be an issue with a newer version of Mesa now?

Can you tell me the best way to force X11 session to load?

-Best Regards
Comment 1 Felix Miata 2024-05-12 14:41:29 UTC
(In reply to Paul Graff from comment #0)
> It appears to me that Xwayland is being used even though I have selected
> the X11 session type at SDDM login.

The inxi report may be deceiving to some people WRT X11 and Wayland. "with Xwayland" does not mean a Wayland X session is running. My i945 iGPU in 32bit TW20240510 is not:

> inxi -GSaz --vs --zl --hostname
inxi 3.3.34-00 (2024-04-13)
System:
  Host: gx151 Kernel: 6.8.8-1-default arch: i686 bits: 32 compiler: gcc
    v: 13.2.1 clocksource: tsc avail: hpet,acpi_pm
    parameters: root=LABEL=<filter> ipv6.disable=1 net.ifnames=0 noresume
    consoleblank=0 mitigations=off
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 info: frameworks
    v: 5.115.0 wm: kwin_x11 dm: 1: KDM 2: XDM Distro: openSUSE Tumbleweed
    20240510
Graphics:
  Device-1: Intel 82945G/GZ Integrated Graphics vendor: Dell driver: i915
    v: kernel arch: Gen-3.5 process: Intel 90nm built: 2005-06 ports:
    active: DVI-D-1,VGA-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:2772
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.12 with: Xwayland v: 23.2.6
    compositor: kwin_x11 driver: X: loaded: intel
    unloaded: fbdev,modesetting,vesa dri: i915 gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3600x1200 s-dpi: 120 s-size: 759x253mm (29.88x9.96")
    s-diag: 800mm (31.5")
  Monitor-1: DVI-D-1 mapped: DVI1 pos: primary,left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 520x320mm (20.47x12.6") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  Monitor-2: VGA-1 mapped: VGA1 pos: right model: Dell P2213
    serial: <filter> built: 2012 res: 1680x1050 hz: 60 dpi: 91 gamma: 1.2
    size: 470x300mm (18.5x11.81") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  API: EGL v: 1.5 hw: drv: intel i915 platforms: device: 0 egl: 1.4
    drv: i915 device: 1 drv: swrast gbm: egl: 1.4 drv: i915 surfaceless:
    egl: 1.4 drv: i915 x11: egl: 1.4 drv: i915 inactive: wayland
  API: OpenGL v: 4.5 compat-v: 2.1 vendor: mesa v: 24.0.5 glx-v: 1.4
    direct-render: yes renderer: i915 (: 945G) device-ID: 8086:2772
    memory: 187.5 MiB unified: yes
  API: Vulkan v: 1.3.280 layers: 1 device: 0 type: cpu name: llvmpipe (LLVM
    18.1.4 128 bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
>
Comment 2 Paul Graff 2024-05-16 05:14:50 UTC
Very good to see your comment here. Ok I understand about Xwayland more now from your comment.

The inxi report may be deceiving to some people WRT X11 and Wayland. "with Xwayland" does not mean a Wayland X session is running. My i945 iGPU in 32bit TW20240510 is not:

Machine here is shown below.

 :~> inxi -GSaz --vs --zl --hostname
inxi 3.3.34-00 (2024-04-13)
System:
  Host: localhost.localdomain Kernel: 6.8.9-1-pae arch: i686 bits: 32
    compiler: gcc v: 13.2.1 clocksource: hpet avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.8.9-1-pae
    root=/dev/mapper/system-root resume=/dev/system/swap mitigations=auto
    quiet security=apparmor
  Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.2.0
    wm: kwin_x11 tools: avail: xscreensaver vt: 2 dm: SDDM Distro: openSUSE
    Tumbleweed 20240514
Graphics:
  Device-1: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics
    vendor: Hewlett-Packard driver: i915 v: kernel arch: Gen-3.5
    process: Intel 90nm built: 2005-06 ports: active: LVDS-1
    empty: DVI-D-1,SVIDEO-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:27a2
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.12 with: Xwayland v: 23.2.6
    compositor: kwin_x11 driver: X: loaded: intel
    unloaded: fbdev,modesetting,vesa dri: i915 gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1280x800 s-dpi: 96 s-size: 338x211mm (13.31x8.31")
    s-diag: 398mm (15.69")
  Monitor-1: LVDS-1 mapped: LVDS1 model: LG Philips 0x8d00 built: 2005
    res: 1280x800 dpi: 108 gamma: 1.2 size: 300x190mm (11.81x7.48")
    diag: 358mm (14.1") ratio: 16:10 modes: 1280x800
  API: EGL v: 1.5 hw: drv: intel i915 platforms: device: 0 egl: 1.4
    drv: i915 device: 1 drv: swrast surfaceless: egl: 1.4 drv: i915 x11:
    egl: 1.4 drv: i915 inactive: gbm,wayland
  API: OpenGL v: 4.5 compat-v: 2.1 vendor: mesa v: 24.0.5 glx-v: 1.4
    direct-render: yes renderer: i915 (: 945GM) device-ID: 8086:27a2
    memory: 187.5 MiB unified: yes
  API: Vulkan Message: No Vulkan data available.

The topic seems to have changed now. One quarter of the screen is filled by a white box. I can change a tab (application) and somewhat get it to disappear temporarily but it comes back. Updated to snapshot 20240514 with same issue.
Comment 3 Paul Graff 2024-05-16 05:18:45 UTC
Here is a screenshot of the white box displayed in top right of the screen. https://paste.opensuse.org/pastes/944b0bde86e1
Comment 4 Paul Graff 2024-05-20 03:03:11 UTC
Created attachment 874959 [details]
32 bit Tumbleweed after update to KDE P6 MEGARELEASE X11 session.

This strange white box appeared in the right corner of the laptops display after KDE P6 Megarelease. It takes up 1/4 of the screen.
Comment 5 Paul Graff 2024-05-20 03:53:15 UTC
There have been new findings on this issue. 

I turned off compositing manually. In order to do this I edited /etc/xdg/kwinrc to include all of the following.

[Desktops]
Number=2

[Compositing]
Enabled=false
AnimationSpeed=2

-
I set the default 'Display Manager' to LightDM (using on machine now) and have also tried with success XDM. Using > # update-alternatives --config default-displaymanager
-
I powercycled the machine.
-
I selected Plasma (X11) session in LightDM. Entered username and password. Desktop loads and the 'white box' is now *GONE*.
-
So far with the brief amount of testing here the machine seems to be quite stable with no taskbar or systray items slipping around. I no longer have a blinking cursor in Konsole. I am no longer able to start 'Kate' with sudo -E kate /file/to/edit but am able to workaround this by starting "Kate" in X11 session as root.
- 
A curiosity that I have noticed now is that starting a Plasma (Wayland) session with LighDM. The "white box" returns only this time at the bottom right of the screen taking up 1/4 of the screen display as before. I have attached a screenshot also showing this.
-
I opened an instance of Dolphin up using Plasma (Wayland) and the box began flashing rapidly. It does not always do this though consistently it appears.
-
Switching to a (non-used and clear) workspace. Then clicking on the "white box" and then tapping enter does not cause anything to appear within the box from what I can tell. The "white box" seems to be live as I have Konsole set to display at the bottom of dolphin. Tapping enter causes the Konsole instance to rightfully take back over the screen. After about 1 minute of time the "white box" fills back up it's desired 1/4 of the screen. For some reason I would like to describe the situation as seeming that the "white box" is live and active *not* just stationary.
-
I would like to add that logging out of the session brings up a user prompt that asks for confirmation and those field descriptors are blank. I believe due to software rendering being turned off in '/etc/environment' to > # QT_QUICK_BACKEND=software

See attachment image.
-
Software Rendering turned on after the KDE Plasma6 MEGARELEASE caused taskbar and system tray items to become misaligned and vacant or empty. Previously the software rendering was helping display characters in SDDM Display Manager as the field descriptors were blank in all the boxes. Switching to LightDM or XDM Display Manager(s), seem not affected by hardware or software rendering.
Comment 6 Paul Graff 2024-05-20 03:56:59 UTC
Created attachment 874960 [details]
Logout affirmation with KDE Plasma6 MEGARELEASE, no compositing, software rendering off.

KDE Plasma6 MEGARELEASE, no compositing, software rendering off. Notice the blank field descriptors. This issue I believe is caused by software rendering turned off. Cannot turn on software rendering now because taskbar and systray items will become disfigured.
Comment 7 Paul Graff 2024-05-20 04:05:20 UTC
Created attachment 874961 [details]
White Box takes back screen in P6 Wayland

Opening an instance of Dolphin. The Konsole at the bottom (pressing CR/Enter key) attempts to take back it's rightful screen area. The "White Box" after about a minute reclaims it's space automatically.
-
Clicking on the 'White Box' and tapping enter multiple times does not seem to change anything.
Comment 8 Paul Graff 2024-05-20 04:08:28 UTC
Created attachment 874962 [details]
KDE P6 MEGARELASE (Plasma Wayland) session - white box

White box is now displayed at bottom right of screen when Plasma 6 Wayland session is started.
Comment 9 Paul Graff 2024-05-20 04:10:00 UTC
(In reply to Paul Graff from comment #6)
> Created attachment 874960 [details]
> Logout affirmation with KDE Plasma6 MEGARELEASE X11 Session, no compositing, software
> rendering off.
> 
> KDE Plasma6 MEGARELEASE, no compositing, software rendering off. Notice the
> blank field descriptors. This issue I believe is caused by software
> rendering turned off. Cannot turn on software rendering now because taskbar
> and systray items will become disfigured.