Anyone get fs-uae working?

I installed fs-uae and fs-uae-launcher but can’t get them working. When I run fs-uae-launcher I get the followinfg:

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

Any ideas?

Is there anyone willing to try to get this working?

Here is the complete output I get when I try to run it:

[LOGGING] Logging to /home/user/FS-UAE/Cache/Logs/fs-uae-launcher.log.txt
FS-UAE Launcher 3.0.5
['/nix/store/mdb0n6wf5psq4m2x84p9b0xavzfqgcla-fs-uae-launcher-3.0.5/bin/.fs-uae-launcher-wrapped']
uname_result(system='Linux', node='framework', release='5.15.4', version='#1-NixOS SMP Sun Nov 21 12:44:15 UTC 2021', machine='x86_64')
Traceback (most recent call last):
  File "/nix/store/mdb0n6wf5psq4m2x84p9b0xavzfqgcla-fs-uae-launcher-3.0.5/share/fs-uae-launcher/fsgs/archive.py", line 15, in <module>
    from lhafile import LhaFile
ModuleNotFoundError: No module named 'lhafile'
[ARCHIVE] LhaFile module import problem
[SETTINGS] No settings path specified
[SETTINGS] Using default /home/user/FS-UAE/Data/Settings.ini
[SETTINGS] File /home/user/FS-UAE/Data/Settings.ini does not exist
[I18N] Initialize_locale language =
[I18N] Locale is en_US
[I18N] Checking /nix/store/mdb0n6wf5psq4m2x84p9b0xavzfqgcla-fs-uae-launcher-3.0.5/bin/share/fs-uae-launcher/share-dir
[I18N] Checking /nix/store/mdb0n6wf5psq4m2x84p9b0xavzfqgcla-fs-uae-launcher-3.0.5/bin/../share/fs-uae-launcher/share-dir
[I18N] bindtextdomain fs-uae-launcher: /nix/store/mdb0n6wf5psq4m2x84p9b0xavzfqgcla-fs-uae-launcher-3.0.5/bin/../share/locale
[I18N] find translations for en_US in local directory /nix/store/mdb0n6wf5psq4m2x84p9b0xavzfqgcla-fs-uae-launcher-3.0.5/bin/../share/locale
[I18N] Path to mo file: None
[I18N] Translations object: <gettext.NullTranslations object at 0x7fbdf62615e0>
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

Any help would be greatly appreciated!

Try using only fs-uae and see how that goes. Unlike the launcher, fs-uae doesn’t use Qt. Nix packages which use Qt require some additional code which is currently missing in the fs-uae-launcher package.

Yes. That works. But I am wanting to get fs-uae-launcher working. What is required to get Qt running with fs-uae-launcher?

The package needs to be fixed as described here: NixOS - Nixpkgs 21.11 manual

you can log it there, or try and fix the derivation yourself if you want to do something good for the world.

I’d probably like to get my amiga enviroment working again on nixos :-)…

hang on, how did you ‘install this’? i’ve just tried it, and seem to work fine?

What? Is fs-uae-launcher working for you?

I installed by adding fsuae and fsuae-launcher to my home.nix.

i installed via nix-shell , and it was fine. It may be some other problem apparent within the derivation… nix-shell can have impurity… i’m sure if i do nix-shell --pure i’ll get failing results.

So I tried installing using nix-env -iA nixos.fsuae-launcher, but after the install, I still get the same error.

Is that what you meant by installing via nix-shell? If not, what did you mean?

Edit: Also tried nix-shell -p fsuae-launcher and that doesn’t work either.

please raise an issue for in on github, and i’ll take a look.

Where is the github?

OK. Done. https://github.com/NixOS/nixpkgs/issues/161716

1 Like