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

RetroDeck can't find SD Card #15

Closed
bmfrosty opened this issue Jun 2, 2022 · 16 comments
Closed

RetroDeck can't find SD Card #15

bmfrosty opened this issue Jun 2, 2022 · 16 comments
Labels
Bug 🕷️ Something isn't working Fixed - Cooker 🍝 This is fixed in the cooker (test) branch of the project but some test may be needed
Milestone

Comments

@bmfrosty
Copy link

bmfrosty commented Jun 2, 2022

Got my steam deck on Wednesday running 3.2.

Retrodeck says it can't find the sd card.

I formatted the sd card in the deck gui.

Mount point appears to be /run/media/mmcblk0p1 - which looks correct here - https://github.com/XargonWan/RetroDECK/blob/main/retrodeck.sh#L7

I'm happy to help troubleshoot.

Exact Error is:

SD Card is not readable.
Please check if it's inserted or mounted correctly and run RetroDECK again.

I've checked and I can move games on or off of the card in steam and I can get there in bash. In Dolphin (the file browser, not the emulator), it is labeled as Primary.

@SarahCeleste17
Copy link

SarahCeleste17 commented Jun 2, 2022

Steam_compat_mount=/your sd location/ %command%

In launch parameters

@bmfrosty
Copy link
Author

bmfrosty commented Jun 2, 2022

When running it as a flatpak from the desktop with a doubleclick?

Where does retrodeck expect the sd card to be mounted?

@bmfrosty
Copy link
Author

bmfrosty commented Jun 2, 2022

Steam_compat_mount=/your sd location/ %command%

In launch parameters

I tried:

Steam_compat_mount=/run/media/mmcblk0p1 flatpak run net.retrodeck.retrodeck

And got the same gui error.
I tried both with and without the trailing slash.

Error when running from command line:

