libretro / libretro/dosbox-libretro

dosbox core misbehaving with the gl driver.

Open
#3 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
65
Forks
43
Avg merge
10h 21m
Merged PRs (30d)
2

Description

The DOSBox core performs very badly when it is run under a RetroArch instance that uses the gl driver with VSync on. There is no impact on the frame rate (58-60fps), but audio loops sometimes and it takes at least twice as much time to load and run games in comparison to the sdl and xvideo driver.

Both dosbox_libretro.so and retroarch were compiled from git today (Dec 29 in UTC-3).

Video settings:

video_shader_enable = "true"
video_aspect_ratio = "-1.000000"
video_xscale = "1.000000"
video_yscale = "1.000000"
video_crop_overscan = "true"
video_scale_integer = "false"
video_smooth = "false"
video_threaded = "false"
video_fullscreen = "false"
video_refresh_rate = "59.950001"
video_driver = "gl"
video_vsync = "true"
video_hard_sync = "false"
video_hard_sync_frames = "0"
video_black_frame_insertion = "false"
video_swap_interval = "1"
video_gpu_screenshot = "true"
video_rotation = "0"
video_shader_dir = "default"
video_font_size = "48.000000"
video_shader = ""

Games tested:

  • Beats of Rage (screen freezes sometimes)
  • DOOM (1993)
  • MicroMachines (1994)

System configuration:

  • Intel Core 2 Duo E7400 2.8 GHz
  • 3GB of memory
  • EVGA Nvidia GeForce 8400gs (proprietary driver version 331.20)
  • Archlinux 64bit

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the DOSBox core with RetroArch's gl driver and VSync enabled, comparing it with sdl and xvideo using the listed games and settings; done means the audio looping, freezes, and excessive load or run time are no longer observed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.