fbset: command not found - No framebuffer device?
-
I am on x86 using Ubuntu 16.04 with latest Retropie.
Every now and then when starting something I get an error saying something like "runcommand.sh: Line 5xx: fbset: command not found". For example it happens when starting mupen64plus. The emulator still starts and seems to work but I guess it tried to configure the screen resolution of the framebuffer device which failed.
I went and installed fbset using apt. But then when starting fbset manually it says (same when starting mupen):
vbs@vbs-XS35:~$ fbset
open /dev/fb0: No such file or directorySo it seems I don't have a framebuffer device at all. I am kinda stuck there, anything I can do?
Thank you guys!
-
it shouldn't be trying to call that on X86/X11 - you can ignore it as it's harmless, but it shouldn't call it anymore.
Do you know which exact line ? Did you copy any configs from a previous install on a Raspberry Pi ?
-
Ahh ok, thanks! The message appears twice when starting mupen. Once on line 542 and once on 543.
No, I didn't copy from Raspberry but I sometimes tend to try stuff here and there so I cannot guarantee that I didn't cause it in the end. But I usually try to only touch stuff I think I understand :)
-
I'll check in mupen launch code. Thanks for the feedback
-
it also happens with other emulations, like for example intellevision (btw, for me it starts as windowed mode in x86/ubuntu)
Best wishes, -
Please can you post me the output of
grep -a4 "(fbset)" /opt/retropie/supplementary/runcommand/runcommand.sh
-
Aha - did you set the framebuffer res in the runcommand menu ? That won't work on X - it shouldn't show - but you should not use it as it won't do anything.
-
I have now disabled the framebuffer menus and made it ignore any previously saved configs for this (as it isn't relevant when running on X) - if you update the RetroPie setup script from the RetroPie-Setup gui it should update.
-
No problem:
vbs@vbs-XS35:~$ grep -a4 "(fbset)" /opt/retropie/supplementary/runcommand/runcommand.sh # get default fb_res (if not running on X) fb_orig="" if [[ -z "$DISPLAY" ]]; then fb_orig="$(fbset)" fb_orig="${fb_orig##*mode \"}" fb_orig="${fb_orig%%\"*}" fi
Well, I probably clicked that option in the runcommand menu "Select framebuffer Res" but I think I chose "320x240" which was the initially value anyway. But ok, that might be the reason! Thanks!
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.