cancel
Showing results for 
Search instead for 
Did you mean: 

PC Graphics

[OpenGL] [Beta drivers] [Windows] Generating mipmaps for 2D array textures crashes beta drivers

We get lots of reports of players with AMD beta drivers not being able to start the open source game 
https://github.com/ddnet/ddnet
with our OpenGL backend(which is default)

It also has a Vulkan backend which runs fine, also the WHQL 22.5.1 driver works fine with OpenGL.

We tracked down the issue to mipmap generation of 2D array textures.

For OpenGL 3.3

https://github.com/ddnet/ddnet/blob/31b0c0a6cdd17f00310da5533faff55bb34f5a8f/src/engine/client/backe...

 

For < OpenGL 3.0:
https://github.com/ddnet/ddnet/blob/31b0c0a6cdd17f00310da5533faff55bb34f5a8f/src/engine/client/backe...

 

removing these lines makes it not crash, but ofc results in incorrect results

 

Step to reproduce:

Starting the game chooses OpenGL 3.0 default, it directly results in a crash

Even with OpenGL 3.3 it results in this crash (you can start DDNet with `./DDNet.exe "gfx_gl_major 3; gfx_gl_minor 3; gfx_backend OpenGL"` to test it)

 

The game is also available on steam if that's easier

https://store.steampowered.com/app/412220/DDraceNetwork/

 

Linux and macOS are not affected.

0 Likes
1 Solution

The new driver version 22.11.2 fixes the regression. Thanks to whoever fixed it in the driver team

View solution in original post

0 Likes
7 Replies

Just confirmed it still happens with 22.10.1 on a RX 6900 XT

 

0 Likes

You'll want to post this in 'Communities > Developers' section.

 

Ryzen 5 5600x, B550 aorus pro ac, Hyper 212 black, 2 x 16gb F4-3600c16dgtzn kit, NM790 2TB, Nitro+RX6900XT, RM850, Win.10 Pro., LC27G55T..
0 Likes

Mhh i guess a mod can move it to:
https://community.amd.com/t5/opengl-vulkan/bd-p/opengl-and-vulkan-discussions

but i dont have permissions to start a topic there

0 Likes

Yep, you need to post in 'Newcomers' to be whitelisted.

 

Ryzen 5 5600x, B550 aorus pro ac, Hyper 212 black, 2 x 16gb F4-3600c16dgtzn kit, NM790 2TB, Nitro+RX6900XT, RM850, Win.10 Pro., LC27G55T..
0 Likes
Matt_AMD
Community Manager

Please ask affected users to submit a bug report using AMD Software, thank you. 

https://www.amd.com/en/support/kb/faq/amdbrt

0 Likes

We did that directly when it first happened. Also put the optional email into it. That was around 3 months ago. Since the issue list isn't transparent and no email with some kind of status was send plus that it's been a few months i created the post here since it seems like a major bug, that should be fixed

0 Likes

The new driver version 22.11.2 fixes the regression. Thanks to whoever fixed it in the driver team

0 Likes