/app/bin/retrodeck.sh line 163: [: is_mounted: unary operator expected

Personally, I'm not seeing issues in the script, but I haven't put in a ton of time yet.
I also get a:

Failed to load module "canberra-gtk-module"

But that seems less related.

EDIT: Please ignore my typos if there are any.

@XargonWan
Copy link
Owner

XargonWan commented Jun 3, 2022

Have you tried only on gaming mode or even in desktop mode?
If so: can you please try it from desktop mode?

For triggering the installer again you can run it like this:
flatpak run net.retrodeck.retrodeck --reset

If this doesn't work you can delete completely the two RetroDECK folders:

rm -rf ~/.var/app/net.retrodeck.retrodeck
rm-rf ~/retrodeck

Be aware that your roms folder, saves and scraped data will be ereased with this, so you may want to backup it first.

If even in desktop mode it's not working you can temporarily choose Internal and then link your roms folder in your sdcard into <sdcard>/retrodeck/roms

@XargonWan XargonWan added the Bug 🕷️ Something isn't working label Jun 3, 2022
@bmfrosty
Copy link
Author

bmfrosty commented Jun 3, 2022

I haven't gotten it to launch, so no roms folder or saves to worry about:

Here's a bunch of output:

(1)(deck@steamdeck Downloads)$ flatpak install RetroDECK.flatpak

net.retrodeck.retrodeck permissions:
    ipc             network               fallback-x11          pulseaudio      wayland      x11      devices      bluetooth
    multiarch       file access [1]       dbus access [2]

    [1] /media, /run/media, xdg-config/kdeglobals:ro, xdg-run/app/com.discordapp.Discord:create, ~/retrodeck:create
    [2] com.canonical.AppMenu.Registrar, org.freedesktop.PowerManagement.Inhibit, org.freedesktop.ScreenSaver, org.freedesktop.login1,
        org.kde.KGlobalSettings, org.kde.kconfig.notify


        ID                                Branch           Op           Remote                     Download
        ID                                Branch           Op           Remote                     Download
 1. [✓] net.retrodeck.retrodeck           master           i            retrodeck-origin           0 bytes

Installation complete.
(deck@steamdeck Downloads)$ flatpak run net.retrodeck.retrodeck --reset

Lockfile not found
Executing finit
Gtk-Message: 07:20:54.879: Failed to load module "canberra-gtk-module"

** (zenity:5): WARNING **: 07:20:55.101: AT-SPI: Could not obtain desktop path or name


** (zenity:5): WARNING **: 07:20:55.117: AT-SPI: Could not obtain desktop path or name


** (zenity:5): WARNING **: 07:20:55.117: atk-bridge: get_device_events_reply: unknown signature

** (zenity:5): WARNING **: 07:20:55.117: atk-bridge: get_device_events_reply: unknown signature

** (zenity:5): WARNING **: 07:20:55.117: atk-bridge: GetRegisteredEvents returned message with unknown signature

** (zenity:5): WARNING **: 07:20:55.130: AT-SPI: Could not obtain desktop path or name


** (zenity:5): WARNING **: 07:20:55.131: atk-bridge: get_device_events_reply: unknown signature

** (zenity:5): WARNING **: 07:20:55.131: atk-bridge: get_device_events_reply: unknown signature

** (zenity:5): WARNING **: 07:20:55.131: atk-bridge: GetRegisteredEvents returned message with unknown signature
/app/bin/retrodeck.sh: line 163: [: is_mounted: unary operator expected
Gtk-Message: 07:21:01.091: Failed to load module "canberra-gtk-module"

** (zenity:11): WARNING **: 07:21:01.228: AT-SPI: Could not obtain desktop path or name


** (zenity:11): WARNING **: 07:21:01.242: AT-SPI: Could not obtain desktop path or name


** (zenity:11): WARNING **: 07:21:01.242: atk-bridge: get_device_events_reply: unknown signature

** (zenity:11): WARNING **: 07:21:01.242: atk-bridge: get_device_events_reply: unknown signature

** (zenity:11): WARNING **: 07:21:01.242: atk-bridge: GetRegisteredEvents returned message with unknown signature

** (zenity:11): WARNING **: 07:21:01.256: AT-SPI: Could not obtain desktop path or name


** (zenity:11): WARNING **: 07:21:01.256: atk-bridge: get_device_events_reply: unknown signature

** (zenity:11): WARNING **: 07:21:01.256: atk-bridge: get_device_events_reply: unknown signature

** (zenity:11): WARNING **: 07:21:01.256: atk-bridge: GetRegisteredEvents returned message with unknown signature
(deck@steamdeck Downloads)$ rm -rf ~/.var/app/net.retrodeck.retrodeck
rm-rf ~/retrodeck
bash: rm-rf: command not found
(127)(deck@steamdeck Downloads)$ rm -rf ~/retrodeck
(deck@steamdeck Downloads)$ rm -rf ~/.var/app/net.retrodeck.retrodeck
(deck@steamdeck Downloads)$ flatpak run net.retrodeck.retrodeck --reset
Lockfile not found
Executing finit
Gtk-Message: 07:24:05.970: Failed to load module "canberra-gtk-module"

** (zenity:5): WARNING **: 07:24:06.517: AT-SPI: Could not obtain desktop path or name


** (zenity:5): WARNING **: 07:24:06.531: AT-SPI: Could not obtain desktop path or name


** (zenity:5): WARNING **: 07:24:06.532: atk-bridge: get_device_events_reply: unknown signature

** (zenity:5): WARNING **: 07:24:06.532: atk-bridge: get_device_events_reply: unknown signature

** (zenity:5): WARNING **: 07:24:06.532: atk-bridge: GetRegisteredEvents returned message with unknown signature

** (zenity:5): WARNING **: 07:24:06.546: AT-SPI: Could not obtain desktop path or name


** (zenity:5): WARNING **: 07:24:06.546: atk-bridge: get_device_events_reply: unknown signature

** (zenity:5): WARNING **: 07:24:06.546: atk-bridge: get_device_events_reply: unknown signature

** (zenity:5): WARNING **: 07:24:06.546: atk-bridge: GetRegisteredEvents returned message with unknown signature
/app/bin/retrodeck.sh: line 163: [: is_mounted: unary operator expected
Gtk-Message: 07:24:09.216: Failed to load module "canberra-gtk-module"

** (zenity:11): WARNING **: 07:24:09.357: AT-SPI: Could not obtain desktop path or name


** (zenity:11): WARNING **: 07:24:09.372: AT-SPI: Could not obtain desktop path or name


** (zenity:11): WARNING **: 07:24:09.372: atk-bridge: get_device_events_reply: unknown signature

** (zenity:11): WARNING **: 07:24:09.372: atk-bridge: get_device_events_reply: unknown signature

** (zenity:11): WARNING **: 07:24:09.372: atk-bridge: GetRegisteredEvents returned message with unknown signature

** (zenity:11): WARNING **: 07:24:09.387: AT-SPI: Could not obtain desktop path or name


** (zenity:11): WARNING **: 07:24:09.388: atk-bridge: get_device_events_reply: unknown signature

** (zenity:11): WARNING **: 07:24:09.388: atk-bridge: get_device_events_reply: unknown signature

** (zenity:11): WARNING **: 07:24:09.388: atk-bridge: GetRegisteredEvents returned message with unknown signature
(deck@steamdeck Downloads)$ 

@bmfrosty
Copy link
Author

bmfrosty commented Jun 3, 2022

And to answer your first question, I've launched it from the desktop, from he command line, from steam in the desktop, and from steam in gaming mode.

Tell me if you need screenshots of dialog boxes. There's one that asks me internal or sd card, and one that gives me the error.

@monogoat
Copy link

monogoat commented Jun 3, 2022

Having same problem, it seems like the script to check the SD Card is failing. Card is accessible via bash, gui, and Game mode.

I removed the "is_mounted" check from the setup script and it works as it should, creating the folders. It is not seeing the roms I have placed in the folder though, trying to figure out if it is related or a different issue.

Edit - Everything seems correct, files are in the right folder of the sd card and I tried moving them out of subfolders as well, and still no games show up when launched.

@XargonWan
Copy link
Owner

Thanks for your feedbacks, I will fix it soon.

Meanwhile please use internal and manually symlink the roms folder elsewhere.

@SarahCeleste17
Copy link

Thanks for your feedbacks, I will fix it soon.

Meanwhile please use internal and manually symlink the roms folder elsewhere.

I really think you should add this somewhere.....

Steam_compat_mount=/your sd/ %command%

@monogoat
Copy link

monogoat commented Jun 4, 2022

Thanks for your feedbacks, I will fix it soon.
Meanwhile please use internal and manually symlink the roms folder elsewhere.

I really think you should add this somewhere.....

Steam_compat_mount=/your sd/ %command%

Still behaves the same for me with or without that added to the run command

@XargonWan
Copy link
Owner

Thanks for your feedbacks, I will fix it soon.
Meanwhile please use internal and manually symlink the roms folder elsewhere.

I really think you should add this somewhere.....

Steam_compat_mount=/your sd/ %command%

I believe that this is just for mounting the drives in Proton, but RetroDECK doesn't use it.

@XargonWan XargonWan added the Fixed - Cooker 🍝 This is fixed in the cooker (test) branch of the project but some test may be needed label Jun 9, 2022
@XargonWan
Copy link
Owner

Should be fixed in cooker, I have to test it yet.
However the move roms tool will be broken until I will merge the branch cooker-new-variables

@bmfrosty
Copy link
Author

bmfrosty commented Jun 9, 2022

Happy to do some testing once there's a flatpak build.

@XargonWan XargonWan added this to the 0.4.1 milestone Jun 10, 2022
@XargonWan
Copy link
Owner

Fixed in the 0.4.1b, if I don´t have any counter feedbacks I will close this issue in a few days.

@bmfrosty
Copy link
Author

bmfrosty commented Jun 12, 2022 via email

@XargonWan
Copy link
Owner

Good, closing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🕷️ Something isn't working Fixed - Cooker 🍝 This is fixed in the cooker (test) branch of the project but some test may be needed
Projects
None yet
Development

No branches or pull requests

4 participants