Bug 1194380 - openSUSE-welcome shows green screen
Summary: openSUSE-welcome shows green screen
Status: CONFIRMED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Jan Blackquill
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-06 16:24 UTC by Axel Braun
Modified: 2022-10-19 09:10 UTC (History)
10 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2022-01-06 16:24:51 UTC
on a recent TW the openSUSE-welcome screen comes up and stays with a green screen. I remember we had the issue before (on lxqt at that time), but cant rememberwhat the solution was...)

Operating System: openSUSE Tumbleweed 20220102
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.12-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-2640M CPU @ 2.80GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 3000
Comment 1 John Andrew McInnes 2022-02-23 06:17:04 UTC
Same here for a couple months now. Firefox is my default browser if that has anything to do with it.
Comment 2 Sławomir Lach 2022-04-13 13:56:36 UTC
(In reply to John Andrew McInnes from comment #1)
> Same here for a couple months now. Firefox is my default browser if that has
> anything to do with it.

Same issue. KDE Plasma. Tumbleweed. I do not remember, when it stopped working, but I think few months ago.
Comment 3 Sławomir Lach 2022-04-13 13:58:58 UTC
Some logs:
slawomir@localhost:~> /usr/bin/opensuse-welcome
"pl_PL"
Running on wayland. Qt WebEngine will disable usage of the GPU.
Note: you can set the QT_WEBENGINE_DISABLE_WAYLAND_WORKAROUND
environment variable before running this application, but this is 
not recommended since this usually causes applications to crash.
checking if autostart is enabled
file does not exist
there isn't a file to disable, so it's enabled
Checking if we are live
file does not exist
We aren't live
qml: false
QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
qml: Tumbleweed to Get New Default GCC https://news.opensuse.org/2022/04/08/tw-gets-new-default-gcc/

I think it is related to QtWebEngine. URI target to article displayed on OpenSUSE Tumbleweed on my VM.
Comment 4 Donnie Menig 2022-05-15 16:29:21 UTC
I can confirm. My system info:

Operating System: openSUSE Tumbleweed 20220513
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.2
Kernel Version: 5.17.5-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Comment 5 Laudecir Daniel 2022-05-24 17:32:53 UTC
Same here for than 6 months if I am not wrong.
openSUSE-welcome opens and display the green screen with the openSUSE logo.
Running in the latest openSUSE Tumbleweed 20220521 with Xorg.
Program ends and no error message shows anywhere in the logs.
Here is some info from GDB:

> gdb /usr/bin/opensuse-welcome
Reading symbols from /usr/bin/opensuse-welcome...
Reading symbols from /usr/lib/debug/usr/bin/opensuse-welcome-0.1.8+git.44.7923e16-1.3.x86_64.debug...
(gdb) run
Starting program: /usr/bin/opensuse-welcome 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe5127640 (LWP 21840)]
[New Thread 0x7fffdf03f640 (LWP 21843)]
[New Thread 0x7fffde788640 (LWP 21845)]
[New Thread 0x7fffddf87640 (LWP 21846)]
[New Thread 0x7fffdd734640 (LWP 21847)]
"en_GB"
[New Thread 0x7fffdcdca640 (LWP 21848)]
[New Thread 0x7fffbf669640 (LWP 21852)]
[New Thread 0x7fffbecf2640 (LWP 21853)]
[New Thread 0x7fffbe4f1640 (LWP 21854)]
[New Thread 0x7fffbdcf0640 (LWP 21855)]
[New Thread 0x7fffbd4ef640 (LWP 21856)]
[New Thread 0x7fffbccee640 (LWP 21857)]
[New Thread 0x7fffa7fff640 (LWP 21858)]
[New Thread 0x7fffa77fe640 (LWP 21859)]
[Thread 0x7fffa77fe640 (LWP 21859) exited]
[New Thread 0x7fffa77fe640 (LWP 21860)]
[New Thread 0x7fffa6ffd640 (LWP 21861)]
[Thread 0x7fffa6ffd640 (LWP 21861) exited]
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
[New Thread 0x7fffa6ffd640 (LWP 21862)]
[Detaching after fork from child process 21863]
[Detaching after fork from child process 21864]
[Detaching after fork from child process 21865]
[New Thread 0x7fffa6372640 (LWP 21868)]
[New Thread 0x7fffa5b71640 (LWP 21869)]
[New Thread 0x7fffa5370640 (LWP 21870)]
[New Thread 0x7fffa4b6f640 (LWP 21871)]
[New Thread 0x7fff83fdf640 (LWP 21872)]
[New Thread 0x7fff837de640 (LWP 21873)]
[New Thread 0x7fff827dc640 (LWP 21874)]
[New Thread 0x7fff82fdd640 (LWP 21875)]
[New Thread 0x7fff81fdb640 (LWP 21876)]
[New Thread 0x7fff817da640 (LWP 21877)]
[New Thread 0x7fff80fd9640 (LWP 21878)]
[New Thread 0x7fff7bfff640 (LWP 21879)]
[New Thread 0x7fff7b7fe640 (LWP 21883)]
[New Thread 0x7fff7affd640 (LWP 21884)]
[New Thread 0x7fff79248640 (LWP 21885)]
checking if autostart is enabled
file does not exist
there isn't a file to disable, so it's enabled
Checking if we are live
file does not exist
We aren't live
qml: false
QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
[New Thread 0x7fff78a47640 (LWP 21886)]
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
[New Thread 0x7fff6bfff640 (LWP 21887)]
[New Thread 0x7fff6b7fe640 (LWP 21888)]
[New Thread 0x7fff6affd640 (LWP 21889)]
[New Thread 0x7fff6a7fc640 (LWP 21902)]
[New Thread 0x7fff69dfb640 (LWP 21905)]
[New Thread 0x7fff695fa640 (LWP 21906)]
qml: openSUSE Leap 15.4 Enters Release Candidate Phase https://news.opensuse.org/2022/05/17/leap-reaches-rc-phase/
[Thread 0x7fff79248640 (LWP 21885) exited]
[Thread 0x7fff6b7fe640 (LWP 21888) exited]
[Thread 0x7fff837de640 (LWP 21873) exited]
[Thread 0x7fff83fdf640 (LWP 21872) exited]
[Thread 0x7fff827dc640 (LWP 21874) exited]
[New Thread 0x7fff827dc640 (LWP 21946)]
[Thread 0x7fff827dc640 (LWP 21946) exited]
[New Thread 0x7fff827dc640 (LWP 22612)]
[Thread 0x7fff827dc640 (LWP 22612) exited]
[Thread 0x7fff6a7fc640 (LWP 21902) exited]
[New Thread 0x7fff6a7fc640 (LWP 22703)]
[Thread 0x7fffdcdca640 (LWP 21848) exited]
[Thread 0x7fff7b7fe640 (LWP 21883) exited]
[New Thread 0x7fff7b7fe640 (LWP 22705)]
[Thread 0x7fffa77fe640 (LWP 21860) exited]
[Thread 0x7fff78a47640 (LWP 21886) exited]
[Thread 0x7fff7bfff640 (LWP 21879) exited]
[New Thread 0x7fff7bfff640 (LWP 22706)]
[New Thread 0x7fff78a47640 (LWP 22707)]
[New Thread 0x7fffa77fe640 (LWP 22708)]
[Thread 0x7fff817da640 (LWP 21877) exited]
[Thread 0x7fff81fdb640 (LWP 21876) exited]
[Thread 0x7fffa4b6f640 (LWP 21871) exited]
[Thread 0x7fffa5b71640 (LWP 21869) exited]
[Thread 0x7fff80fd9640 (LWP 21878) exited]
[Thread 0x7fff7bfff640 (LWP 22706) exited]
[Thread 0x7fffe5127640 (LWP 21840) exited]
[Thread 0x7fffbd4ef640 (LWP 21856) exited]
[Thread 0x7fffbccee640 (LWP 21857) exited]
[Thread 0x7fffbdcf0640 (LWP 21855) exited]
[Thread 0x7fffbe4f1640 (LWP 21854) exited]
[Thread 0x7fffa7fff640 (LWP 21858) exited]
[Thread 0x7fffbecf2640 (LWP 21853) exited]
[Thread 0x7fffbf669640 (LWP 21852) exited]
[Thread 0x7fff7affd640 (LWP 21884) exited]
[Thread 0x7fffdf03f640 (LWP 21843) exited]
[Thread 0x7fffa77fe640 (LWP 22708) exited]
[Thread 0x7fff78a47640 (LWP 22707) exited]
[Thread 0x7fff7b7fe640 (LWP 22705) exited]
[Thread 0x7fff6a7fc640 (LWP 22703) exited]
[Thread 0x7fff695fa640 (LWP 21906) exited]
[Thread 0x7fff6affd640 (LWP 21889) exited]
[Thread 0x7fff6bfff640 (LWP 21887) exited]
[Thread 0x7fff82fdd640 (LWP 21875) exited]
[Thread 0x7fffa5370640 (LWP 21870) exited]
[Thread 0x7fffa6372640 (LWP 21868) exited]
[Thread 0x7fffa6ffd640 (LWP 21862) exited]
[Thread 0x7fffdd734640 (LWP 21847) exited]
[Thread 0x7fffddf87640 (LWP 21846) exited]
[Thread 0x7fffde788640 (LWP 21845) exited]
[Thread 0x7fffe7431fc0 (LWP 21826) exited]
[Inferior 1 (process 21826) exited normally]
Comment 6 Tejas Guruswamy 2022-05-24 23:20:07 UTC
Last time I saw this it was this WebKit bug:

