luisbocanegra / plasma-smart-video-wallpaper-reborn

Smart Video Wallpaper for KDE Plasma 6
https://store.kde.org/p/2139746
GNU General Public License v2.0
45 stars 1 forks source link

Video black screen on desktop #1

Closed linlinxza closed 3 months ago

linlinxza commented 3 months ago

https://github.com/luisbocanegra/plasma-smart-video-wallpaper/assets/11242593/c0e25510-d02a-42b5-9cbd-db084eda0501

This is what I get from journalctl -f:

plasmashell[3069178]: vaExportSurfaceHandle failed

luisbocanegra commented 3 months ago

Looks like your system is struggling to play the video, the va at the starts suggests video acceleration failing.

Also please share the output of kinfo and try playing the same video with mpv --hwdec=auto video_filename

This may help https://wiki.archlinux.org/title/Hardware_video_acceleration

This issue on mpv suggest could be wayland related https://github.com/mpv-player/mpv/issues/11198 can you try with x11 if you're on wayland?

linlinxza commented 3 months ago
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
flatpak run io.mpv.Mpv --hwdec=auto '/media/user/Media Storage/animatedwallpapers/Purple Butterfly World.mp4'
 (+) Video --vid=1 (*) (h264 1920x1080 60.000fps)
Cannot load libcuda.so.1
Using hardware decoding (vaapi).
VO: [gpu] 1920x1080 vaapi[nv12]

Video plays fine. And don't mind me. I'm just using Flatpak apps.

luisbocanegra commented 3 months ago

Please try putting another video as wallpaper this one for example works for me https://storage.googleapis.com/gtv-videos-bucket/sample/ForBiggerFun.mp4

linlinxza commented 3 months ago

Here you go:

https://github.com/luisbocanegra/plasma-smart-video-wallpaper/assets/11242593/a9c31710-6588-4049-aef0-d34d82dca459

luisbocanegra commented 3 months ago

Try with a x11 session please if you haven't yet

luisbocanegra commented 3 months ago

I find strange that it is able to play on the preview but not on the desktop when both are doing the same.

linlinxza commented 3 months ago

Try with a x11 session please if you haven't yet

I really don't want my desktop being possibly messed up by switching over to the old display server. Does it work for you on Wayland?

luisbocanegra commented 3 months ago

I really don't want my desktop being messed up by switching over to the old display server.

Is it that bad? Maybe you can backup your .config .cache folders so it does't change anything if you're worried about that. Also is just to discard the problem being wayland related you can switch back to wayland after that.

Yes it works for me on wayland, but I am using the integrated Intel GPU

linlinxza commented 3 months ago

Well, that's screwy. It works for you on an iGPU no less?

Also, if I try using the script, it spits out this:

CMake Error at CMakeLists.txt:21 (find_package):
  By not providing "FindPlasma5Support.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Plasma5Support", but CMake did not find one.

  Could not find a package configuration file provided by "Plasma5Support"
  (requested version 6.0.0) with any of the following names:

    Plasma5SupportConfig.cmake
    plasma5support-config.cmake

  Add the installation prefix of "Plasma5Support" to CMAKE_PREFIX_PATH or set
  "Plasma5Support_DIR" to a directory containing one of the above files.  If
  "Plasma5Support" provides a separate development package or SDK, be sure it
  has been installed.
luisbocanegra commented 3 months ago

Works with the nvidia too (I had it disabled but just booted with it). X11 works fine also

linlinxza commented 3 months ago

Also, if I try using the script to install it, it spits out this:

CMake Error at CMakeLists.txt:21 (find_package):
  By not providing "FindPlasma5Support.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Plasma5Support", but CMake did not find one.

  Could not find a package configuration file provided by "Plasma5Support"
  (requested version 6.0.0) with any of the following names:

    Plasma5SupportConfig.cmake
    plasma5support-config.cmake

  Add the installation prefix of "Plasma5Support" to CMAKE_PREFIX_PATH or set
  "Plasma5Support_DIR" to a directory containing one of the above files.  If
  "Plasma5Support" provides a separate development package or SDK, be sure it
  has been installed.
