libretro / libretro/RetroArch

(Win) GL1 driver issues [updated]

Open
#11,333 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug: opengl gpu api: opengl opengl1
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Hardware:
EDITED, UPDATED - tested on another 2 desktops too, with Nvidia 1050ti and IntelHD Graphics 4600, both Win10x64.

  • Retroarch 1.9.0 stable, Retroarch_2020-09-15_nightly, x64 windows build.
  • Asus eeePC 1015PEM, Win7x64, intel GMA 3150 (driver ver 8.14.10.2230), 1024x600.
  • Only OpenGL1 hardware support.

Bug 1:

  • it happens only when used GL1 driver.
  • it happens ONLY when graphical widgets DISABLED.
  • it triggered by any text, for example if you enable FPS-meter.

Steps:

  • Start retroarch windowed at 2x scaler.
  • Disable graphical widgets, and enable FPS-meter (for example, bug triggered by any text).
  • Start any core/any game.
  • You'll see 1x-scaled picture at bottom left side.
  • Bug not gone when you go to to fullscreen, then go back.

gl1_after_exit_fullscreen

Bug 2:

  • it happens only when used GL1 driver.
  • it happens independently of graphical widgets enabled or disabled.

Steps:

  • Start retroarch windowed at 2x scaler, for example.
  • Set: settings - video - scaling - aspect ratio - custom:

Custom Aspect Ratio (X Position) = 0
Custom Aspect Ratio (Y Position) = 0
Custom Aspect Ratio (Width) = 640
Custom Aspect Ratio (Height) = 480
Crop Overscan = ON

  • run ROM

You'll see half-picture is hidden at bottom screen.
Enter fullscreen (press F), then go back windowed (press F again) - bug is gone.

gl1_coldstart

configs in attach:
buggy.zip

BTW, GL1 driver doesn't keep aspect ratio in fullscreen mode, it always stretched.
GLcore and GL doesn't have this problem.

EDITED, UPDATED 16.09.2020

Contributor guide

Open the contributing guide

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

Reproduce both GL1 failures on the listed Windows hardware using the attached buggy.zip, including disabled widgets, FPS text, custom scaling, and fullscreen toggling. Compare the initial windowed output with the post-toggle output; done means correct scaling, visible picture content, and preserved fullscreen aspect ratio without requiring a fullscreen transition.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.