https://bugs.webkit.org/show_bug.cgi?id=230797

If you allowed Firefox to create default mime types for *.html and so on, this broke WebKit. Perhaps the bug exists in WebEngine as well and the fix needs to be ported.

Easy check is if you remove the Firefox files from ~/.local/share/mime/application/ (and recreate db with update-mime-database), does it work?
Comment 7 Laudecir Daniel 2022-05-25 15:59:32 UTC
This workaround from Michael Catanzaro did fix the problem:
> > rm ~/.local/share/mime/packages/user-extension-html.xml
> > update-mime-database ~/.local/share/mime
Source: https://gitlab.gnome.org/GNOME/devhelp/-/issues/56
Comment 8 Tejas Guruswamy 2022-05-25 23:58:50 UTC
I found that it was already filed as a Qt bug, but they haven't made the connection or agreed it needs to be fixed:

https://bugreports.qt.io/browse/QTBUG-97392
Comment 9 Andreas Artz 2022-08-09 17:53:58 UTC
Is this bug fixed? 
on TW and Leap I haven't had this issues anymore.

v/r

Andi/andi89cic
Comment 10 Axel Braun 2022-08-10 06:16:33 UTC
(In reply to Andreas Artz from comment #9)
> Is this bug fixed? 
> on TW and Leap I haven't had this issues anymore.

Just tested on current TW with KDE - still an issue
Comment 11 Andreas Artz 2022-08-10 08:44:03 UTC
Have tested it again - well strange I got the same issue.
The DE doesn't matter in this case. It's on GNOME as well.

Further suggestions?

v/r

Andi
Comment 12 Tejas Guruswamy 2022-08-10 16:54:55 UTC
I don't know QtWebEngine well enough to understand if the WebKitGTK workaround applies directly. To recap there is a badly designed function in glib which causes Firefox to write malformed xdg-mime database files which then confuses WebEngine into not loading html files from disk. This is independent of desktop environment (see bug links in my previous comment).

This issue will appear on any system which has run Firefox at least once and allowed it to become "default browser".

Unfortunately as solving this properly appears to require cooperation across projects it is not receiving much attention ...
Comment 13 Sławomir Lach 2022-08-10 17:25:53 UTC
It is not repaired for me.
Comment 14 Andreas Artz 2022-08-10 17:39:30 UTC
Well, indeed it's needs more attention. I don't know who's maintaining the welcome screen. Maybe it would make sense to chat with him and assign this bug.
Comment 15 OBSbugzilla Bot 2022-09-19 13:55:03 UTC
This is an autogenerated message for OBS integration:
This bug (1194380) was mentioned in
https://build.opensuse.org/request/show/1004713 Factory / opensuse-welcome
https://build.opensuse.org/request/show/1004719 Backports:SLE-15-SP4 / opensuse-welcome
Comment 16 Sławomir Lach 2022-09-21 16:34:54 UTC
I updated Welcome Screen App from Plasma-Discover today. It seems to work, but no news bar is displayed. Maybe there is no news currently (server problems?) or somebody remove this functionality.
Comment 17 Sławomir Lach 2022-09-22 11:16:04 UTC
Sorry for previous post. It now working for me. Reason was I am use WiFI with password manager and I do not provide password before this screen appear. Previously I right-clicked and select refresh once connect via WiFI, but it do not work. Currently, I close app, connect to WiFI and launch it. News bar appear as expected.

Maybe submit bug refresh button not working properly or to add new update button to content of this window?
Comment 18 Swamp Workflow Management 2022-10-19 07:22:34 UTC
openSUSE-RU-2022:10157-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 1194380
CVE References: 
JIRA References: 
Sources used:
openSUSE Backports SLE-15-SP4 (src):    opensuse-welcome-0.1.9+git.0.66be0d8-bp154.2.3.1