Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quake 3, Wolfenstein Enemy Territory OpenGL Fullscreen not working past Adrenaline 24.5.1 #38

Open
predator314 opened this issue Jan 1, 2025 · 9 comments
Assignees
Labels
OpenGL This is an issue with OpenGL driver Windows The issue is reported on Windows platform

Comments

@predator314
Copy link

predator314 commented Jan 1, 2025

Quake III Arena
Wolfenstein Enemy Territory (Free)
Possibly all other ID Tech 3 based games.

Windows 10 22H2 (I know, old)
RX5700 XT
Fresh install of Quake III Arena or Wolfenstein Enemy Territory will not run any resolution at full screen.

Stops with following error in console:

----- R_Init -----
Initializing OpenGL subsystem
...initializing QGL
...calling LoadLibrary( 'C:\WINDOWS\system32\opengl32.dll' ): succeeded
...setting mode -1: 1920 1080 FS
...using desktop display depth of 32
...calling CDS: ok
...registered window class
...created window@0,0 (1920x1080)
Initializing OpenGL driver
...getting DC: succeeded
...GLW_ChoosePFD( 32, 24, 0 )
...numPFDs > MAX_PFDS (336 > 256)
...255 PFDs found
...hardware acceleration found
...PIXELFORMAT 27 selected
...creating GL context: succeeded
...making context current: failed
...failed hard
...restoring display settings
...WARNING: could not set the given mode (-1)
...setting mode -1: 1920 1080 FS
...using colorsbits of 16
...calling CDS: ok
...created window@0,0 (1920x1080)
Initializing OpenGL driver
----- CL_Shutdown -----
RE_Shutdown( 1 )
Shutting down OpenGL subsystem
...wglMakeCurrent( NULL, NULL ): failed
...releasing DC: failed
...destroying window
...resetting display
...shutting down QGL
...unloading OpenGL DLL

Q_strncpyz: NULL src

Both games have same errors, have tested default 800x600 as well. Games will run windowed, but fail as soon as switching to full screen.

Have tried Compatibility settings, running as administrator, disable full screen optimizations, run in XP SP3 compatibility mode.

The ONLY work around it to obtain the Adrenaline 24.5.1 atioglxx.dll file and modify this registry key to point to the 24.5.1 copy of the dll.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4d36e968-e325-11ce-bfc1-08002be10318}\0000\OpenGLVendorNameWoW

My understanding is this will cause 32bit applications to use the 24.5.1 opengl library while everything else (64bit opengl and D3D) will continue using the latest installed Adrenaline (24.12.1).

I have tested using the atioglxx.dll from the following Adrenaline versions, only 24.5.1 works, every newer version crashes with same error.
24.6.1
24.7.1
24.8.1
24.9.1
24.10.1
24.12.1

@lubaozho lubaozho self-assigned this Jan 2, 2025
@lubaozho lubaozho added OpenGL This is an issue with OpenGL driver Windows The issue is reported on Windows platform labels Jan 2, 2025
@lubaozho
Copy link
Collaborator

lubaozho commented Jan 2, 2025

@predator314 does your monitor has OVERCLOCK MODE and you enable it ?
you can refer the last comment of: AMD-Gfx-Drivers/issues/36

@predator314
Copy link
Author

@predator314 does your monitor has OVERCLOCK MODE and you enable it ? you can refer the last comment of: AMD-Gfx-Drivers/issues/36

This is tested on a basic 1920x1080p 60Hz display connected using HDMI

@lubaozho
Copy link
Collaborator

lubaozho commented Jan 2, 2025

@predator314 Could you please provide the following information:

  • in-game graphics settings (if not the default)
  • in-Adrenalin-Panel settings (if not the default)
  • save the configuration of your computer use DxDiag tool, then give it to us.

Provide more useful/detailed information about this issue will help us reproduce and fix it quickly, Thanks.

@lubaozho
Copy link
Collaborator

lubaozho commented Jan 7, 2025

@predator314 internally we unable to reproduce this issue with Latest 24.12.1 Adrenaline version and 24.6.1, tried these games were able to be launched in Full screen normally. so we need to get more useful/detailed information from you.

@predator314
Copy link
Author

predator314 commented Jan 9, 2025

Interesting.... Definitely not overclocked. I tested on my 9 year old 1080p 60Hz projector via HDMI last. That is the error though.

I don't know if I'll worry about it for now, I'll be upgrading Motherboard, CPU, Memory soon and going to Windows 11. If it's still happening after all that I'll revisit the issue.

@lubaozho
Copy link
Collaborator

@predator314
please see the comment in #36: "if OVERCLOCK MODE is ON and you set 240hz or even 60hz, the games won't work." you are facing the same issue, right?
an internal bug ticket has been created to track this type of issue, I will update the status here AMD-Gfx-Drivers/issues/36, you can follow it.
btw, disable overclocked mode can be a temporary solution.

@predator314
Copy link
Author

@predator314 please see the comment in #36: "if OVERCLOCK MODE is ON and you set 240hz or even 60hz, the games won't work." you are facing the same issue, right? an internal bug ticket has been created to track this type of issue, I will update the status here AMD-Gfx-Drivers/issues/36, you can follow it. btw, disable overclocked mode can be a temporary solution.

It may be related to whatever is causing that rpoblem, however my display does not have an overclock option, the max resolution is 1920x1080 at 60Hz.

I have also tried a 19" 1080p 60Hz basic LCD monitor from 2012 connected via HDMI, same result.

@lubaozho
Copy link
Collaborator

lubaozho commented Jan 16, 2025

@kemsheshi For your issue I will update the status to your PR.
@predator314 sorry I mistakenly took kemsheshi's reply as your reply. For your issue, we tested with more than two machines, but were unable to reproduce your issue in fullscreen mode.

Could you please provide the following information:
in-game graphics settings (if not the default): Wolfenstein Enemy Territory (Free)
in-Adrenalin-Panel settings (if not the default): Wolfenstein Enemy Territory (Free)
save the configuration of your computer use DxDiag tool, then give it to us.
Provide more useful/detailed information about this issue will help us reproduce and fix it quickly, Thanks.

@GPUOpen-Drivers GPUOpen-Drivers deleted a comment from kemsheshi Jan 16, 2025
@lubaozho
Copy link
Collaborator

lubaozho commented Feb 13, 2025

@predator314 can you tell me the specific model of your monitor, besides, Could you please try changing some display-related settings in the Windows system settings to test this (But need to make sure the game runs in full screen mode) , Also, try to perform the "Restore Factory Settings" via the physical control buttons of your monitor. as we suspect this is related to the configuration of some monitors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OpenGL This is an issue with OpenGL driver Windows The issue is reported on Windows platform
Projects
None yet
Development

No branches or pull requests

2 participants