luisbocanegra commented 3 months ago

That's a mistake from me, this project doesn't require that package you can remove that line in the CMakeLists.txt file

linlinxza commented 3 months ago

That's a mistake from me, this project doesn't require that package you can remove that line in the CMakeLists.txt file

Okay. Now it spits out this:

CMake Error at CMakeLists.txt:21 (find_package):
  By not providing "FindPlasma.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Plasma", but
  CMake did not find one.

  Could not find a package configuration file provided by "Plasma" (requested
  version 6.0.0) with any of the following names:

    PlasmaConfig.cmake
    plasma-config.cmake

  Add the installation prefix of "Plasma" to CMAKE_PREFIX_PATH or set
  "Plasma_DIR" to a directory containing one of the above files.  If "Plasma"
  provides a separate development package or SDK, be sure it has been
  installed.
luisbocanegra commented 3 months ago

You need the development package of libplasma its probably called libplasma-dev, libplasma-devel or something along the lines. But just copying the files like you did should have worked too.

linlinxza commented 3 months ago

It successfully built. Still a black screen.

luisbocanegra commented 3 months ago

replace main.qml with this

/*
 *  Copyright 2018 Rog131 <samrog131@hotmail.com>
 *  Copyright 2019 adhe   <adhemarks2@gmail.com>
 *  Copyright 2024 Luis Bocanegra <luisbocanegra17b@gmail.com>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  2.010-1301, USA.
 */

import QtQuick

import org.kde.plasma.core as Plasmacore
import org.kde.plasma.wallpapers.image as Wallpaper
import org.kde.plasma.plasmoid
import QtMultimedia

WallpaperItem {
    anchors.fill: parent
    id: main

    Rectangle {
        id: background
        anchors.fill: parent
        color: wallpaper.configuration.BackgroundColor
        property string videoWallpaperBackgroundVideo: wallpaper.configuration.VideoWallpaperBackgroundVideo
        property bool playing: windowModel.playVideoWallpaper
        // onPlayingChanged: background.playing ? playlistplayer.play() : playlistplayer.pause()

        // onVideoWallpaperBackgroundVideoChanged: {
        //     if (playing) {
        //         playlistplayer.play()
        //     } else {
        //         playlistplayer.play()
        //         playlistplayer.pause()
        //     }
        // }

        WindowModel {
            id: windowModel
            screenGeometry: main.parent.screenGeometry
        }

        MediaPlayer {
            id: playlistplayer
            activeAudioTrack: -1 //muted: wallpaper.configuration.MuteAudio
            source: wallpaper.configuration.VideoWallpaperBackgroundVideo
            videoOutput: videoView
            loops: MediaPlayer.Infinite
            onSourceChanged: {
                play()
            }
        }

        VideoOutput {
            id: videoView
            fillMode: wallpaper.configuration.FillMode
            anchors.fill: parent
        }
    }

    function dumpProps(obj) {
        console.error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
        for (var k of Object.keys(obj)) {
            print(k + "=" + obj[k]+"\n")
        }
    }

    // Timer {
    //     id: debugTimer
    //     interval: 1000
    //     repeat: true
    //     running: true
    //     onTriggered: {
    //         // 
    //     }
    // }
}

It will completely disable pausing maybe there is a bug with that and the video is just paused indefinitely or something.

linlinxza commented 3 months ago

I copied and pasted that into the mail.qml file; replacing what was there. Same issue.

luisbocanegra commented 3 months ago

Do you have another system to try this on? Because I still think this can be a problem with wayland+qt+kde+amd doing weird things

linlinxza commented 3 months ago

Do you have another system to try this on? Because I still think this can be a problem with wayland+qt+kde+amd doing weird things

This is so weird. I ran this in Virtual Box with the latest version of Plasma, and it worked.

luisbocanegra commented 3 months ago

Certified non intel gpu bug moment

linlinxza commented 3 months ago

Certified non intel gpu bug moment

So, this is a bug with AMD on Plasma? Or what?

luisbocanegra commented 3 months ago

Honestly I have no idea. What I can suggest is trying other video formats https://onlinetestcase.com/video-file/ maybe there is one that works and that could suggest this being a bug with the decoding of specific formats

luisbocanegra commented 3 months ago

You can also try booting a live usb of another kde distro to see if it works there, then could be that you're missing some package, have something configured incorrectly or broken package

linlinxza commented 3 months ago

So weird. I tried this on my mom's laptop. And it's an AMD crap laptop that is running under Wayland. It worked on that.

luisbocanegra commented 3 months ago

Please share the complete output of journalctl and also the output of sudo dmesg -wHT while you reproduce the bug, maybe there is a hint to what's missing there

linlinxza commented 3 months ago

Actually, I figured it out. Apparently, this plugin doesn't work with spacing in the file name or directory names.

Or, it simply will not work if trying to play a video off another drive.

Actually, scratch that. Now it works even off other drives. Makes no sense. lol

luisbocanegra commented 3 months ago

lol did you happen to reboot? maybe just needed that ¯\(ツ)

linlinxza commented 3 months ago

Nope. I just made an new profile to see if it was a profile issue. Maybe after installing those dependencies and logging off and logging in made it work. lol

But now, I am having another issue. Seems when the video goes on a loop, plasmashell will crash.

luisbocanegra commented 3 months ago

It loops correctly for me, in fact been running for hours with no crashes, except some lag because the igpu is weak.

luisbocanegra commented 3 months ago

Please share the complete output of journalctl and also the output of sudo dmesg -wHT while you reproduce the bug, maybe there is a hint to what's missing there

please send this

linlinxza commented 3 months ago

Please share the complete output of journalctl and also the output of sudo dmesg -wHT while you reproduce the bug, maybe there is a hint to what's missing there

please send this

There is nothing there.

linlinxza commented 3 months ago

This is what I get from journalctl -f as it is running and then crashes plasmashell.

Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:08 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:09 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:10 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:11 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:12 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:13 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: Error transferring the data to system memory: -5
Mar 17 17:40:14 User plasmashell[3543002]: [AVHWFramesContext @ 0x7662a0047100] Failed to sync surface 0x16: 13 (the requested VAEntryPoint is not supported).
Mar 17 17:40:14 User plasmashell[3543002]: could not map data of QVideoFrame for upload
Mar 17 17:40:14 User plasmashell[3543002]: Invalid texture upload for 0x76617cdf3b70 layer=0 mip=0
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: Invalid texture upload for 0x76617c7bbaf0 layer=0 mip=0
Mar 17 17:40:14 User plasmashell[3543002]: Invalid texture upload for 0x76617c25f970 layer=0 mip=0
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: Error transferring the data to system memory: -5
Mar 17 17:40:14 User plasmashell[3543002]: [AVHWFramesContext @ 0x7662a0047100] Failed to sync surface 0x1c: 13 (the requested VAEntryPoint is not supported).
Mar 17 17:40:14 User plasmashell[3543002]: could not map data of QVideoFrame for upload
Mar 17 17:40:14 User plasmashell[3543002]: Invalid texture upload for 0x76617c25f970 layer=0 mip=0
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: Error transferring the data to system memory: -5
Mar 17 17:40:14 User plasmashell[3543002]: [AVHWFramesContext @ 0x7662a0047100] Failed to sync surface 0x17: 13 (the requested VAEntryPoint is not supported).
Mar 17 17:40:14 User plasmashell[3543002]: could not map data of QVideoFrame for upload
Mar 17 17:40:14 User plasmashell[3543002]: Invalid texture upload for 0x76617ca84e30 layer=0 mip=0
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: Invalid texture upload for 0x76617ca84e30 layer=0 mip=0
Mar 17 17:40:14 User plasmashell[3543002]: Invalid texture upload for 0x76617c7b8a40 layer=0 mip=0
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: Error transferring the data to system memory: -5
Mar 17 17:40:14 User plasmashell[3543002]: [AVHWFramesContext @ 0x7662a0047100] Failed to sync surface 0x18: 13 (the requested VAEntryPoint is not supported).
Mar 17 17:40:14 User plasmashell[3543002]: could not map data of QVideoFrame for upload
Mar 17 17:40:14 User plasmashell[3543002]: Invalid texture upload for 0x76617c7b8a40 layer=0 mip=0
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: Invalid texture upload for 0x76617c7c1f40 layer=0 mip=0
Mar 17 17:40:14 User plasmashell[3543002]: Invalid texture upload for 0x76617c5c9430 layer=0 mip=0
Mar 17 17:40:14 User plasmashell[3543002]: corrupted size vs. prev_size
Mar 17 17:40:14 User plasmashell[3543002]: vaExportSurfaceHandle failed
Mar 17 17:40:14 User plasmashell[3543002]: KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
Mar 17 17:40:14 User systemd[1]: Started Process Core Dump (PID 3553048/UID 0).
Mar 17 17:40:14 User systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Mar 17 17:40:18 User systemd-coredump[3553049]: Process 3543002 (plasmashell) of user 1000 dumped core.
luisbocanegra commented 3 months ago

Hmm that looks like the problem is not with this wallpaper but some bug that could be anywhere from plasma up to gpu.

Do you get anything in the crash reporting tool? https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

I think you would need to report this but to plasma developers maybe there is a limitation somewhere and that's why video wallpapers aren't a thing in default plasma. And you are running into one of those limitations

linlinxza commented 3 months ago

I'll do that later. Now, I just want to relax. It's late for me.

linlinxza commented 3 months ago

Anyway, I tried a WMV file of all things. Plasmashell doesn't crash with that. Just that after the video is finished playing, it doesn't play again.

luisbocanegra commented 3 months ago

But in the other computer you tried it did loop, right?

Also I just found out opening and closing the wallpaper settings window multiple times increases the memory usage of plasma each time. And looks like there is a memory leak from something qt, an you reproduce this?

linlinxza commented 3 months ago

I didn't wait for it to loop on the other machine. I could try it.

linlinxza commented 3 months ago

I just tried it. Does the same thing. Plasmashell crashes on mom's crap AMD laptop when the goes to video loop. Seems like this is an issue with running this plugin on AMD graphics. Because the virtual machine doesn't have this issue when I run it.

You may have to get a cheap, used AMD laptop to test this. Because I am at a loss. lol

luisbocanegra commented 3 months ago

I can borrow one.

The leak seems qt related and they apparently fixed it but seems it either came back, wasn't really fixed. So I am considering removing the preview :( , tried many tricks to "destroy" the video element when the windows settings is closed to see it that could fix it but nothing works lol

linlinxza commented 3 months ago

I can borrow one.

The leak seems qt related and they apparently fixed it but seems it either came back, wasn't really fixed. So I am considering removing the preview :( , tried many tricks to "destroy" the video element when the windows settings is closed to see it that could fix it but nothing works lol

As long as I can get full screen video wallpapers again, I don't care if the preview goes missing. lol

Anyway, that's good that you can borrow an AMD system. Talk about fortune.

Rew20 commented 3 months ago

Hi there, I just tried everything and still black-screen but interesting this plugin https://github.com/catsout/wallpaper-engine-kde-plugin/pull/344 works but you have to install Steam Wallpaper-engine. But I am not going to install Steam on my Laptop. I'm really annoyed with Plasma 6 all my widgets and extensions are not working on it. I cant found anything awesome on Plasma6 what everyone reports. I decided to change on GNOME and it works great hanabi wallpaper extension works perfect and all good. I'm an absolute nob to compile a plugin so I will wait maybe a year until Plasma6 is usable because I'm on Arch and downgrade and not updating is not a good idea. Many thanks for your efforts!

luisbocanegra commented 3 months ago

Hi there, I just tried everything and still black-screen but interesting this plugin catsout/wallpaper-engine-kde-plugin#344 works but you have to install Steam Wallpaper-engine. But I am not going to install Steam on my Laptop. I'm really annoyed with Plasma 6 all my widgets and extensions are not working on it. I cant found anything awesome on Plasma6 what everyone reports. I decided to change on GNOME and it works great hanabi wallpaper extension works perfect and all good. I'm an absolute nob to compile a plugin so I will wait maybe a year until Plasma6 is usable because I'm on Arch and downgrade and not updating is not a good idea. Many thanks for your efforts!

Hi, thanks for trying it out. What gpu do you have?

luisbocanegra commented 3 months ago

@linlinxza I have pushed some changes to https://github.com/luisbocanegra/plasma-smart-video-wallpaper/tree/wip branch can you test if there's any improvement for your case?

If the crashes continue (most likely will) can you try changing the qt media backend:

create the file ~/.config/plasma-workspace/env/wayland.sh

#!/bin/bash
export QT_MEDIA_BACKEND="ffmpeg"

and reboot, if the problem persists, change ffmpeg to gstreamer and see if there is any change.

According to qt ffmpeg is the new default, but doesn't hurt trying them booth.

linlinxza commented 3 months ago

Seems like setting it to gstreamer fixed the problem. No more crashes (I assume). I have been using the same 30 second clip for about 5 minute so far. Been stable so far.

Maybe, since gstreamer is more native to the Linux desktop, it might be best to just set that in the plugin to use gstreamer somehow.

luisbocanegra commented 3 months ago

Seems like setting it to gstreamer fixed the problem. No more crashes (I assume). I have been using the same 30 second clip for about 5 minute so far. Been stable so far.

Nice!

Maybe, since gstreamer is more native to the Linux desktop

Yeah, I think is good for the Qt devs to focus in ffmpeg and have a single backend for every OS, but probably they changed the default maybe a bit too early 🙃

it might be best to just set that in the plugin to use gstreamer somehow.

I can add a note to the settings dialog and maybe a button that sets the environment variable automatically.

linlinxza commented 3 months ago

I can add a note to the settings dialog and maybe a button that sets the environment variable automatically.

That's a good idea. Well, I'm going to enjoy my animated wallpapers again. Thanks for making a port of the plugin. If there's any further issues that are huge, I'll be sure to report.

luisbocanegra commented 3 months ago

You're welcome!

If there's any further issues that are huge, I'll be sure to report.

Please do! Also, if you have any ideas for cool features this plugin may be missing let me know and I will try to add them.

Rew20 commented 3 months ago

Hallo, Good news I just tested on Arch in QEMU KVM and works perfect! Now start testing on Open Suse Tumbleweed had small install issue but Open Suse is a little bit tricky. My GPU is AMD Radeon Vega 3 Many Thanks for your perfect job.

luisbocanegra commented 3 months ago

Hallo, Good news I just tested on Arch in QEMU KVM and works perfect! Now start testing on Open Suse Tumbleweed had small install issue but Open Suse is a little bit tricky. My GPU is AMD Radeon Vega 3 Many Thanks for your perfect job.

Thank you, it seems the black screen & crashes may be specific to AMD (at least for the ffmpeg backend). Let me know if setting the export QT_MEDIA_BACKEND="gstreamer" environment variable works for you in case you test it on bare metal.

Rew20 commented 3 months ago

Hi, Just installed on bare metal and works perfect! I've all gstreamer and gst-ugl,bad packages installed and no issues now. I have a problem to install it on Open Suse Tumbleweed when I run ./install.sh always runs in ECM error in Arch is easy installed the extra-cmake-modules 6.0.0-1 and the script runs but in Suse the only available package I can found is ecm 5.103.0 version I think this is the reason. Maybe you can help me because you're more professional then I. Thx a lot.