Due to unusually high levels of website traffic you will be presenting with regular Cloudflare checks for the time being.

Issues with emulators for Linux

Struggling with Fuse or trying to find an emulator with a specific feature. Ask your questions here.
Post Reply
User avatar
Sweevo
Drutt
Posts: 7
Joined: Mon May 13, 2024 11:27 am

Issues with emulators for Linux

Post by Sweevo »

I am having a hard time finding a decent emulator for Linux. I started with Fuse but the main issue with that is it didn't do full screen. I then found Fuse SDL which does do full screen but messes up my desktop resolution after I exit. I tried FBZX but the cursor keys refuse to work which means as I mainly want to emulate a Spectrum 128 I cannot select menu items. I also tried ZEsarUX but his just crashes.

Can anyone recommend a Spectrum emulator for Linux that does fullscreen, doesn't mess with the desktop resolution and is fully working (i.e. keyboard fully works etc).
dfzx
Manic Miner
Posts: 704
Joined: Mon Nov 13, 2017 6:55 pm
Location: New Forest, UK
Contact:

Re: Issues with emulators for Linux

Post by dfzx »

Sweevo wrote: Mon May 13, 2024 11:43 am Can anyone recommend a Spectrum emulator for Linux that does fullscreen, doesn't mess with the desktop resolution and is fully working (i.e. keyboard fully works etc).
What Linux distro (and version) are you using? What version of Fuse have you tried?
Derek Fountain, author of the ZX Spectrum C Programmer's Getting Started Guide and various open source games, hardware and other projects, including an IF1 and ZX Microdrive emulator.
User avatar
PeterJ
Site Admin
Posts: 6947
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Issues with emulators for Linux

Post by PeterJ »

What distro are you using @Sweevo,

I tend to use Ubuntu or Mint and haven't experienced those issues. The author of ZEsarUX is here so may be able to help. @chernandezba.

It's probably a bit of overkill, but you can install RetroPie on Debian based distro. That includes quite a few Spectrum emulators.

https://retropie.org.uk/docs/Debian/
User avatar
Sweevo
Drutt
Posts: 7
Joined: Mon May 13, 2024 11:27 am

Re: Issues with emulators for Linux

Post by Sweevo »

I am using Linux Mint 21.3 Cinnamon.

fuse-emulator-sdl
1.6.0+dfsg1-2

fuse
2.9.9-5ubuntu3

fuse flatpak
net.sf.fuse_emulator 1.6.0

(only the sdl version of the above has a fullscreen option)

fbzx
4.8.0-1

ZEsarUX
Version X

I was under the impression RetroPie can only run games rather than give you the full OS experience of the Spectrum.
User avatar
PeterJ
Site Admin
Posts: 6947
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Issues with emulators for Linux

Post by PeterJ »

Sweevo wrote: Mon May 13, 2024 12:14 pm It was under the impression RetroPie can only run games rather than give you the full OS experience of the Spectrum.
It certainly is game focused, but you can run any of the emulators at full screen and program as normal.
SamC
Microbot
Posts: 183
Joined: Sun Sep 29, 2019 9:07 pm

Re: Issues with emulators for Linux

Post by SamC »

Did you try this one? https://www.retrovirtualmachine.org/download/

I personally prefer another enhanced (windows) emulator: https://www.ilnx.cz/lnxsp/
but it does not make perfectly some fine distinctions of several "tricky" software
in Linux Mint XFCE or MX Linux, running with WINE, it needs DOTNET and XNA libraries (in the installation package)
if there is a problem with an installation, this command will solve it:

Code: Select all

winetricks --force -q xna40
Last edited by SamC on Mon May 13, 2024 1:20 pm, edited 7 times in total.
dfzx
Manic Miner
Posts: 704
Joined: Mon Nov 13, 2017 6:55 pm
Location: New Forest, UK
Contact:

Re: Issues with emulators for Linux

Post by dfzx »

Sweevo wrote: Mon May 13, 2024 12:14 pm I am using Linux Mint 21.3 Cinnamon.
Are you using X or Wayland?

It's odd that an application like Fuse is disturbing your system's graphics settings. That really shouldn't be possible.
Derek Fountain, author of the ZX Spectrum C Programmer's Getting Started Guide and various open source games, hardware and other projects, including an IF1 and ZX Microdrive emulator.
Mcoder2
Drutt
Posts: 9
Joined: Tue Feb 27, 2024 11:42 am

