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

    Some my emulators are slow / glitchy audio

    Scheduled Pinned Locked Moved Help and Support
    slowglitchyscratchy audio400
    30 Posts 5 Posters 2.8k 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.
    • L
      LektroiD @dankcushions
      last edited by LektroiD

      @dankcushions said in Some my emulators are slow / glitchy audio:

      @lektroid please provide a verbose log for an emulator in question: https://retropie.org.uk/docs/Runcommand/#launch-with-verbose-logging

      Hi, thanks for offering your help on this matter, it is very much appreciated.

      After much frustration with the instructions in the link which may as well have been written in Greek, I have managed to find my way into verbose logging by choosing a game, pressing 'A' on the controller at launch, then selecting option 'L - Launch With Verbose Logging". However, the runcommand.log file does not appear to exist anywhere. When I go into the system via the network, it only shows up 4 folders ( bios, configs, roms, splashscreens). If I plug the card into my computer (MacOS), it shows a list of files, and only one folder (overlays). There is certainly no path named "/dev/shm/runcommand.log" as suggested in the docs. How do I find that?

      Please explain this in plain English, as I am totally new to this.

      Pi Model: Raspberry Pi 400
      PSU: Official 5.1VDC / 3A
      RetroPie Version: 4.7.1-rpi4_400
      Built From: Raspberry Pi Imager v1.5
      USB Devices connected: Mouse / Controller
      Controller used: PS4 Dualshock via USB

      dankcushionsD 1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @LektroiD
        last edited by

        @lektroid
        if you look at the SD card via mac/windows you will likely only see the /boot/ partition, which is not relevant here.

        via samba ("network") you only see the samba shares, which do not include this path.

        you can locate the /dev/shm/runcommand.log via SFTP: https://retropie.org.uk/docs/Transferring-Roms/#sftp

        L 1 Reply Last reply Reply Quote 0
        • L
          LektroiD @dankcushions
          last edited by

          @dankcushions Thanks for your reply, but this is not working. I have followed the instructions to the word, inserted all the information into Cyberduck exactly, there is nowhere to add an IP address in Cyberduck, so obviously I could not enter that, and it refuses connect.

          Is there another easier way to get this file?

          Pi Model: Raspberry Pi 400
          PSU: Official 5.1VDC / 3A
          RetroPie Version: 4.7.1-rpi4_400
          Built From: Raspberry Pi Imager v1.5
          USB Devices connected: Mouse / Controller
          Controller used: PS4 Dualshock via USB

          Z dankcushionsD 2 Replies Last reply Reply Quote 0
          • Z
            Zering @LektroiD
            last edited by

            @lektroid I would recommend using WinSCP.

            L 1 Reply Last reply Reply Quote 0
            • L
              LektroiD @Zering
              last edited by LektroiD

              @zering There does not appear to be a mac version of this for download, I tried 'other downloads' and no mac version there either. Cyberduck was recommended in the documentation, which is why I downloaded that.

              Pi Model: Raspberry Pi 400
              PSU: Official 5.1VDC / 3A
              RetroPie Version: 4.7.1-rpi4_400
              Built From: Raspberry Pi Imager v1.5
              USB Devices connected: Mouse / Controller
              Controller used: PS4 Dualshock via USB

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

                @lektroid said in Some my emulators are slow / glitchy audio:

                Is there another easier way to get this file?

                Make sure you enabled SSH on your PI before attempting to connect to it via SFTP/SSH.

                Another option would be to copy the file to the roms folder, then copy it via file shares, from the Finder. After running the emulator, exit EmulationStation and run

                cp /dev/shm/runcommand.log $HOME/RetroPie/roms/
                

                You can find the file at \\retropie\roms, along with the rest of the rom/games folders.

                L 1 Reply Last reply Reply Quote 0
                • L
                  LektroiD @mitu
                  last edited by

                  @mitu Yes, SSH was enabled as per instructions in the docs, which I have followed to the word...

                  I tried to enter the command by pressing F4 on the RP400 keyboard, then typing "cp /dev/shm/runcommand.log $HOME/RetroPie/roms/" and it says no such file or directory. So I tried "cp /dev/shm/runcommand.log", but it says missing destination file operand after 'cp /dev/shm/runcommand.log $HOME/RetroPie/roms/' Try 'cp --help' for more information

                  Pi Model: Raspberry Pi 400
                  PSU: Official 5.1VDC / 3A
                  RetroPie Version: 4.7.1-rpi4_400
                  Built From: Raspberry Pi Imager v1.5
                  USB Devices connected: Mouse / Controller
                  Controller used: PS4 Dualshock via USB

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

                    Are you running the cp command after running the game ? The log file is not persisted between reboots, so if you haven't run the game, there won't be any file.

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      LektroiD @mitu
                      last edited by

                      @mitu said in Some my emulators are slow / glitchy audio:

                      Are you running the cp command after running the game ? The log file is not persisted between reboots, so if you haven't run the game, there won't be any file.

                      @mitu I only get one chance to open that menu... I start a game, then press A on the controller, then 'L - Launch With Verbose Logging'.

                      Pi Model: Raspberry Pi 400
                      PSU: Official 5.1VDC / 3A
                      RetroPie Version: 4.7.1-rpi4_400
                      Built From: Raspberry Pi Imager v1.5
                      USB Devices connected: Mouse / Controller
                      Controller used: PS4 Dualshock via USB

                      dankcushionsD 1 Reply Last reply Reply Quote 0
                      • dankcushionsD
                        dankcushions Global Moderator @LektroiD
                        last edited by

                        @lektroid said in Some my emulators are slow / glitchy audio:

                        @dankcushions Thanks for your reply, but this is not working. I have followed the instructions to the word, inserted all the information into Cyberduck exactly, there is nowhere to add an IP address in Cyberduck, so obviously I could not enter that, and it refuses connect.

                        there sure is - i use it myself:

                        b0b38c87-379d-495c-98a2-ad0be5c03490-image.png

                        Open Connection > Server prompt.

                        L 1 Reply Last reply Reply Quote 0
                        • dankcushionsD
                          dankcushions Global Moderator @LektroiD
                          last edited by

                          @lektroid said in Some my emulators are slow / glitchy audio:

                          @mitu said in Some my emulators are slow / glitchy audio:

                          Are you running the cp command after running the game ? The log file is not persisted between reboots, so if you haven't run the game, there won't be any file.

                          @mitu I only get one chance to open that menu... I start a game, then press A on the controller, then 'L - Launch With Verbose Logging'.

                          that's fine, but if you reboot AFTER launching the game but BEFORE attempting to access the file, it will go away. try launching the game again and then try and get the file immediately and paste us the output of the failed commands please.

                          1 Reply Last reply Reply Quote 0
                          • L
                            LektroiD
                            last edited by dankcushions

                            Finally I have the file. This is outputted from the Vectrex emulator. I can not get one from the C64 emulator, as there is no way to shut the app down after using it, so the unit needs to be unplugged to come out of the app, meaning the log file will disappear...

                            Parameters: 
                            Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vecx/vecx_libretro.so --config /opt/retropie/configs/vectrex/retroarch.cfg "/home/pi/RetroPie/roms/vectrex/Bedlam (USA, Europe).vec" --verbose --appendconfig /dev/shm/retroarch.cfg
                            [INFO] RetroArch 1.8.8 (Git 9552f87)
                            [INFO] Redirecting save file to "/home/pi/RetroPie/roms/vectrex/Bedlam (USA, Europe).srm".
                            [INFO] Redirecting save state to "/home/pi/RetroPie/roms/vectrex/Bedlam (USA, Europe).state".
                            [INFO] === Build =======================================
                            [INFO] Capabilities:  NEON VFPv3 VFPv4
                            [INFO] Built: Nov  2 2020
                            [INFO] Version: 1.8.8
                            [INFO] Git: 9552f87
                            [INFO] =================================================
                            [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-vecx/vecx_libretro.so"
                            [INFO] [Overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/VecX/VecX.cfg.
                            [INFO] [Overrides] no content-dir-specific overrides found at /home/pi/.config/retroarch/config/VecX/vectrex.cfg.
                            [INFO] [Overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/VecX/Bedlam (USA, Europe).cfg.
                            [INFO] [Environ]: GET_LANGUAGE: "0".
                            [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
                            [INFO] [Remaps]: remap directory: /opt/retropie/configs/vectrex/
                            [INFO] Redirecting save file to "/home/pi/RetroPie/roms/vectrex/Bedlam (USA, Europe).srm".
                            [INFO] Redirecting save state to "/home/pi/RetroPie/roms/vectrex/Bedlam (USA, Europe).state".
                            [INFO] [Environ]: GET_LOG_INTERFACE.
                            [INFO] [Environ]: PERFORMANCE_LEVEL: 5.
                            [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
                            [INFO] [Environ]: SET_HW_RENDER.
                            [INFO] Requesting OpenGLES2 context.
                            [INFO] SET_GEOMETRY: 824x1024, aspect: 0.805.
                            [INFO] Loading content file: /home/pi/RetroPie/roms/vectrex/Bedlam (USA, Europe).vec.
                            [INFO] Did not find a valid content patch.
                            [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
                            [INFO] [Environ]: SET_HW_RENDER.
                            [INFO] Requesting OpenGLES2 context.
                            [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
                            [INFO] [Environ]: SET_INPUT_DESCRIPTORS:
                            [INFO] Skipping SRAM load..
                            [INFO] Version of libretro API: 1
                            [INFO] Compiled against API: 1
                            [INFO] [Cheats]: Load game-specific cheatfile: /home/pi/.config/retroarch/cheats/VecX/Bedlam (USA, Europe).cht
                            [INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
                            [INFO] [Video]: Timings deviate too much. Will not adjust. (Display = 30.00 Hz, Game = 50.00 Hz)
                            [INFO] [Video]: Game FPS > Monitor FPS. Cannot rely on VSync.
                            [INFO] [Video]: Video @ 3840x2160
                            [INFO] [Video]: Using HW render, OpenGL driver forced.
                            [INFO] [Video]: Using configured "gl" driver for GL HW render.
                            [INFO] [DRM]: Found 1 connectors.
                            [INFO] [DRM]: Connector 0 connected: yes
                            [INFO] [DRM]: Connector 0 has 50 modes.
                            [INFO] [DRM]: Connector 0 assigned to monitor index: #1.
                            [INFO] [DRM]: Mode 0: (3840x2160) 3840 x 2160, 30 Hz
                            [INFO] [DRM]: Mode 1: (4096x2160) 4096 x 2160, 30 Hz
                            [INFO] [DRM]: Mode 2: (4096x2160) 4096 x 2160, 30 Hz
                            [INFO] [DRM]: Mode 3: (4096x2160) 4096 x 2160, 25 Hz
                            [INFO] [DRM]: Mode 4: (4096x2160) 4096 x 2160, 24 Hz
                            [INFO] [DRM]: Mode 5: (4096x2160) 4096 x 2160, 24 Hz
                            [INFO] [DRM]: Mode 6: (3840x2160) 3840 x 2160, 30 Hz
                            [INFO] [DRM]: Mode 7: (3840x2160) 3840 x 2160, 25 Hz
                            [INFO] [DRM]: Mode 8: (3840x2160) 3840 x 2160, 24 Hz
                            [INFO] [DRM]: Mode 9: (3840x2160) 3840 x 2160, 24 Hz
                            [INFO] [DRM]: Mode 10: (1920x1080) 1920 x 1080, 60 Hz
                            [INFO] [DRM]: Mode 11: (1920x1080) 1920 x 1080, 60 Hz
                            [INFO] [DRM]: Mode 12: (1920x1080i) 1920 x 1080, 60 Hz
                            [INFO] [DRM]: Mode 13: (1920x1080i) 1920 x 1080, 60 Hz
                            [INFO] [DRM]: Mode 14: (1920x1080) 1920 x 1080, 50 Hz
                            [INFO] [DRM]: Mode 15: (1920x1080i) 1920 x 1080, 50 Hz
                            [INFO] [DRM]: Mode 16: (1920x1080) 1920 x 1080, 30 Hz
                            [INFO] [DRM]: Mode 17: (1920x1080) 1920 x 1080, 30 Hz
                            [INFO] [DRM]: Mode 18: (1920x1080) 1920 x 1080, 25 Hz
                            [INFO] [DRM]: Mode 19: (1920x1080) 1920 x 1080, 24 Hz
                            [INFO] [DRM]: Mode 20: (1920x1080) 1920 x 1080, 24 Hz
                            [INFO] [DRM]: Mode 21: (1680x1050) 1680 x 1050, 60 Hz
                            [INFO] [DRM]: Mode 22: (1600x900) 1600 x 900, 60 Hz
                            [INFO] [DRM]: Mode 23: (1280x1024) 1280 x 1024, 75 Hz
                            [INFO] [DRM]: Mode 24: (1280x1024) 1280 x 1024, 60 Hz
                            [INFO] [DRM]: Mode 25: (1440x900) 1440 x 900, 60 Hz
                            [INFO] [DRM]: Mode 26: (1280x800) 1280 x 800, 60 Hz
                            [INFO] [DRM]: Mode 27: (1152x864) 1152 x 864, 75 Hz
                            [INFO] [DRM]: Mode 28: (1280x720) 1280 x 720, 60 Hz
                            [INFO] [DRM]: Mode 29: (1280x720) 1280 x 720, 60 Hz
                            [INFO] [DRM]: Mode 30: (1280x720) 1280 x 720, 50 Hz
                            [INFO] [DRM]: Mode 31: (1024x768) 1024 x 768, 75 Hz
                            [INFO] [DRM]: Mode 32: (1024x768) 1024 x 768, 70 Hz
                            [INFO] [DRM]: Mode 33: (1024x768) 1024 x 768, 60 Hz
                            [INFO] [DRM]: Mode 34: (832x624) 832 x 624, 75 Hz
                            [INFO] [DRM]: Mode 35: (800x600) 800 x 600, 75 Hz
                            [INFO] [DRM]: Mode 36: (800x600) 800 x 600, 72 Hz
                            [INFO] [DRM]: Mode 37: (800x600) 800 x 600, 60 Hz
                            [INFO] [DRM]: Mode 38: (720x576) 720 x 576, 50 Hz
                            [INFO] [DRM]: Mode 39: (720x576i) 720 x 576, 50 Hz
                            [INFO] [DRM]: Mode 40: (720x480) 720 x 480, 60 Hz
                            [INFO] [DRM]: Mode 41: (720x480) 720 x 480, 60 Hz
                            [INFO] [DRM]: Mode 42: (720x480i) 720 x 480, 60 Hz
                            [INFO] [DRM]: Mode 43: (720x480i) 720 x 480, 60 Hz
                            [INFO] [DRM]: Mode 44: (640x480) 640 x 480, 75 Hz
                            [INFO] [DRM]: Mode 45: (640x480) 640 x 480, 73 Hz
                            [INFO] [DRM]: Mode 46: (640x480) 640 x 480, 67 Hz
                            [INFO] [DRM]: Mode 47: (640x480) 640 x 480, 60 Hz
                            [INFO] [DRM]: Mode 48: (640x480) 640 x 480, 60 Hz
                            [INFO] [DRM]: Mode 49: (720x400) 720 x 400, 70 Hz
                            [INFO] [GL]: Found GL context: kms
                            [INFO] [GL]: Detecting screen resolution 3840x2160.
                            [INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
                            [INFO] [EGL]: EGL version: 1.4
                            [INFO] [EGL]: Current context: 0x2a3abb0.
                            [INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
                            [INFO] [GL]: Vendor: Broadcom, Renderer: V3D 4.2.
                            [INFO] [GL]: Version: OpenGL ES 3.1 Mesa 19.3.2.
                            [INFO] [GL]: Using resolution 3840x2160
                            [INFO] [GL]: Default shader backend found: glsl.
                            [INFO] [Shaders]: preset directory: /home/pi/.config/retroarch/config
                            [INFO] [Shaders]: preset directory: /opt/retropie/configs/vectrex/
                            [INFO] [Shaders]: preset directory: /home/pi/.config/retroarch/shaders/presets
                            [INFO] [Shader driver]: Using GLSL shader backend.
                            [WARN] [GL]: Stock GLSL shaders will be used.
                            [INFO] [GLSL]: Found GLSL vertex shader.
                            [INFO] [GLSL]: Found GLSL fragment shader.
                            [INFO] [GLSL]: Linking GLSL program.
                            [INFO] [GLSL]: Found GLSL vertex shader.
                            [INFO] [GLSL]: Found GLSL fragment shader.
                            [INFO] [GLSL]: Linking GLSL program.
                            [INFO] [GLSL]: Found GLSL vertex shader.
                            [INFO] [GLSL]: Found GLSL fragment shader.
                            [INFO] [GLSL]: Linking GLSL program.
                            [INFO] [GL]: Using 1 textures.
                            [INFO] [GL]: Loaded 1 program(s).
                            [INFO] [GL]: Initializing HW render (2048 x 2048).
                            [INFO] [GL]: Max texture size: 4096 px, renderbuffer size: 4096 px.
                            [INFO] [GL]: Supports FBO (render-to-texture).
                            [INFO] [udev]: Keyboard #0 (/dev/input/event0).
                            [INFO] [udev]: Mouse #0 (/dev/input/event2).
                            [INFO] [udev]: Mouse #1 (/dev/input/mouse0).
                            [INFO] [udev]: Plugged pad: Sony Interactive Entertainment Wireless Controller (1356:2508) on port #0.
                            [INFO] [udev]: Pad #0 (/dev/input/event4) supports force feedback.
                            [INFO] [udev]: Pad #0 (/dev/input/event4) supports 16 force feedback effects.
                            [INFO] [Joypad]: Found joypad driver: "udev".
                            [INFO] [Font]: Using font rendering backend: stb-unicode.
                            [INFO] [Video]: Found display server: null
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xsal-level2-crt.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xsal.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xScaleHQ.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_lanczos4.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_phosphor.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_snes.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/Brighter-with_Contrast.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/bsnes_gamma_ramp.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-curvature-vertical.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-curvature.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-vertical.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy-screen-grid.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy2.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/gba-color.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x&lcd3x.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x2.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x_lcd3x.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x_phosphor.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2xwaterpaint.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2xwaterpaintscanline.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq4x.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq4x_lcd3x.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/nds-color.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/nds.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/nedi.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/palm-color.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/phosphor.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/psp-color.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-2x-prescale.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-scanlines.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-simple.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes2.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2x.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpaint.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpainthicontrast.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpaintscanline.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_lcd3x.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_phosphor.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_scanline.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_waterpaint.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/stock.glsl"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/super-2xsai.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/super-eagle.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/vba-color.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/xbr-lv1-noblend.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_curve.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_curve_vertical.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_standard.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_standard_vertical.glslp"
                            [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_lcd_standard.glslp"
                            [INFO] [ALSA]: Using signed 16-bit format.
                            [INFO] [ALSA]: Period size: 768 frames
                            [INFO] [ALSA]: Buffer size: 3072 frames
                            [INFO] [ALSA]: Can pause: no.
                            [INFO] [Menu]: Found menu display driver: "gl".
                            [INFO] [Font]: Using font rendering backend: stb-unicode.
                            [INFO] [Font]: Using font rendering backend: stb-unicode.
                            [INFO] [Font]: Using font rendering backend: stb-unicode.
                            [INFO] [Menu]: Found menu display driver: "gl".
                            [INFO] [LED]: LED driver = 'null' 0x4b477c
                            [INFO] [MIDI]: Initializing ...
                            [INFO] [MIDI]: Input disabled.
                            [INFO] [MIDI]: Output disabled.
                            [INFO] [MIDI]: Initialized "alsa" driver.
                            [INFO] Loading history file: [/opt/retropie/configs/vectrex/content_history.lpl].
                            [INFO] Loading history file: [/opt/retropie/configs/vectrex/content_music_history.lpl].
                            [INFO] Loading history file: [/opt/retropie/configs/vectrex/content_video_history.lpl].
                            [INFO] Loading history file: [/opt/retropie/configs/vectrex/content_image_history.lpl].
                            [INFO] Loading favorites file: [/opt/retropie/configs/vectrex/content_favorites.lpl].
                            [INFO] [GL]: VSync => off
                            [INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
                            [INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
                            [INFO] [Cheats]: Save game-specific cheatfile: /home/pi/.config/retroarch/cheats/VecX/Bedlam (USA, Europe).cht
                            [INFO] Content ran for a total of: 00 hours, 00 minutes, 07 seconds.
                            [INFO] Unloading game..
                            [INFO] Unloading core..
                            [INFO] Unloading core symbols..
                            [INFO] [Core Options]: Saved core options file to "/opt/retropie/configs/all/retroarch-core-options.cfg"
                            

                            Pi Model: Raspberry Pi 400
                            PSU: Official 5.1VDC / 3A
                            RetroPie Version: 4.7.1-rpi4_400
                            Built From: Raspberry Pi Imager v1.5
                            USB Devices connected: Mouse / Controller
                            Controller used: PS4 Dualshock via USB

                            mituM dankcushionsD 2 Replies Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @LektroiD
                              last edited by mitu

                              Your resolution is 4k@30hz. It's a bit too much too handle for emulation - I suggest you lower your resolution to 1080p@60hz.

                              The Pi4 doesn't output 4k@60hz by default, if you want to still keep the 4k resolution, then enable 4k@60hz from raspi-config or add to /boot/config.txt:

                              hdmi_enable_4kp60=1
                              
                              L 1 Reply Last reply Reply Quote 0
                              • dankcushionsD
                                dankcushions Global Moderator @LektroiD
                                last edited by dankcushions

                                @lektroid

                                please format your logs correctly - see https://retropie.org.uk/forum/topic/3/read-this-first ('code blocks' section). i have edited your post this time :)

                                Finally I have the file. This is outputted from the Vectrex emulator. I can not get one from the C64 emulator, as there is no way to shut the app down after using it, so the unit needs to be unplugged to come out of the app, meaning the log file will disappear...

                                are you using escape key to exit? see https://retropie.org.uk/docs/Commodore-64-VIC-20-PET/

                                as for your log, the problem is as i expected:

                                [INFO] [Video]: Timings deviate too much. Will not adjust. (Display = 30.00 Hz, Game = 50.00 Hz)
                                [INFO] [Video]: Game FPS > Monitor FPS. Cannot rely on VSync.
                                [INFO] [Video]: Video @ 3840x2160

                                you're using a 4k30 mode. select a 1080p60 resolution mode via raspi-config (available on the retropie settings section in emulationstation)

                                1 Reply Last reply Reply Quote 0
                                • L
                                  LektroiD @mitu
                                  last edited by

                                  @mitu said in Some my emulators are slow / glitchy audio:

                                  Your resolution is 4k@30hz. It's a bit too much too handle for emulation - I suggest you lower your resolution to 1080p@60hz.

                                  The Pi4 doesn't output 4k@60hz by default, if you want to still keep the 4k resolution, then enable 4k@60hz from raspi-config or add to /boot/config.txt:

                                  hdmi_enable_4kp60=1
                                  

                                  Hi, I cannot change the resolution, when I go into Raspi-Config I select "2 Display Options", then "D1 Resolution", and it just jumps back to the first Raspi-Config screen, and thus loops around those two menus. I tried entering the code you suggested, but the audio is still slow and glitchy.

                                  Pi Model: Raspberry Pi 400
                                  PSU: Official 5.1VDC / 3A
                                  RetroPie Version: 4.7.1-rpi4_400
                                  Built From: Raspberry Pi Imager v1.5
                                  USB Devices connected: Mouse / Controller
                                  Controller used: PS4 Dualshock via USB

                                  dankcushionsD mituM 2 Replies Last reply Reply Quote 0
                                  • dankcushionsD
                                    dankcushions Global Moderator @LektroiD
                                    last edited by

                                    @lektroid you can manually set the mode in /boot/config.txt

                                    for example, for 1080p on mine I use

                                    hdmi_group=2
                                    hdmi_mode=82
                                    

                                    you could try that or

                                    hdmi_group=1
                                    hdmi_mode=16
                                    

                                    these are the typical ones.

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

                                      As an alternative to raspi-config, you can add to your /boot/config.txt file:

                                      hdmi_group=1
                                      hdmi_mode=16
                                      

                                      and remove the hdmi_enable_4kp60 line.

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        LektroiD
                                        last edited by

                                        @mitu said in Some my emulators are slow / glitchy audio:

                                        hdmi_group=1
                                        hdmi_mode=16

                                        Tried saving the file with the new settings, but it says the file is locked and won't let me save

                                        Pi Model: Raspberry Pi 400
                                        PSU: Official 5.1VDC / 3A
                                        RetroPie Version: 4.7.1-rpi4_400
                                        Built From: Raspberry Pi Imager v1.5
                                        USB Devices connected: Mouse / Controller
                                        Controller used: PS4 Dualshock via USB

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

                                          @lektroid How are you editing the file ? If you're using an editor from the PI, make sure you're using sudo when you start the editor, the file is not editable by the pi user, since it's a system file.

                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            LektroiD @mitu
                                            last edited by

                                            @mitu said in Some my emulators are slow / glitchy audio:

                                            @lektroid How are you editing the file ? If you're using an editor from the PI, make sure you're using sudo when you start the editor, the file is not editable by the pi user, since it's a system file.

                                            @mitu I'm plugging the SD into the mac, then using Textedit to edit the file (It's the only way I know), not sure how to use sudo?

                                            Pi Model: Raspberry Pi 400
                                            PSU: Official 5.1VDC / 3A
                                            RetroPie Version: 4.7.1-rpi4_400
                                            Built From: Raspberry Pi Imager v1.5
                                            USB Devices connected: Mouse / Controller
                                            Controller used: PS4 Dualshock via USB

                                            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.