openSUSE / openSUSE-welcome

Korora welcome utility adapted for openSUSE Project
Other
12 stars 20 forks source link

Welcome stuck on splash screen #25

Closed tux93 closed 2 years ago

tux93 commented 2 years ago

openSUSE-Welcome gets stuck on the green splash screen

Running it in Terminal shows:

~> opensuse-welcome 
"en_GB"
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
checking if autostart is enabled
file exists
there is a file to disable, so it's disabled
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: AppArmor, Flatpak, GStreamer update in Tumbleweed https://news.opensuse.org/2022/02/18/apparmor-flatpak-gstreamer-in-tw/

Downstream report: https://bugzilla.opensuse.org/show_bug.cgi?id=1194380

jonzn4suse commented 2 years ago

I have the same issue. There are 3 users on this machine and the Welcome screen works for 1 of them. ;-)) What's different?

User - LjNj_RC51 https://paste.opensuse.org/78940357

User - LjNj https://paste.opensuse.org/2060320

Operating System: openSUSE Tumbleweed 20220414 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.2 Kernel Version: 5.17.2-1-default (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz Memory: 31.0 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 4600

jonzn4suse commented 2 years ago

openSUSE-Welcome gets stuck on the green splash screen

Running it in Terminal shows:

~> opensuse-welcome 
"en_GB"
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
checking if autostart is enabled
file exists
there is a file to disable, so it's disabled
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: AppArmor, Flatpak, GStreamer update in Tumbleweed https://news.opensuse.org/2022/02/18/apparmor-flatpak-gstreamer-in-tw/

Downstream report: https://bugzilla.opensuse.org/show_bug.cgi?id=1194380

Sorry for the late reply, but here are the results from the terminal for your jonzn4SUSE. I'll do the same for the other users. FYI... I'm seeing the same issue in openSUSE Leap 15.4.

_"en_US" WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed. 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::AAShareOpenGLContexts must be set before QCoreApplication is created. qml: Leap 15.4 Offers New Features, Familiar Stability https://news.opensuse.org/2022/06/08/leap-offers-new-features-familiar-stability/

presire commented 2 years ago

In my environment, it did not occur with openSUSE Leap 15.3, occurred with openSUSE Leap 15.4.

If I use Qt 5.15.2 installed from the package management system(zypper), it shows green for some reason.

"en_US"
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed. 
checking if autostart is enabled
file exists
there is a file to disable, so it's disabled
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: Leap 15.4 Offers New Features, Familiar Stability https://news.opensuse.org/2022/06/08/leap-offers-new-features-familiar-stability/

ksnip_20220613-093810

And, after downloading the Qt installer and installing the Qt 5.15.2 library, I successfully viewed the opensuse-welcome.

Here are the steps I tried.

First, download the Qt installer.

wget http://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run

Add permissions to the downloaded file.

chmod u+x qt-unified-linux-x64-online.run

Follow the Qt installation screen to install the Qt 5.15.2 library.

./qt-unified-linux-x64-online.run

The figure below shows an example of the Qt 5.15.2 library I installed. Perhaps you have also installed unnecessary libraries. ksnip_20220613-092934

Load the Qt 5.15.2 library that just now installed, and run opensuse-welcome.

export LD_LIBRARY_PATH="/<Qt installation directory>/5.15.2/gcc_64/lib:$LD_LIBRARY_PATH" opensuse-welcome

"en_US" 
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed. 
checking if autostart is enabled 
file exists 
there is a file to disable, so it's disabled 
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 futur
e. 
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created. 
Property 'animations'' of object 'QQuickSequentialAnimation' has no notify signal and is not constant, value updates in HTML will be broken! 
Property 'animations'' of object 'QQuickSequentialAnimation' has no notify signal and is not constant, value updates in HTML will be broken! 
Checking if we are live 
file does not exist 
We aren't live 
qml: Leap 15.4 Offers New Features, Familiar Stability https://news.opensuse.org/2022/06/08/leap-offers-new-features-familiar-stability/

ksnip_20220613-094826

This procedure is very complicated, and I wish there was a better way.