Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black Screen on Reboot #12

Closed
RainehDaze opened this issue Apr 20, 2024 · 18 comments
Closed

Black Screen on Reboot #12

RainehDaze opened this issue Apr 20, 2024 · 18 comments

Comments

@RainehDaze
Copy link

Odd, boot-related issue here. On rebooting, both wallpapers (I have two monitors) will be black, but if I change them to some other wallpaper type and then set it back to smart wallpaper, they'll work normally--is there potentially some configuration or startup option missing?

This is after changing to gstreamer as ffmpeg as a backend seemed to be even worse about this, sometimes never starting at all regardless of how things are toggled.

sysinfo.txt

Or is it that some other dependency is oddly missing? Trying to run the test file with qml6 simply returns command not found, and replacing it with plain qml prompts a suggestion to install qt5-qtdeclarative-devel, which seems odd.

@luisbocanegra
Copy link
Owner

Install qt6-qtdeclarative-devel and run the test.qml as per the instructions using qml-qt6

@RainehDaze
Copy link
Author

Hm, that worked aside from the pausing, although after a while it just showed a grey screen. Doesn't look like there's any other issues in the output, though--not that I really expected them, since it's not a crashing problem I'm facing.

qmlout.txt

Maybe I need to log things at boot?

@luisbocanegra
Copy link
Owner

Sorry, the gray screen is due to the absence of a local video (initially this file was for #7) I removed it now.

Maybe I need to log things at boot?

Yes, please reboot and after logging to the black video run journalctl -b > journal.txt let it run for a couple of seconds, terminate it and send the file.

@RainehDaze
Copy link
Author

Will do, unfortunately it seems like this isn't happening every time I reboot (just often enough to be annoying). Don't think there's anything super weird in the boot log where it does start, looking at it.

@RainehDaze
Copy link
Author

journal.txt

@luisbocanegra
Copy link
Owner

luisbocanegra commented Apr 21, 2024

Unfortunately plasmashell[2649]: qt.multimedia.player: Unable to set the pipeline to the paused state. is not very informative

Please run the test.qml and test testMediaPlayer.qml and try to reproduce the bug with that

e.g:

QSG_INFO=1 QT_LOGGING_RULES="qml.debug=true" qml-qt6 test.qml

@RainehDaze
Copy link
Author

testMediaPlayerOut.txt
testout.txt

Doesn't reproduce the "won't start" bug. Does reproduce another weird one, though--the playback not unpausing when I click play (I've seen playback freeze entirely unless I set it to 'never pause' and then change the video manually to get it started again). Although, it seems like this is rather sparse for debug output? Unless I'm missing something.

@luisbocanegra
Copy link
Owner

testMediaPlayerOut.txt testout.txt

Doesn't reproduce the "won't start" bug. Does reproduce another weird one, though--the playback not unpausing when I click play (I've seen playback freeze entirely unless I set it to 'never pause' and then change the video manually to get it started again). Although, it seems like this is rather sparse for debug output? Unless I'm missing something.

You are absolutely right! Please test with:

QSG_INFO=1 QT_LOGGING_RULES="*.debug=true" qml6 /home/luis/projects/plasma-smart-video-wallpaper/playground/000videoTestMediaPlayer.qml

@RainehDaze
Copy link
Author

RainehDaze commented Apr 21, 2024

testmediaplayeroutverbose.txt

Interesting observation: pausing and unpausing works for the little chrome dongle clip, but not the other one.

@RainehDaze
Copy link
Author

So, I think I solved the black screen issue (if not the "can't start after pausing" issue--want me to open that as a new one or just rename this?), but I'll note again if things didn't work: my wallpaper files were on another drive. When I moved those over to my home partition instead, rebooting and just shutting down and starting normally seems to have things start up perfectly fine.

Although, those other drives are mounted on startup too, so not sure why that would present an issue, but it's all I can really imagine is influencing it.

@luisbocanegra
Copy link
Owner

testmediaplayeroutverbose.txt

Interesting observation: pausing and unpausing works for the little chrome dongle clip, but not the other one.

Yeah, it seems it didn't like a couple of changes I made, reverted them and now those tests run fine for me.

So, I think I solved the black screen issue (if not the "can't start after pausing" issue--want me to open that as a new one or just rename this?),

Is this "can't start after pausing" present on the wallpaper itself? If so, please open a new issue.

but I'll note again if things didn't work: my wallpaper files were on another drive. When I moved those over to my home partition instead, rebooting and just shutting down and starting normally seems to have things start up perfectly fine.

Although, those other drives are mounted on startup too, so not sure why that would present an issue, but it's all I can really imagine is influencing it.

Strange, did you test rebooting multiple times to verify it was the only reason they didn't load?

@RainehDaze
Copy link
Author

Strange, did you test rebooting multiple times to verify it was the only reason they didn't load?

Yup, rebooted about half a dozen times now. No issues starting the initial video playback.

@luisbocanegra
Copy link
Owner

Strange, did you test rebooting multiple times to verify it was the only reason they didn't load?

Yup, rebooted about half a dozen times now. No issues starting the initial video playback.

Thanks, I have a secondary drive with a ntfs partition that is also mounted on boot, tried loading a couple of videos from there and after rebooting two times in a row they loaded fine, will keep it that way to see if it happens at some point.

@RainehDaze
Copy link
Author

Strange, did you test rebooting multiple times to verify it was the only reason they didn't load?
Yup, rebooted about half a dozen times now. No issues starting the initial video playback.

Thanks, I have a secondary drive with a ntfs partition that is also mounted on boot, tried loading a couple of videos from there and after rebooting two times in a row they loaded fine, will keep it that way to see if it happens at some point.

Might also be a drive speed issue? Not sure there--it shouldn't be, the other drive was still an SSD, it shouldn't matter my boot drive is NVME.

@luisbocanegra
Copy link
Owner

Mine is HDD and boot one is NVME, maybe is some sort of bug with reading from other disks?

Or there is a problem with playback which could be instead caused by certain GPUs or combination of them as I use mostly Intel Graphics (Nvidia card disabled) and never had playback issues in my testing.

@RainehDaze
Copy link
Author

Think it might be an X/Wayland session thing? Since running Wayland on Nvidia is still dicey if you don't like flicker.

@luisbocanegra
Copy link
Owner

luisbocanegra commented Apr 22, 2024

Think it might be an X/Wayland session thing? Since running Wayland on Nvidia is still dicey if you don't like flicker.

Maybe, I only tried wayland and ffmpeg backend and it worked (GTX 1650, laptop). Yeah the flickers are the reason I still can't use it (or the lag when iGPU is the primary renderer)

@RainehDaze
Copy link
Author

Yeah, I've been using the X Session until explicit sync is available, I'll keep an eye on stuff like that. Good few months for me to gather data on other random stuff, at least. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants