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

Unable to satisfy dependencies on Steam Deck #177

Open
Crono141 opened this issue May 21, 2022 · 6 comments
Open

Unable to satisfy dependencies on Steam Deck #177

Crono141 opened this issue May 21, 2022 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@Crono141
Copy link

Describe the bug

The Wallpaper Engine for KDE plugin is available in the KDE plugins store on the steam deck. It downloads and installs just fine. However, when you try to change the background to use the plugin, we are met with this message:

"Please make sure qtwebsockets (qml module) installed, and open this again"

This dependency is not available in the discover app on steam deck, and the system filesystem is RO. The dependency could be installed by changing the filesystem to RW and installing through pacman, but these changes do not survive a steam deck system update.

Workshop link

N/A

System Information
Operating System: SteamOS 3.2
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-valve14-1-neptune-02195-g5b0f749d00fa (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Custom APU 0405
Memory: 14.5 GiB of RAM
Graphics Processor: AMD Custom GPU 0405

  • Installation Source: KDE Plugins

Additional context

Not sure if this is even a problem you'll be able to work around or not, but wanted to give you a heads up as it appears no one else has an open report for this issue yet.

@catsout catsout added help wanted Extra attention is needed wontfix This will not be worked on and removed wontfix This will not be worked on labels May 24, 2022
@Crono141
Copy link
Author

Follow up comment. It looks like there's a flatpack installed on Deck QtWebKit BaseApp. Does this package contain the qtwebsockets module? If so, then perhaps the only change needed is to have the plugin look in the flatpak area as well as the usual system folders.

If not, please ignore.

@Crono141
Copy link
Author

Crono141 commented Jun 13, 2022

Today I decided to work around the rootfs reset on update issue by writing a script to basically reinstall all the dependencies for this plugin (along with a few other things like OpenVPN support). I got all the dependencies installed, but when I went to build the plugin, I'm now getting an error:

Could NOT find X11 (missing: X11_X11_INCLUDE_PATH).

I've installed several packages from pacman to try and resolve this but I'm not having any luck at all. Obviously X11 is installed, but cmake can't find it.

EDIT: I actually have a number of paths not found. See attached
CMakeCache.txt

EDIT Again: It seems lots/most of my not found paths are to packages which SteamOS has installed, but the files are not located in the places expected (Eg, usr/include/X11). I'm reinstalling them one by one and they are filling up the X11 include folder. I'll let you know what happens when I get to the end.

EDIT3: Well, I went through the entire list of "NOT FOUND"s in the CMakeCache.txt, and I still have the same problem. I've reduced the not-founds to a large handful. Note: these are all of the INCLUDE PATH types.

  • CMAKE_DLLTOOL
  • FREETYPE_LIBRARY_DEBUG (installed Freetype2 package, but this stays not found)
  • X11_X11_INCLUDE_PATH (this is the only one CMAKE complains about)
  • Xaccessstr (installed xorg-xdm, didn't clear this)
  • Xaw (Installed libxaw, still not found)
  • xkb (installed libxkbcommon, didn't clear this)
  • xrandr (instaled xord-xrandr, didn't clear this)
  • xxf86misc (no package in arch for the misc variant)
  • xcb_icccm (installed libxcb, didn't clear this)
  • xkbcommon (installed libxkbcommon, didn't clear this)

CMakeCache.txt

EDIT4: I commented out the find_package(KF5 etc) line to see if I could get it to build, but now I'm getting OPENGL_INCLUDE_DIR missing error, despite having Mesa and lib32-mesa installed. Steam deck is weird, man.

@poipoi300
Copy link

I went about as far as you, and failing at the CMAKE build process. Except I don't have the "Please make sure qtwebsockets (qml module) installed, and open this again" message anymore.

I honestly could not say which part fixed it, however I went back and reinstalled packages one by one with pacman, and some packages had not installed properly. I also installed the entirety of qt. As of now, mpv also refuses to install due to a gpg error.

The background plugin itself shows up fine, I can select wallpapers but the desktop will update to either white, black or black with some text.

@Crono141
Copy link
Author

Crono141 commented Aug 21, 2023

So I took another stab at this today in a roundabout way. I have another computer running arch, which I used to build the package and plugin lib, and then transferred to steamdeck. I had to correct the path for "cmake" in the makefile after the transfer but after that was was able to make install_pkg and sudo make install. The plugin installed fine, and I got no errors on the make install, but the plugin is reporting that the pluginlib is still missing. I am wondering if it needed to go into a different folder on steamdeck vs a normal arch install (which it was built on). Can you provide any help on alternate locations for the pluginlib and associated file?

@slynobody
Copy link

slynobody commented Oct 18, 2023

the plugin path seems to be like usual: /usr/lib/qt/qml/com/github/catsout/wallpaperEngineKde/
what seens to be needed is to install mpv first:
sudo pacman -S mpv python-websockets qt5-websockets --overwrite '*'
one could use the lib from another arch machine to install it to the path above to also make things work the version from discover does not support in the first place (i have a few video codecs in my install script for steamos updates, f.e. from the bad and ugly front helping some more too).

@chinalhx
Copy link

chinalhx commented Jun 9, 2024

the plugin path seems to be like usual: /usr/lib/qt/qml/com/github/catsout/wallpaperEngineKde/ what seens to be needed is to install mpv first: sudo pacman -S mpv python-websockets qt5-websockets --overwrite '*' one could use the lib from another arch machine to install it to the path above to also make things work the version from discover does not support in the first place (i have a few video codecs in my install script for steamos updates, f.e. from the bad and ugly front helping some more too).

So,how to install Plugin Lib(for scene,mpv) I’m linux noob,pls teach me:(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants