-
Notifications
You must be signed in to change notification settings - Fork 23
MellowPlayer freezes briefly if you want to play a song or change the song. #128
Comments
Can you check if the same freeze happens with qupzilla (another qtwebengine based browser). Does it change anything if you compile with |
I'm trying it out. |
I've tested it, There's no problem with qupzilla, |
Ok. Thank you for trying out. There is one last thing to test before I investigate this issue (which I don't seem to have): try with a qml web engine view (qupzilla is made with QtWidgets and Qml introduce another layer on top of web engine view widgets which might be the cause of these micro freezes). To test this, do the following steps:
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtWebEngine 1.5
ApplicationWindow {
width: 1024
height: 768
visible: true
WebEngineView {
anchors.fill: parent
url: "https://youtube.com"
}
}
|
I have tried, I get the following error message:
[user@A632-OS ~]$ qmlscene '/home/user/Schreibtisch/main.qml'
qt5ct: using qt5ct plugin
QGLXContext: Failed to create dummy context
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
[8295:8295:0100/000000.164199:ERROR:zygote_linux.cc(636)] Zygote could not fork: process_type renderer numfds 3 child_pid -1
[8295:8295:0100/000000.164833:ERROR:zygote_linux.cc(668)] write: Datenübergabe unterbrochen (broken pipe)
Abgebrochen (Speicherabzug geschrieben)
|
Hmm weird, that works fine on SUSE. I know why it fails on your system (a C++ part is needed to execute QtWebEngine::initialize()). I guess SUSE patched qmlscene to do that... I'll need to provide you with a minimal CMake/C++/QML example. I'll try to do that on sunday (I'll be too busy until then). Meanwhile, may I ask you to record a video that show the freezes? (Ideally start recording from the point where you start MellowPlayer). |
I have created a video, when scrolling with the mouse, MellowPlayer doesn't react anymore, and the scrollbar can't be moved either. |
Thank you. The video helps, those are very serious freezes. It's unlikely that it come from QML WebEngineView. I suspect this may come from the listening history database... May I ask you to backup the db ( |
The history is empty, and freezing occurs when I delete the entire folder or when I delete history.db
|
I will reinstall the Qt components and test them again |
The reinstallation of the Qt components didn't work, it is still freezing. |
Ok. I'll make you a small qml webengine example to check if this is a qt/qml issue. Maybe also try without any user script. And also check with the 3.0 release, maybe there is a regression. Can you also post the output of |
inxi -F
Sorry, my computer is a little older, and it's certainly not the best. |
The same problem also occurs when I use version 2.99. |
No I don't think so. Maybe the system is bricked for whatever reason or maybe this is due to a bad video driver (QML relies on OpenGL and require hardware accelerations to work well but if animations elsewhere in the application are fluid then it may not be the problem) For how long do you have those issues? Could this be related to an NVIDIA driver update? What if you switch back to nouveau? |
When I switch back to Nouveau, the system crashes because there is an error in Nouveau, the problem only occurs with a few cards. |
Have you tried to rollback those updates? (https://wiki.archlinux.org/index.php/Downgrading_packages might help) |
Yes, I did, but it didn't work out. |
https://wiki.archlinux.org/index.php/NVIDIA#Automatic_configuration |
This is completely crazy, now it's fine, thanks a lot for the support, maybe we should add a note in the MellowPlayer wiki. |
Ok, good to know.
This is a system issue, not related at all with MellowPlayer so I don't think it is necessary. |
OK, thank you :) Linux and NVIDIA are not really good friends, there is definitely no NVIDIA card in my next computer. |
I noticed the MellowPlayer freezes during testing if you want to play a song or video, or if you want to switch to another song or video.
The freeze only happens when you press the play button and when you want to play a video on youtube.
I noticed it on Deezer and YouTube.
Tested on arch Linux, The cache was completely removed before the test, Otherwise, no changes were made and user scripts were not used.
Various log files: Logs.zip
The following settings were used for compiling:
I hope the information can help you find the problem.
The text was updated successfully, but these errors were encountered: