XBEEB for BBC
-
Re: Acorn BBC Micro Emulator (current?)
hoping you can help me sort this issue
I had an image I cherished and built from a base, and had the xbeeb (folly extra) installed and working on ES
went to back up my card overnight and windows did and update and shut down card never finished and never loaded on pi after thatANYWAYS .. I got restarted best I could, but XBEEB loads 10 sec and boots back to ES on this card, not sure why it's doing this?
If you could help it would mean a lot
any solution please let me know
here is the error log I get........"Parameters:
Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keepttyX.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.15.0-48-generic armv8l Raspbian
Current Operating System: Linux retropie 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l
Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M video=HDMI-A-1:1280x720M@60,margin_left=0,margin_right=0,margin_top=0,margin_bottom=0 smsc95xx.macaddr=DC:A6:32:97:96:1E vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty3 root=PARTUUID=e22bcd10-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0
Build Date: 05 June 2019 12:49:54PM
xorg-server 2:1.20.4-1+rpt1 (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: Thu Nov 17 23:04:31 2022
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
Set mode 1280x720@60Hz on HDMI-1Executing (via xinit): /opt/retropie/emulators/b-em-pico-pi/xbeeb.sh /home/pi/RetroPie/roms/bbcmicro/Pacman (Europe).ssd
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" -
So with backing-up windows screwed up your good working image.
That's really bad.Not sure but I hope I can help you.
I had a look at your log.
Seems like you use a PI4, correct ?
Btw. what image did you install on the SD, the regular 32bit RetroPie image ?It seems like
xinit
doesn't work.
If so then the xbeeb binary could be ok.
Was the install ok ?
Is there an xbeeb binary in /opt/retropie/emulators/b-em-pico_pi ? -
@Folly yes a regular pi4 image
in opt it is there as well
I do know other systems uses XNINT and runs so I am hoping I'm missing an issue the one in ports boots and stays without crashing only the one on ES, i assume it's the same? only xbeeb on ES loads game directly, bummed because it was working, I tried to uninstall it reinstall it no luck I checked the xorg log and it shows this, (maybe it can help) and..is there a way to update XNINT on retro pie itself?
I had a friend on his pi4 also try XBEEB, for him he only gets a boot back so mines doing better with loading showing start screen and showing the keyboard keys for game then doing nothing back it goes
not sure if this helps ... xorg log
[ 151.920] X.Org XInput driver : 24.1
[ 151.920] X.Org Server Extension : 10.0
[ 151.922] (EE) systemd-logind: TakeControl failed: Device or resource busy
[ 151.924] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 151.924] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied
[ 151.924] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 151.924] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 151.925] (II) no primary bus or device found
[ 151.925] (II) LoadModule: "glx"
[ 151.926] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 151.928] (II) Module glx: vendor="X.Org Foundation"
[ 151.928] compiled for 1.20.4, module version = 1.0.0
[ 151.928] ABI class: X.Org Server Extension, version 10.0
[ 151.928] (==) Matched modesetting as autoconfigured driver 0
[ 151.928] (==) Matched fbdev as autoconfigured driver 1
[ 151.928] (==) Assigned the driver to the xf86ConfigLayout
[ 151.928] (II) LoadModule: "modesetting"
[ 151.928] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 151.929] (II) Module modesetting: vendor="X.Org Foundation"
[ 151.929] compiled for 1.20.4, module version = 1.20.4
[ 151.929] Module class: X.Org Video Driver
[ 151.929] ABI class: X.Org Video Driver, version 24.0
[ 151.929] (II) LoadModule: "fbdev"
[ 151.929] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 151.929] (II) Module fbdev: vendor="X.Org Foundation"
[ 151.929] compiled for 1.20.3, module version = 0.5.0
[ 151.929] Module class: X.Org Video Driver
[ 151.929] ABI class: X.Org Video Driver, version 24.0
[ 151.929] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 151.929] (II) FBDEV: driver for framebuffer: fbdev
[ 151.929] (EE)
Fatal server error:
[ 151.929] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[ 151.929] (EE)
[ 151.929] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 151.929] (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.1.log" for additional information.
[ 151.929] (EE)
[ 151.930] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 151.930] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 151.930] (EE) Server terminated with error (1). Closing log file. -
Fatal server error:
[ 151.929] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)I did a search on that and found this page :
https://stackoverflow.com/questions/41299917/parse-vt-settings-dev-tty0-permission-deniedIt says when this error appears the user pi is not part of the tty group.
Not sure why this happens with this new image but it's worth a shot. -
@Folly ill take a look thank u , i been at such a loss...hoping i don't loose BBC Thank you kindly
-
I tried my script on my bullseye+desktop on my pi4 and the binary works.
So that looks promising. -
@Retrodade said in XBEEB for BBC:
@Folly ill take a look thank u , i been at such a loss...hoping i don't loose BBC Thank you kindly
I read also your other thread with the message"run mess.sh permission denied" .
Seems your image has a lot of permission-denied problems.
Fixing all this will take a huge amount of time and it's very difficult for other people to find exactly what is wrong.Therefor I am not sure if the solution I gave you will work for the xbeeb/xmaster.
If it doesn't I suggest you start all over again making a fresh image.Btw. the new-script modules thread is not really active anymore.
If it's only for lr-mess then I suggest you take our project here :
https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-lr-mame-and-mame-standalone
It's a replacement/update for Valerino's new-scriptmodules. -
@Folly
i got it working, seems i had to install the folly repo not download and addfrom github , guess it created a permission issue
i removed what i grabbed from github, and just installed it correctly lol and no issue again all is working fine
a friend helped me add qjoy in the line so i also have mapped controls to my arcade using buttons and joystick which is nice !
now if i can only get mess to stop freezing on initializing for RCA Studio 2 im starting to think its a no go lol -
@Retrodade said in XBEEB for BBC:
now if i can only get mess to stop freezing on initializing for RCA Studio 2 im starting to think its a no go lol
Do you mean driver "studio2" ?
If so, you need studio2.zip (from mame-merged) in the BIOS/mame folder.
Should contain :84932.ic11 512 CRC(283b7e65) SHA1(4b6d21cde59712ecb5941ff63d8eb161420b0aac) 84933.ic12 512 CRC(a396b77c) SHA1(023517f67af61790e6916b6c4dbe2d9dc07ae3ff) 85456.ic13 512 CRC(d25cf97f) SHA1(d489f41f1125c76cc8ed9defa82a877ae014ef21) 85457.ic14 512 CRC(74aa724f) SHA1(085832f29e0d2a387c75463d66c54fb6c1e9e72c)
And you need to extract the studio2.zip (from mame-sl) to the roms/studio2 folder.
This contains files like : asteroid.zip, baseball.zip, etc...
Once a file is loaded press F3, so the game will begin. -
@Retrodade said in XBEEB for BBC:
a friend helped me add qjoy in the line so i also have mapped controls to my arcade using buttons and joystick which is nice !
Can you somehow post what your friend and you have done.
Could be of interest here. -
@Folly absolutely
1 install qjoypad to pixel desktop
2 edit the .sh of the emulator (need permissions) file to also look at Qjoy
here is my edited .sh for xbeeb#!/bin/bash
xset -dpms s off s noblank
matchbox-window-manager -use_titlebar no -use_cursor no -kbdconfig /opt/retropie/emulators/b-em-pico-pi/matchbox_key_shortcuts & qjoypad "bbcmicro" &
/opt/retropie/emulators/b-em-pico-pi/xbeeb -disc "$1"|xdotool sleep 1 keydown Shift_L+F12 sleep 0.1 keyup Shift_L+Then go to pixel open Qjoy add a joy mapping called bbcmicro set your mapping you prefer/need
and savethat is it
adding Qjoy works on standalone that uses matchbox
then your controller and or joystick/buttons work on arcade instead of using a keyboard -
@Folly ahhh extract it ...thanks that is what I needed
Thank you
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.