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

    lr-dosbox-pure video flickering

    Scheduled Pinned Locked Moved Help and Support
    lr-dosbox-puremousetouchscreen
    2 Posts 1 Posters 617 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.
    • M
      mgrunt
      last edited by mgrunt

      Hi,
      I have Raspberry Pi Zero 2 W (last week build Retropie for RPi3) with LCD 4.3" HDMI. When I try lr-doxbos-pure display is flickering and sound is corrupt. I make video example on YT. When I try lr-dosbox (not pure) and any others emulators (ZX, Nintendo, PC Engine etc.) sound and video is OK. In lr-dosbox (not pure) is not working mouse (touchscreen bind to /dev/input/mouse0 - evtest for mouse is working). I want to try lr-dosbox-pure with mouse binding to touchscreen but I have trouble with video...

      I try this source codes and /dev/input/mouse0 (touchscreen) is working.
      https://jiafei427.wordpress.com/2017/03/13/linux-reading-the-mouse-events-datas-from-devinputmouse0/

      It is possible in the lr dosbox version to make the mouse work with a touch screen binding for simple games (such as first adventure games or simple dungeons)?

      Thank you

      1 Reply Last reply Reply Quote 0
      • M
        mgrunt
        last edited by mgrunt

        I found a problem and it is now solved. I ran lr-dosbox-pure in verbose mode and in log /dev/shm/runcommand.log I found error:

        eglCreateImageKHR: failed to create image for buffer

        After searching for a while on the Internet, I found a tip for editing the file /boot/config.txt and add the line:

        gpu_mem = 256

        After this the display no longer flashes (flickering) and everything works fine.

        I still have to figure out how to emulate a mouse like a touchpad...

        1 Reply Last reply Reply Quote 2
        • 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.