Re: Issues with emulators for Linux

Post by Mcoder2 »

Sweevo wrote: Mon May 13, 2024 11:43 amI then found Fuse SDL which does do full screen but messes up my desktop resolution after I exit.
You can use a script that resets the desktop resolution to your needs using "xrandr".
Without options "xrandr" shows the possible resolutions. For example

Code: Select all

xrandr -s 800x600
sets the resolution to the mentioned value.

By the way: fuse in fullscreen mode doesn't mess up my resolution settings after exiting.
User avatar
lister_of_smeg
Microbot
Posts: 146
Joined: Thu Nov 16, 2017 1:44 pm

Re: Issues with emulators for Linux

Post by lister_of_smeg »

You also have Clock Signal and MAME which can do Speccy emulation.
jamesh
Dizzy
Posts: 90
Joined: Thu Jul 06, 2023 6:36 pm

Re: Issues with emulators for Linux

Post by jamesh »

Well, it may be an unpopular opinion, but I went down this road and I'd say a Speccy emulator and contemporary wide screens are inherently not compatible. Read is as "I keep my FUSE with TV3X filter in a window" :)

Speaking of the FUSE SDL, the trick is to use --sdl-fullscreen-mode and pick the one that matches your setup (can be easily automated if you switch your desktop resolution often for whatever reason). Or just restore preferred resolution with xrandr.
User avatar
Sweevo
Drutt
Posts: 7
Joined: Mon May 13, 2024 11:27 am

Re: Issues with emulators for Linux

Post by Sweevo »

jamesh wrote: Mon May 13, 2024 2:10 pm Well, it may be an unpopular opinion, but I went down this road and I'd say a Speccy emulator and contemporary wide screens are inherently not compatible. Read is as "I keep my FUSE with TV3X filter in a window" :)

Speaking of the FUSE SDL, the trick is to use --sdl-fullscreen-mode and pick the one that matches your setup (can be easily automated if you switch your desktop resolution often for whatever reason). Or just restore preferred resolution with xrandr.
Do you mean you can set the Fuse SDL fullscreen resolution to the same as the desktop resolution? If so, could you expand on how? I tried Google with "--sdl-fullscreen-mode" but it didn't have any useful results.

Edit:
@dfzx I am using X11

@SamC I only use software from the official repos. I don't download other files or add other sources to the repo list. So that emulator isn't available. It looks a bit overly flashy and complex for me anyway.
jamesh
Dizzy
Posts: 90
Joined: Thu Jul 06, 2023 6:36 pm

Re: Issues with emulators for Linux

Post by jamesh »

Sweevo wrote: Mon May 13, 2024 2:20 pm Do you mean you can set the Fuse SDL fullscreen resolution to the same as the desktop resolution? If so, could you expand on how? I tried Google with "--sdl-fullscreen-mode" but it didn't have any useful results.
man page usually helps. Long story short: use "--sdl-fullscreen-mode list" and pick the one that matches. Hope it helps.
C.Born
Manic Miner
Posts: 254
Joined: Sat Dec 09, 2017 4:09 pm

Re: Issues with emulators for Linux

Post by C.Born »

https://retrovirtualmachine.org/

tape and real realtime
User avatar
PeterJ
Site Admin
Posts: 6947
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Issues with emulators for Linux

Post by PeterJ »

I had forgotten RVM had a Linux port @C.Born. Good call!
User avatar
Sweevo
Drutt
Posts: 7
Joined: Mon May 13, 2024 11:27 am

Re: Issues with emulators for Linux

Post by Sweevo »

Yes but as previously stated it is not in the repositories of Linux Mint and I have a policy of not installing software from outside the Mint repos.
firelord
Manic Miner
Posts: 597
Joined: Wed Nov 03, 2021 10:57 am
Location: Greece - Thessaloniki

Re: Issues with emulators for Linux

Post by firelord »

