wheaney / decky-XRGaming

Decky plugin to support installing and configuring Breezy Desktop on-the-fly
https://github.com/wheaney/breezy-desktop
GNU General Public License v3.0
85 stars 1 forks source link

Error installing #23

Closed boludo00 closed 1 month ago

boludo00 commented 1 month ago

Hi there,

Upon selecting the XR Gaming plugin from the plugin options in the Decky UI I am presented with an error message: "There was an error during setup. Try restarting your Steam Deck."

The logs show the following:

[2024-08-30 14:03:44,404][ERROR]: Error running setup script: b'Created temp directory: /tmp/breezy-vulkan-BIKbjnDWJh\nExtracting to: /tmp/breezy-vulkan-BIKbjnDWJh/breezy_vulkan\nCleaning up the previous installation\nCopying the breezy_vulkan scripts to /home/deck/bin\nInstalling vkBasalt; copying binaries, configs, and shader files to /home/deck/.local and /home/deck/.config\nInstalling the Sombrero shaders and texture files to /home/deck/.config/reshade/{Shaders,Textures}\nCopying the verification script and manifest to /home/deck/.local/bin/breezy_vulkan\nInstalling xrealAirLinuxDriver\nBEGIN - xreal_driver_setup\nCreated temp directory: /tmp/xreal-air-1HE8dZMgYs\nExtracting to: /tmp/xreal-air-1HE8dZMgYs/driver_air_glasses\nCleaning up the previous installation\nCopying shared libraries to /home/deck/.local/share/xr_driver\nCopying driver binary and scripts to /home/deck/bin\nCopying the verification script and manifest to /home/deck/.local/bin/xr_driver\nSetting up the systemd service\nsystemd startup failed\n'
[2024-08-30 14:03:46,548][ERROR]: Error running setup script: b'Created temp directory: /tmp/breezy-vulkan-YoIPZJnUyr\nExtracting to: /tmp/breezy-vulkan-YoIPZJnUyr/breezy_vulkan\nCleaning up the previous installation\nCopying the breezy_vulkan scripts to /home/deck/bin\nInstalling vkBasalt; copying binaries, configs, and shader files to /home/deck/.local and /home/deck/.config\nInstalling the Sombrero shaders and texture files to /home/deck/.config/reshade/{Shaders,Textures}\nCopying the verification script and manifest to /home/deck/.local/bin/breezy_vulkan\nInstalling xrealAirLinuxDriver\nBEGIN - xreal_driver_setup\nCreated temp directory: /tmp/xreal-air-xSD6LvnAGI\nExtracting to: /tmp/xreal-air-xSD6LvnAGI/driver_air_glasses\nCleaning up the previous installation\nCopying shared libraries to /home/deck/.local/share/xr_driver\nCopying driver binary and scripts to /home/deck/bin\nCopying the verification script and manifest to /home/deck/.local/bin/xr_driver\nSetting up the systemd service\nsystemd startup failed\n'
[2024-08-30 14:03:48,547][ERROR]: Error running setup script: b'Created temp directory: /tmp/breezy-vulkan-AT8hTzkALX\nExtracting to: /tmp/breezy-vulkan-AT8hTzkALX/breezy_vulkan\nCleaning up the previous installation\nCopying the breezy_vulkan scripts to /home/deck/bin\nInstalling vkBasalt; copying binaries, configs, and shader files to /home/deck/.local and /home/deck/.config\nInstalling the Sombrero shaders and texture files to /home/deck/.config/reshade/{Shaders,Textures}\nCopying the verification script and manifest to /home/deck/.local/bin/breezy_vulkan\nInstalling xrealAirLinuxDriver\nBEGIN - xreal_driver_setup\nCreated temp directory: /tmp/xreal-air-DnLf3NsiNo\nExtracting to: /tmp/xreal-air-DnLf3NsiNo/driver_air_glasses\nCleaning up the previous installation\nCopying shared libraries to /home/deck/.local/share/xr_driver\nCopying driver binary and scripts to /home/deck/bin\nCopying the verification script and manifest to /home/deck/.local/bin/xr_driver\nSetting up the systemd service\nsystemd startup failed\n'
[2024-08-30 14:03:49,550][ERROR]: Could not find state file at /dev/shm/xr_driver_state
[2024-08-30 14:03:50,567][ERROR]: Could not find state file at /dev/shm/xr_driver_state
[2024-08-30 14:03:51,579][ERROR]: Could not find state file at /dev/shm/xr_driver_state
[2024-08-30 14:03:53,124][ERROR]: Could not find state file at /dev/shm/xr_driver_state
[2024-08-30 14:03:54,301][ERROR]: Could not find state file at /dev/shm/xr_driver_state
[2024-08-30 14:03:55,312][ERROR]: Could not find state file at /dev/shm/xr_driver_state
[2024-08-30 14:03:56,328][ERROR]: Could not find state file at /dev/shm/xr_driver_state

I see the following files got generated in my ~/bin:

Removing the ~/bin and reinstalling does nothing. I tried to look for any logs related to the systemd service but haven't had any luck.

wheaney commented 1 month ago

Please attach the driver log, it's located at ~/.xreal_driver_log

boludo00 commented 1 month ago

I don't have that log file in that location, idk why.

wheaney commented 1 month ago

Okay, then we'll need to look in journalctl. See what comes up with you do journalctl --grep xreal

boludo00 commented 1 month ago

Okay, will do.

Aug 30 12:57:54 steamdeck bash[237797]: /home/deck/bin/xrealAirLinuxDriver: error while loading shared libraries: libcrypto.so.3: cannot open shared object>
Aug 30 12:57:54 steamdeck systemd[1]: xreal-air-driver.service: Main process exited, code=exited, status=127/n/a
Aug 30 12:57:54 steamdeck systemd[1]: xreal-air-driver.service: Failed with result 'exit-code'.
Aug 30 12:57:54 steamdeck systemd[1]: xreal-air-driver.service: Scheduled restart job, restart counter is at 3.
wheaney commented 1 month ago

The only time I've seen this issue was when someone was running on a really old version of SteamOS (like over a year old). Can you see what version you're on?

boludo00 commented 1 month ago

Im on 3.4.2...

I don't remember the last time I updated honestly so yeah could be! Let me try doing a software update

wheaney commented 1 month ago

That'll probably resolve it, the other person was on 3.4.8 and updating fixed it for them.

boludo00 commented 1 month ago

ah, you're a legend. That fixed it for me. I guess I should have had automatic updates turned on for my deck. Thanks a bunch! Loving it so far.

wheaney commented 1 month ago

Glad to help!