BBC Micro / Acorn Electron Emu
-
@retrofan said in BBC Micro / Acorn Electron Emu:
My retropie image is 8 weeks old, latest version for sure.
I will try to update retropie and use tips from link that Folly posted...Well I had a look in what's the latest image.
Both rpi-imager and the downloads section of RetroPie give :- 4.7.1 from november 2020
I can't find any image of 8 weeks old.
I think that is why you are experiencing audio issues as in that time debian converted from alsa to pulseaudio.
What's the version number of your RetroPie_Setup ?
We are already on 4.7.15
-
@folly
I decided to wipe my sd card and start again, card imaged and updated via retropie-setup
installed b-em-allegro4 from script - no audio
Pulse folder not present in '/home/pi/.config/'
Installed desktop & rebooted
Pulse folder now present but 'XXXXXXXXXXXX-default-sink' had no entries - added 'alsa_output.platform-bcm2835_audio.digital-stereo' - rebooted
went to RetroPie-Setup Configuration / tools / audiosettings / mixer - changed from Master to HDMI
still no audio
loaded desktop and ran alsamixer from command - changed from Master to HDMI
rebooted and now the audio works???
At a guess b-em relies on the same audio settings as the desktop (runs with xinit) and it is a case of getting these settings in sync with the rest of retropie?I did try to install elkulator via script however from a default installation runcommand gives this output
Parameters: Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keeptty X.Org X Server 1.20.4 X Protocol Version 11, Revision 0 Build Operating System: Linux 5.10.17-v8+ aarch64 Raspbian Current Operating System: Linux retropie 5.10.17-v7+ #1421 SMP Thu May 27 13:59:01 BST 2021 armv7l Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=bb27b9fd-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0 Build Date: 19 April 2021 03:23:36PM xorg-server 2:1.20.4-1+rpt3+deb10u3 (https://www.debian.org/support) Current version of pixman: 0.36.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Mon Jul 12 10:45:34 2021 (==) Using system config directory "/usr/share/X11/xorg.conf.d" xrandr: Failed to get size of gamma for output default xrandr: cannot find mode 1920x1080 Set mode 1920x1080@60Hz on default Executing (via xinit): /opt/retropie/emulators/elkulator/elkulator-multiload.sh /home/pi/RetroPie/roms/electron/Arcadians_E.uef sed: can't read /opt/retropie/configs/electron/elk.cfg: No such file or directory Shutting down Allegro due to signal #11 xinit: connection to X server lost waiting for X server to shut down wm_set_cursor_visibility: hidden using XCreatePixmapCursor (II) Server terminated successfully (0). Closing log file.
-
About the sound, that is something good you found !!!
For the elkulator part.
I think this comes from the fact that there isn't yet an elk.cfg created in the first run.
That is why sed is giving an error.Try a second time, is the error still there ?
-
@folly
just tried again - still getting
'sed: can't read /opt/retropie/configs/electron/elk.cfg: No such file or directory
Shutting down Allegro due to signal #11
xinit: connection to X server lost'(if I manually copy and rename elk.cfg.bak to the config folder everything works)
-
Yes indeed, it seems to be an issue.
I am now on a OS on a pi4 and where I did't install elkulator.
I had the same issue as you.I pasted the elk.cfg into /opt/retropie/configs/electron.
Then it worked.I will have a look when I can.
-
After the install of elkulator I could see in the log that the elk.cfg wasn't copied.
With an other script I had the same issue which I fixed with removing the quotes around the paths.
I did the same here as we don't have to use it as we have no files and directories with "spaces".My test worked.
Can you test it too for me ?My commit :
https://github.com/FollyMaddy/RetroPie-Share/commit/23321be168ba9cab4cf87ab4a6e3f691fb8b31a7 -
@folly
no problem
uninstalled previous version & made sure there were no remnants (just the cfg that was manually copied - deleted)
reinstalled with new script & tested - games load :)
elk.cfg present in /opt/retropie/configs/electronTop Job! :D
-
Thanks for testing !
Really odd that only "double quotes" give these problems.
No idea why. -
You should try this part from @Lister-of-Smeg :
https://retropie.org.uk/forum/topic/29402/bbc-micro-acorn-electron-emu/152 -
I know the emulator is working properly on the raspbian desktop environment, I checked that yesterday.
I use latest Retropie version you mention, which I installed eight weeks ago for the b-em Pico version.
Tested this b-em allegro4 version on it (no updates / upgrade at all), the emulator worked, but no sound.
I allready have HDMI set in alsamixer, but it doesnt help in retropie.
@Lister-of-Smeg tested with fresh image and and confirmed in his message everything that happened to me yesterday.
Today I don't have much time for testing and honestly I don't know what to do next.
The Pico version under the same retropie image has sound. -
Fair enough.
Perhaps @Lister-of-Smeg can walk you through the solution.
Well we keep this problem in mind, perhaps we can find a nice automated solution.You could also make an image with desktop and install retropie on top of that so you can use both worlds.
If you want this and you have time we can do this in an other thread. -
@retrofan
no worries
when I was testing this morning I had assumed that you may not have the pixel desktop installed (retropie setup / configuration / tools / raspbian tools / Install pixel desktop) as the pulse audio folder only appeared after I had done this
Anyhoo
I suspect the issue is only temporary until retropie is updated, as it seems to be a bit of a mix of alsa/pulse at the moment
Perhaps it's not worth jumping through hoops today for something that may be fixed tomorrow? - I just do it for fun
but if you want to try again sometime i'm happy to help :D -
No pressure, really.
Actually, this issue could be easily solved, since @Lister-of-Smeg has a retropie image with fully working b-em allegro4 version and could share it with rest of us for testing, without roms and without violating any rules.
However, this is not possible, because forum forbids private messages, which I have never experienced in more than 20 years on Internet.
Fortunately, this is not a big problem, at the end of the day I will install this emulator on the desktop raspbian, put it in the startup sequence and that is it. -
@retrofan
longshot
are you known as RetroFanZ or retrofan2018 on another site which must remain nameless? -
No, that's not me, but I know there are other people under the same or similar nick names, on Retro forums.
btw, I use this nick in the Spanish forum related to ZX-UNO FPGA device.
But, tell me you're just kidding, when you say it's forbidden to mention some other forum name, here ? -
@retrofan
it's a rom torrent site so i'm sure it's against the rules to mention it here
shame really - a lot of stuff we use was developed/tested there
I remember eXo asking if members could test his initial scripts for eXoDos many years ago (nice guy) -
Hello everyone.
I have installed the bbc micro and electron emulator, but when I try to start it, I get a message on my TV that the image format is not supported. All other emulators work fine. What is going on? Allegro-4 starts in a small window when trying to set to fullscreen - video format not supported. (TV philips pus7101) -
@krinasam said in BBC Micro / Acorn Electron Emu:
Hello everyone.
I have installed the bbc micro and electron emulator, but when I try to start it, I get a message on my TV that the image format is not supported. All other emulators work fine. What is going on? Allegro-4 starts in a small window when trying to set to fullscreen - video format not supported. (TV philips pus7101)I had a look at your issue.
Looks like both emulators will force the resolution 800x600x75hz in full-screen mode.
I don't think we can change the full-screen display resolution of the emulators.If you can, you should try to connect your pi to a monitor and see if the emulators work.
If they work, you know that there isn't a problem with the emulators !Then the other causes could be that :
-
- the way you connected your pi to the TV is not good
or
- the way you connected your pi to the TV is not good
-
- your TV simply doesn't support that resolution (no solution I can think of, yet)
If it's the first one you can try to fiddle with the /boot/config.txt, forcing the connection into vga mode or something like that.
For this solution you should check the forum or the internet as I don't have much experience with these settings.You can check your current supported resolutions when you press a key when the
launching
screen comes up when you run a game.
Select the video-modes and you can see what modus your TV will currently support. -
-
@folly No matter what resolution I choose in the launch menu- My tv don't support video format. I connected rpi4 to monitor and everything works fine. Another question:
What to do, to make allegro4 run in full screen? Evertime i set fulscreen manually from menu.Thanks for your help.
-
@krinasam said in BBC Micro / Acorn Electron Emu:
@folly No matter what resolution I choose in the launch menu- My tv don't support video format.
Choosing a different video resolution in the launch menu will not change the resolution because the emulator will always use it's default resolution in fullscreen, which is 800x600@75hz !
I connected rpi4 to monitor and everything works fine.
That's nice to know.
Another question:
What to do, to make allegro4 run in full screen? Evertime i set fulscreen manually from menu.Well allegro4 has nothing to do with it, that is just the audio/video dependency for the emulator.
I have to look into it deeper.
But I think you can't store the fullscreen option in b-em.
I have to look into the history.Edit :
I had a deeper look ,because all this is a while back for me.With both
elkulator
andb-em(allegro4 version)
it's not possible to set the fullscreen option in the config file.
Both emulators are from the same source I think and both are quite old. Btw. : For b-em there is a newer version but this version doesn't work properly on the pi.
The function fullscreen has been implemented but never added in the config options so it can't boot in fullscreen at default.That is why I forked
elkulator
and changed the source code so it would start in fullscreen and exit with the escape key.With
b-em
we never came that far.
So basically, that is why it's not possible.If I am corect, my
b-em-pico-pi
module-script works better as it starts directly into fullscreen using sdl.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.