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

    Fofix problems

    Scheduled Pinned Locked Moved Help and Support
    fofixxinit
    22 Posts 6 Posters 5.7k 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.
    • F
      Febbweiss
      last edited by

      Hi folks,

      I just installed Fofix but it doesn't work.
      If I check the /dev/shm/runcommand.log file, I have the following content :

      Parameters: 0 PORT fofix
      Executing: LD_LIBRARY_PATH=/opt/retropie/supplementary/glshim LIBGL_FB=1 xinit fofix

      X.Org X Server 1.18.4
      Release Date: 2016-07-19
      X Protocol Version 11, Revision 0
      Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
      Current Operating System: Linux retropie 4.4.26-v7+ #915 SMP Thu Oct 20 17:08:44 BST >2016 armv7l
      Kernel command line: 8250.nr_uarts=0 dma.dmachans=0x7f35 >bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa02082 >bcm2709.serial=0x96d02234 smsc95xx.macaddr=B8:27:EB:D0:22:34 >bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet loglevel=3 consoleblank=0 usbhid.quirks=0x16c0:0x05e1:0x040 plymouth.enable=0
      Build Date: 11 November 2016 11:59:59AM
      xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
      Current version of pixman: 0.33.3
      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: "/var/log/Xorg.0.log", Time: Sat Feb 18 20:32:47 2017
      (==) Using system config directory "/usr/share/X11/xorg.conf.d"
      modprobe: FATAL: Module g2d_23 not found.
      The XKEYBOARD keymap compiler (xkbcomp) reports:
      Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
      Ignoring extra symbols
      Errors from xkbcomp are not fatal to the X server
      xterm: No absolute path found for shell: fofix
      xinit: connection to X server lost

      waiting for X server to shut down

      Someone has any idea ?

      Pi Model or other hardware: 3
      Power Supply used: 3A
      RetroPie Version Used : 4.1
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected: Xin-Mo dual - Mayflash Dolphinbar
      Controller used: Xin-Mo dual - Mayflash Dolphinbar
      Error messages received: see previous lines

      1 Reply Last reply Reply Quote 0
      • S
        shift
        last edited by

        Another error but the result si the same.

        Parameters:
        Executing: LD_LIBRARY_PATH=/opt/retropie/supplementary/glshim LIBGL_FB=1 xinit f
        ofix

        X.Org X Server 1.19.2
        Release Date: 2017-03-02
        X Protocol Version 11, Revision 0
        Build Operating System: Linux 4.9.41-v7+ armv7l Raspbian
        Current Operating System: Linux retropie 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:
        49 BST 2018 armv7l
        Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight
        =984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000
        dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=f2d3cb4f-02
        rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consolebl
        ank=0 plymouth.enable=0
        Build Date: 18 October 2017 04:55:30PM
        xorg-server 2:1.19.2-1+rpt1+deb9u2 (https://www.debian.org/support)
        Current version of pixman: 0.34.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: Fri May 25 08:39:0
        5 2018
        (==) Using system config directory "/usr/share/X11/xorg.conf.d"
        libEGL warning: DRI3: xcb_connect failed
        libEGL warning: DRI2: xcb_connect failed
        libEGL warning: DRI2: xcb_connect failed
        LIBGL: Error while gathering supported extension (eglInitialize: EGL_NOT_INITIAL
        IZED), default to none
        (EE)
        Fatal server error:
        (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
        (EE)
        (EE)
        Please consult the The X.Org Foundation support
        at http://wiki.x.org
        for help.
        (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" f
        or additional information.
        (EE)
        (EE) Server terminated with error (1). Closing log file.
        LIBGL: Initialising gl4es
        LIBGL: v1.0.7 built on May 18 2018 08:00:58
        LIBGL: framebuffer output enabled
        LIBGL: Using GLES 1.1 backend
        LIBGL:loaded: libbcm_host.so
        LIBGL:loaded: libvcos.so
        LIBGL:loaded: libGLESv1_CM.so.1
        LIBGL:loaded: libEGL.so.1
        LIBGL: Using GLES 1.1 backend
        LIBGL: Targeting OpenGL 1.5
        LIBGL: glXMakeCurrent FBO workaround enabled
        LIBGL: Current folder is:/home/pi
        xinit: giving up
        xinit: unable to connect to X server: Connection refused
        xinit: server error

        Pi Model or other hardware: 3 b
        Power Supply used: 2,5A
        RetroPie Version Used : 4.4
        Built From: Pre made SD Image on RetroPie website
        USB Devices connected: keyboard
        Controller used:
        Error messages received: see previous lines

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @shift
          last edited by mitu

          @shift said in Fofix problems:

          Fofix is not part of RetroPie Ports collection, so you probably use a 3rd party script. However, the error seems to be quite clear:

          (EE)
          Fatal server error:
          (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
          (EE)
          (EE)

          Do you have the xserver-xorg-legacy package installed ? Try removing it and re-try.

          1 Reply Last reply Reply Quote 0
          • S
            shift
            last edited by

            @mitu said in Fofix problems:

            xserver-xorg-legacy

            You were right, the package was not installed. Now, after doing so, the mistake became this:

            Parameters:
            Executing: LD_LIBRARY_PATH=/opt/retropie/supplementary/glshim LIBGL_FB=1 xinit fofix

            /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
            xinit: giving up
            xinit: unable to connect to X server: Connection refused
            xinit: server error

            Any idea? Thanks

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @shift
              last edited by mitu

              @shift said in Fofix problems:

              You were right, the package was not installed. Now

              I said to remove it, not to install it. Exit Emulationstation, then run the command line that gives you the error - does it work ?

              1 Reply Last reply Reply Quote 0
              • S
                shift
                last edited by

                I uninstalled the package.
                I'm exit from Emulationstation.
                I launched from the command line: LIBGL_FB=1 xinit fofix
                and I got this error :

                X.Org X Server 1.19.2
                Release Date: 2017-03-02
                X Protocol Version 11, Revision 0
                Build Operating System: Linux 4.9.41-v7+ armv7l Raspbian
                Current Operating System: Linux retropie 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l
                Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=f2d3cb4f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0
                Build Date: 18 October 2017 04:55:30PM
                xorg-server 2:1.19.2-1+rpt1+deb9u2 (https://www.debian.org/support)
                Current version of pixman: 0.34.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: Fri May 25 09:31:51 2018
                (==) Using system config directory "/usr/share/X11/xorg.conf.d"
                (EE)
                Fatal server error:
                (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
                (EE)
                (EE)
                Please consult the The X.Org Foundation support
                at http://wiki.x.org
                for help.
                (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" for additional information.
                (EE)
                (EE) Server terminated with error (1). Closing log file.
                xinit: giving up
                xinit: unable to connect to X server: Connection refused
                xinit: server error

                1 Reply Last reply Reply Quote 0
                • S
                  shift
                  last edited by

                  And if this is useful, this is the Xorg.0.log:

                  more Xorg.0.log
                  [ 651.452]
                  X.Org X Server 1.19.2
                  Release Date: 2017-03-02
                  [ 651.453] X Protocol Version 11, Revision 0
                  [ 651.453] Build Operating System: Linux 4.9.41-v7+ armv7l Raspbian
                  [ 651.453] Current Operating System: Linux retropie 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l
                  [ 651.454] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000
                  000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=f2d3cb4f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank
                  =0 plymouth.enable=0
                  [ 651.455] Build Date: 18 October 2017 04:55:30PM
                  [ 651.455] xorg-server 2:1.19.2-1+rpt1+deb9u2 (https://www.debian.org/support)
                  [ 651.455] Current version of pixman: 0.34.0
                  [ 651.456] Before reporting problems, check http://wiki.x.org
                  to make sure that you have the latest version.
                  [ 651.456] Markers: (--) probed, () from config file, (==) default setting,
                  (++) from command line, (!!) notice, (II) informational,
                  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                  [ 651.457] (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Fri May 25 09:22:17 2018
                  [ 651.458] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
                  [ 651.459] (==) No Layout section. Using the first Screen section.
                  [ 651.459] (==) No screen section available. Using defaults.
                  [ 651.459] (
                  ) |-->Screen "Default Screen Section" (0)
                  [ 651.459] (**) | |-->Monitor "<default monitor>"
                  [ 651.460] (==) No monitor specified for screen "Default Screen Section".
                  Using a default monitor configuration.
                  [ 651.460] (==) Automatically adding devices
                  [ 651.460] (==) Automatically enabling devices
                  [ 651.461] (==) Automatically adding GPU devices
                  [ 651.461] (==) Max clients allowed: 256, resource mask: 0x1fffff
                  [ 651.461] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
                  [ 651.461] Entry deleted from font path.
                  [ 651.461] (==) FontPath set to:
                  /usr/share/fonts/X11/misc,
                  /usr/share/fonts/X11/100dpi/:unscaled,
                  /usr/share/fonts/X11/75dpi/:unscaled,
                  /usr/share/fonts/X11/Type1,
                  /usr/share/fonts/X11/100dpi,
                  /usr/share/fonts/X11/75dpi,
                  built-ins
                  [ 651.461] (==) ModulePath set to "/usr/lib/xorg/modules"
                  [ 651.461] (II) The server relies on udev to provide the list of input devices.
                  If no devices become available, reconfigure udev or disable AutoAddDevices.
                  [ 651.461] (II) Loader magic: 0x1fbf40
                  [ 651.461] (II) Module ABI versions:
                  [ 651.461] X.Org ANSI C Emulation: 0.4
                  [ 651.461] X.Org Video Driver: 23.0
                  [ 651.461] X.Org XInput driver : 24.1
                  [ 651.461] X.Org Server Extension : 10.0
                  [ 651.472] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c3
                  [ 651.473] (II) no primary bus or device found
                  [ 651.473] (II) LoadModule: "glx"
                  [ 651.474] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
                  [ 651.482] (II) Module glx: vendor="X.Org Foundation"
                  [ 651.482] compiled for 1.19.2, module version = 1.0.0
                  [ 651.482] ABI class: X.Org Server Extension, version 10.0
                  [ 651.482] (==) Matched modesetting as autoconfigured driver 0
                  [ 651.482] (==) Matched fbdev as autoconfigured driver 1
                  [ 651.482] (==) Assigned the driver to the xf86ConfigLayout
                  [ 651.482] (II) LoadModule: "modesetting"
                  [ 651.483] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
                  [ 651.484] (II) Module modesetting: vendor="X.Org Foundation"
                  [ 651.484] compiled for 1.19.2, module version = 1.19.2
                  [ 651.484] Module class: X.Org Video Driver
                  [ 651.484] ABI class: X.Org Video Driver, version 23.0
                  [ 651.484] (II) LoadModule: "fbdev"
                  [ 651.484] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
                  [ 651.484] (II) Module fbdev: vendor="X.Org Foundation"
                  [ 651.485] compiled for 1.19.0, module version = 0.4.4
                  [ 651.485] Module class: X.Org Video Driver
                  [ 651.485] ABI class: X.Org Video Driver, version 23.0
                  [ 651.485] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
                  [ 651.485] (II) FBDEV: driver for framebuffer: fbdev
                  [ 651.485] (EE)
                  Fatal server error:
                  [ 651.485] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
                  [ 651.485] (EE)
                  [ 651.485] (EE)
                  Please consult the The X.Org Foundation support
                  at http://wiki.x.org
                  for help.
                  [ 651.486] (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" for additional information.
                  [ 651.486] (EE)
                  [ 651.486] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
                  [ 651.486] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
                  [ 651.521] (EE) Server terminated with error (1). Closing log file.

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @shift
                    last edited by

                    @shift The log file has the same errors you pasted in the 1st place. Do this - install the Pixel desktop from the RetroPie-Setup menu and see if it works. The installation of the Pixel desktop should add a startxlink in the Ports system and set-up Xorg in the process.

                    If the desktop works, then try again with the port you're trying to make it work (Fofix).

                    1 Reply Last reply Reply Quote 0
                    • S
                      shift
                      last edited by

                      the desktop works, but not fofix. I reinstalled the image of retropie 4.4 clean, I installed fofix, and then pixels, but nothing, same error.

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @shift
                        last edited by

                        @shift If the desktop works, you can run Fofix from the desktop session - does that work ?

                        S 1 Reply Last reply Reply Quote 0
                        • F
                          fofixuser
                          last edited by

                          I have the exact same problem and error message. Its a port included in retropie-extra pack. I`m not sure what to do.

                          Parameters:
                          Executing: LD_LIBRARY_PATH=/opt/retropie/supplementary/glshim LIBGL_FB=1 xinit fofix

                          X.Org X Server 1.19.2
                          Release Date: 2017-03-02
                          X Protocol Version 11, Revision 0
                          Build Operating System: Linux 4.9.41-v7+ armv7l Raspbian
                          Current Operating System: Linux raspberrypi 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l
                          Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=720 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=da63f069-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles plymouth.enable=0
                          Build Date: 18 October 2017 04:55:30PM
                          xorg-server 2:1.19.2-1+rpt1+deb9u2 (https://www.debian.org/support)
                          Current version of pixman: 0.34.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: Tue May 29 19:56:28 2018
                          (==) Using system config directory "/usr/share/X11/xorg.conf.d"
                          libEGL warning: DRI3: xcb_connect failed
                          libEGL warning: DRI2: xcb_connect failed
                          libEGL warning: DRI2: xcb_connect failed
                          LIBGL: Error while gathering supported extension (eglInitialize: EGL_NOT_INITIALIZED), default to none
                          (EE)
                          Fatal server error:
                          (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
                          (EE)
                          (EE)
                          Please consult the The X.Org Foundation support
                          at http://wiki.x.org
                          for help.
                          (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" for additional information.
                          (EE)
                          (EE) Server terminated with error (1). Closing log file.
                          LIBGL: Initialising gl4es
                          LIBGL: v1.0.9 built on May 29 2018 19:44:35
                          LIBGL: framebuffer output enabled
                          LIBGL: Using GLES 1.1 backend
                          LIBGL:loaded: libbcm_host.so
                          LIBGL:loaded: libvcos.so
                          LIBGL:loaded: libGLESv1_CM.so.1
                          LIBGL:loaded: libEGL.so.1
                          LIBGL: Using GLES 1.1 backend
                          LIBGL: Targeting OpenGL 1.5
                          LIBGL: glXMakeCurrent FBO workaround enabled
                          LIBGL: Current folder is:/home/pi
                          xinit: giving up
                          xinit: unable to connect to X server: Connection refused
                          xinit: server error

                          I also have the desktop environment and it sill closes.

                          1 Reply Last reply Reply Quote 0
                          • S
                            shift @mitu
                            last edited by

                            @mitu said in Fofix problems:

                            @shift If the desktop works, you can run Fofix from the desktop session - does that work ?

                            I tried to run fofix from the desktop but it does not work. A window opens, but then closes and returns everything as it was before it was launched.

                            1 Reply Last reply Reply Quote 0
                            • S
                              shift
                              last edited by shift

                              I launched this command: sudo chmod 666 /dev/tty0 and runcommand.log changed like this:

                              Parameters:
                              Executing: LD_LIBRARY_PATH=/opt/retropie/supplementary/glshim LIBGL_FB=1 xinit fofix

                              X.Org X Server 1.19.2
                              Release Date: 2017-03-02
                              X Protocol Version 11, Revision 0
                              Build Operating System: Linux 4.9.41-v7+ armv7l Raspbian
                              Current Operating System: Linux retropie 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l
                              Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.
                              lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=f2d3cb4f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.e
                              nable=0
                              Build Date: 18 October 2017 04:55:30PM
                              xorg-server 2:1.19.2-1+rpt1+deb9u2 (https://www.debian.org/support)
                              Current version of pixman: 0.34.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: Sat Jun 9 14:42:22 2018
                              (==) Using system config directory "/usr/share/X11/xorg.conf.d"
                              libEGL warning: DRI3: xcb_connect failed
                              libEGL warning: DRI2: xcb_connect failed
                              libEGL warning: DRI2: xcb_connect failed
                              LIBGL: Error while gathering supported extension (eglInitialize: EGL_NOT_INITIALIZED), default to none
                              (EE)
                              Fatal server error:
                              (EE) xf86OpenConsole: Cannot open virtual console 3 (Permission denied)
                              (EE)
                              (EE)
                              Please consult the The X.Org Foundation support
                              at http://wiki.x.org
                              for help.
                              (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" for additional information.
                              (EE)
                              (EE) Server terminated with error (1). Closing log file.
                              LIBGL: Initialising gl4es
                              LIBGL: v1.0.9 built on Jun 9 2018 13:41:04
                              LIBGL: framebuffer output enabled
                              LIBGL: Using GLES 1.1 backend
                              LIBGL:loaded: libbcm_host.so
                              LIBGL:loaded: libvcos.so
                              LIBGL:loaded: libGLESv1_CM.so.1
                              LIBGL:loaded: libEGL.so.1
                              LIBGL: Using GLES 1.1 backend
                              LIBGL: Targeting OpenGL 1.5
                              LIBGL: glXMakeCurrent FBO workaround enabled
                              LIBGL: Current folder is:/home/pi
                              xinit: giving up
                              xinit: unable to connect to X server: Connection refused
                              xinit: server error

                              The error is:
                              xf86OpenConsole: Cannot open virtual console 3 (Permission denied)

                              1 Reply Last reply Reply Quote 1
                              • S
                                shift
                                last edited by

                                Has anyone solved the problem?

                                1 Reply Last reply Reply Quote -1
                                • Z
                                  zerojay
                                  last edited by zerojay

                                  @shift said in Fofix problems:

                                  libEGL warning: DRI3: xcb_connect failed
                                  libEGL warning: DRI2: xcb_connect failed
                                  libEGL warning: DRI2: xcb_connect failed
                                  LIBGL: Error while gathering supported extension (eglInitialize: EGL_NOT_INITIALIZED), default to none

                                  Every port that I've created that uses Xorg and the glshim to function (including this one) no longer works with RetroPie. Ever since whatever changed in the last major release to Stretch, something's broken. We used to have a package installed to allow users to set up who has the right to open up xorg (I think it was xorg-server-legacy) but that apparently isn't what we're supposed to do anymore so... I have several of these packages that are currently unusable and I need someone's help to figure this out.

                                  Sorry, package is xserver-xorg-legacy.

                                  mituM 1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @zerojay
                                    last edited by

                                    @zerojay OK, so I took a stab at this and the solution was right under our nose - https://retropie.org.uk/forum/topic/6304/desktop-from-ports-fails-to-load-4-1/25.
                                    So, long story short - instead of a simple xinit program, running it with xinit program -- vt1 -keeptty will not yield any more Xorg permission errors and actually starts the program.
                                    I tried with fofix and at least now it starts in X, but has some program errors after is started and it stops. I also installed crack-attack and it started with the selection screen, but unfortunately I don't have a keyboard and couldn't progress further. Supertuxkart looked like a good candidate, but downloading 0.5 Gb of game data was a bit much (and I tried crack-attack instead).
                                    Maybe you can give it a test and see if it fixes some of the programs depending on X and the ones depending on OpenGL.

                                    Z 1 Reply Last reply Reply Quote 2
                                    • Z
                                      zerojay
                                      last edited by

                                      I'll give it a shot tonight.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        shift
                                        last edited by shift

                                        @mitu could you tell me the correct procedure to start fofix? is it enough to modify the file /opt/retropie/configs/ports/fofix/emulators.cfg or do I have to do anything else?? Thank you

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          shift
                                          last edited by

                                          with this change:

                                          fofix = "LD_LIBRARY_PATH=/opt/retropie/supplementary/glshim LIBGL_FB=1 xinit fof
                                          ix -- vt1 -keeptty"
                                          default = "fofix"

                                          to the file /opt/retropie/configs/ports/fofix/emulators.cfg the result of fofix.log is the following:

                                          [ 0.002047] (D) Logging initialized: Sun Jul 22 11:22:36 2018
                                          [ 3.589632] (W) Pitch bending is not supported; install john.stumpo's pitchbe
                                          nd module (r7 or higher) if you want it.
                                          [ 4.729544] (D) GameEngine class init (GameEngine.py)...
                                          [ 4.729698] (D) FoFiX v3.121 Final starting up...
                                          [ 4.729754] (D) pygame version: 1.9.3
                                          [ 4.730825] (D) Initializing audio.
                                          [ 4.747304] (D) Audio configuration: (44100, -16, 2)
                                          [ 4.995297] (D) Initializing pygame.mixer & audio system at 44100 Hz.
                                          [ 4.995458] (D) Initializing video.
                                          [ 5.113912] (W) Video setup failed. Trying without antialiasing.
                                          [ 5.147924] (W) OpenGL extension ARB_shader_objects not supported - shaders d
                                          isabled
                                          [ 5.240151] (D) 1 joysticks found.
                                          [ 5.246356] (E) Terminating due to unhandled exception:
                                          Traceback (most recent call last):
                                          File "FoFiX.py", line 276, in <module>
                                          main()
                                          File "FoFiX.py", line 175, in main
                                          engine = GameEngine(config)
                                          File "/usr/share/fofix/src/GameEngine.py", line 578, in init
                                          self.view = View(self, geometry)
                                          File "/usr/share/fofix/src/View.py", line 65, in init
                                          self.aspectRatio = float(w) / float(h)
                                          ZeroDivisionError: float division by zero

                                          Z 1 Reply Last reply Reply Quote 1
                                          • Z
                                            zacknawrocki @shift
                                            last edited by

                                            @shift Hi, were you able to figure out this problem? I am having the same issue.

                                            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.