Sweevo wrote: Mon May 13, 2024 5:52 pm Yes but as previously stated it is not in the repositories of Linux Mint and I have a policy of not installing software from outside the Mint repos.
RetroVirtualMachine exists as appimage also that runs everywhere (https://retrovirtualmachine.org/download/ download a ZIP file).

In general I'm not happy with linux emulators.
The emulators I use in linux mostly are : x123 (running from dosemu+SGD) and QAOP (running from a local server). They are not the best but they cover my main needs.
RetroVirtualMachine seemed to run well.
I don't know how good the new MAME are.
TheMartian
Microbot
Posts: 107
Joined: Wed Feb 03, 2021 5:18 am

Re: Issues with emulators for Linux

Post by TheMartian »

Hi,

I understand that an emulator for Linux that you have to compile yourself is out of the question, right? Or one that has no GUI.
firelord
Manic Miner
Posts: 597
Joined: Wed Nov 03, 2021 10:57 am
Location: Greece - Thessaloniki

Re: Issues with emulators for Linux

Post by firelord »

TheMartian wrote: Mon May 13, 2024 8:18 pm Hi,

I understand that an emulator for Linux that you have to compile yourself is out of the question, right? Or one that has no GUI.
Usually you do not need to compile- unless you have a specific reason.
Spoiler
(btw, if someone want to compile -instead of setting up a whole dev envoroment he could compile using conty.sh - it has one of the latest gcc . The catch is that you you might need to run it using conty.sh if you have an old system)
TheMartian
Microbot
Posts: 107
Joined: Wed Feb 03, 2021 5:18 am

Re: Issues with emulators for Linux

Post by TheMartian »

firelord wrote: Mon May 13, 2024 8:25 pm Usually you do not need to compile- unless you have a specific reason.
I meant, I wrote an emulator (here) but I am only providing binaries for Windows. But it's mainly for Linux (I almost only use it in Linux), it's got a nice self-detecting fullscreen mode, works nicely with joysticks etc, emulates very very precisely all official ZX Spectrum models, the Pentagon, and all the old Amstrad CPCs (these not so precisely), and it is quite solid (not changing your resolution, etc, as far as I've tested).

But.

It has no GUI, you mostly use it from command line parameters. And you'll have to compile.

I guess it's not what you're looking for, but I guess it was worth mentioning.
chernandezba
Microbot
Posts: 170
Joined: Tue Nov 28, 2017 7:39 am

Re: Issues with emulators for Linux

Post by chernandezba »

Thanks @PeterJ

What video driver are you using on ZEsarUX? SDL? X11? fbdev? Can you run it with --verbose 3 and tell me which messages are shown before it crashes going to full screen?

Cheers
User avatar
Sweevo
Drutt
Posts: 7
Joined: Mon May 13, 2024 11:27 am

Re: Issues with emulators for Linux

Post by Sweevo »

chernandezba wrote: Tue May 14, 2024 8:48 am Thanks @PeterJ

What video driver are you using on ZEsarUX? SDL? X11? fbdev? Can you run it with --verbose 3 and tell me which messages are shown before it crashes going to full screen?

Cheers
I am using X11. It seems to get stuck in a loop from what I can tell so I haven't pasted the full output just the last few seconds of it. It actually seems to hang for a long time and the display is not properly fullscreen either and cut off. (I'll include a screenshot to show what I mean). Also, just like Fuse, my desktop resolution is then messed up when I return to the desktop.

Code: Select all

Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as the current size is the same as the new (1024 X 768)
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Redrawing window General Settings
^CInfo:     Sigint (CTRL+C) received
Info:     End emulator
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Debug:    Clearing layer menu
Info:     Clearing putpixel cache
Info:     Closing aofile. But already closed
Info:     Closing vofile. But already closed
Info:     Closing zx printer bitmap file. But already closed
Info:     Closing zx printer OCR file. But already closed
Debug:    Ending audiopulse thread
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Creating audiopulse pthread
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Info:     Ending pulse audio driver
Debug:    Ending audiopulse thread
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Debug:    Creating audiopulse pthread
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     Calling XResizeWindow on fullscreen
Info:     Using X11 Shared memory
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer
Debug:    Showing ZEsarUX footer message
Info:     Closing xwindows video driver
Info:     Resetting fullscreen
Info:     XWindows event ConfigureNotify width: 1024 height: 768
Info:     Clearing putpixel cache
Info:     Xwindows resize
Info:     width: 1024 get_window_width: 352 height: 768 get_window_height: 328
Info:     zoom_x: 2 zoom_y: 2 zoom_x_calculated: 2 zoom_y_calculated: 2
Debug:    Allocating memory for menu layers 1024 X 768
Debug:    Returning reallocate layers as there are no active menu
Info:     init_footer
Debug:    Clearing Footer


 ZEsarUX kernel panic: Segmentation fault 
PC=0038 SP=ff48 AF=005c BC=ffff HL=5cb6 DE=5cb9 IX=ffff IY=5c3a AF'=0044 BC'=174b HL'=107f DE'=0006 I=3f R=46  F=-Z-H3P-- F'=-Z---P-- MEMPTR=5c52 IM1 IFF-- VPS: 0 MMU=00000000000000000000000000000000
./zesarux(+0xbe788)[0x5c9bbead7788]
./zesarux(+0xbebe0)[0x5c9bbead7be0]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7c8d58e42520]
./zesarux(+0x5b4b4)[0x5c9bbea744b4]
./zesarux(+0x10cfb2)[0x5c9bbeb25fb2]
./zesarux(+0x10da25)[0x5c9bbeb26a25]
./zesarux(+0x5d454)[0x5c9bbea76454]
./zesarux(+0x1b957d)[0x5c9bbebd257d]
./zesarux(+0x13198e)[0x5c9bbeb4a98e]
./zesarux(+0x19b7b0)[0x5c9bbebb47b0]
./zesarux(+0x1a50a6)[0x5c9bbebbe0a6]
./zesarux(+0x179e4a)[0x5c9bbeb92e4a]
./zesarux(+0x12e4fd)[0x5c9bbeb474fd]
./zesarux(+0x1351ff)[0x5c9bbeb4e1ff]
./zesarux(+0x55b35)[0x5c9bbea6eb35]
./zesarux(+0x55b4f)[0x5c9bbea6eb4f]
/lib/x86_64-linux-gnu/libc.so.6(+0x94ac3)[0x7c8d58e94ac3]
/lib/x86_64-linux-gnu/libc.so.6(+0x126850)[0x7c8d58f26850]
Segmentation fault (core dumped)
Screenshot - https://ibb.co/rf1gRdn

