RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    fbset: command not found - No framebuffer device?

    Scheduled Pinned Locked Moved Help and Support
    x86mupen64plusframebufferfbset
    9 Posts 3 Posters 5.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vbsV
      vbs
      last edited by

      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 directory

      So it seems I don't have a framebuffer device at all. I am kinda stuck there, anything I can do?

      Thank you guys!

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        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 ?

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • vbsV
          vbs
          last edited by

          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 :)

          1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators
            last edited by

            I'll check in mupen launch code. Thanks for the feedback

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • C
              CoolCat
              last edited by

              it also happens with other emulations, like for example intellevision (btw, for me it starts as windowed mode in x86/ubuntu)
              Best wishes,

              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators
                last edited by

                Please can you post me the output of grep -a4 "(fbset)" /opt/retropie/supplementary/runcommand/runcommand.sh

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators
                  last edited by

                  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.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators
                    last edited by

                    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.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    1 Reply Last reply Reply Quote 0
                    • vbsV
                      vbs
                      last edited by

                      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!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      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.