Image
chernandezba
Microbot
Posts: 170
Joined: Tue Nov 28, 2017 7:39 am

Re: Issues with emulators for Linux

Post by chernandezba »

Thanks for the tests.
I'd need a compilation with debug options enabled so I could see exactly which functions are those related to the last segmentation fault trace.
But seems to be something related with the footer; could you try starting ZEsarUX with footer disabled? Using setting: --disablefooter
User avatar
Sweevo
Drutt
Posts: 7
Joined: Mon May 13, 2024 11:27 am

Re: Issues with emulators for Linux

Post by Sweevo »

With --disablefooter it starts correctly in fullscreen. However, it still messes up my desktop after I exit. My native desktop is 2560x1440 but after exiting ZEsarUX it is set to 1280x720. Also there seems to be a slight audio delay compared to Fuse. I noticed this in 128K mode when switching menu option. I didn't notice this issue in Fuse. Also the audio quality isn't great either. Comparing audio in Booty with ZEsarUX and Fuse and ZEsarUX is noticeably worse.

Also, is it possible to use screen filters/shaders with ZEsarUX?

To be honest, I have now resolved the fullscreen issue in Fuse and I prefer the UI of it. The only thing is even with fullscreen it only does 4x scaling rather than fit the full height of the monitor. However, ZEsarUX does the same in fullscreen so I assume it is some limitation of Spectrum emulation.

For anyone else interested in Fuse fullscreen, the solution was to run Fuse from the command line with the command "fuse --sdl-fullscreen-mode list". This will list the available fullscreen resolutions (these will be numbered 1,2,3......). In my case the first one was my desktop resolution so I now always run Fuse with the command "fuse --sdl-fullscreen-mode 1". This doesn't give full height full screen. It will be a 4x scaled image centred in the screen with black borders all around it. On my 27" monitor this gives the equivalent of about a 14 inch 4:3 display which is what I was probably using with my Spectrum back in the day so I can live with that.
TheMartian
Microbot
Posts: 107
Joined: Wed Feb 03, 2021 5:18 am

Re: Issues with emulators for Linux

Post by TheMartian »

jamesh wrote: Mon May 13, 2024 2:10 pm Well, it may be an unpopular opinion, but I went down this road and I'd say a Speccy emulator and contemporary wide screens are inherently not compatible. Read is as "I keep my FUSE with TV3X filter in a window" :)
But the problem happens because people (or emulator authors) don't scale the pixels, and assume that they are square. Using a texture and adjusting the aspect ratio is the key:

Image

(No disrespect to other emulators!)
hikoki
Manic Miner
Posts: 589
Joined: Thu Nov 16, 2017 10:54 am

Re: Issues with emulators for Linux

Post by hikoki »

Emuzwin does full screen on Linux under wine if I remember well
Post Reply