Bug 102709 - War Thunder crashes after logging in to the game. (GL_INVALID_ENUM)
Summary: War Thunder crashes after logging in to the game. (GL_INVALID_ENUM)
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-13 18:11 UTC by Enver Balalic
Modified: 2019-09-18 19:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
GlxInfo (98.98 KB, text/plain)
2017-09-13 18:11 UTC, Enver Balalic
Details

Description Enver Balalic 2017-09-13 18:11:28 UTC
Created attachment 134200 [details]
GlxInfo

On my Radeon HD6950, War Thunder crashes after logging in to the game,

if using LIBGL_DEBUG=verbose and MESA_DEBUG=1 when starting the game, it spams the following in the console:

Mesa: User error: GL_INVALID_ENUM in glTexStorage2D(internalformat = GL_COMPRESSED_RGBA_S3TC_DXT5_EXT)
Mesa: User error: GL_INVALID_ENUM in glCompressedTexSubImage2D(format)

and a couple of the messages are a bit different:

Mesa: User error: GL_INVALID_ENUM in glTexStorage2D(internalformat = GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT)
Mesa: User error: GL_INVALID_ENUM in glCompressedTexSubImage2D(format)


Using Fedora Rawhide, Mesa 17.3.0-devel, LLVM 6.0.0, packages from che COPR repo.
Comment 1 Samuel Pitoiset 2017-09-14 16:04:06 UTC
Well, War Thunder doesn't check that GL_EXT_texture_compression_s3tc is exposed before using those compressed formats.

Though, if you have libtxc_dxtn installed on your system the extension should be enabled, can you check?
Comment 2 Vitalii 2018-05-12 16:02:38 UTC
(In reply to Samuel Pitoiset from comment #1)
> Well, War Thunder doesn't check that GL_EXT_texture_compression_s3tc is
> exposed before using those compressed formats.
> 
> Though, if you have libtxc_dxtn installed on your system the extension
> should be enabled, can you check?

I have the same problem with war thunder, but my driver crashes and only hard reboots help. I can not find the logs and I do not know how to inspect it. driver r600 padeon HD7600
Comment 3 Vitalii 2018-05-12 16:05:01 UTC
(In reply to Vitalii from comment #2)
> (In reply to Samuel Pitoiset from comment #1)
> > Well, War Thunder doesn't check that GL_EXT_texture_compression_s3tc is
> > exposed before using those compressed formats.
> > 
> > Though, if you have libtxc_dxtn installed on your system the extension
> > should be enabled, can you check?
> 
> I have the same problem with war thunder, but my driver crashes and only
> hard reboots help. I can not find the logs and I do not know how to inspect
> it. driver r600 padeon HD7600

if you run the version from windows, it also hangs but only with gallium nine it starts with some artifacts
Comment 4 GitLab Migration User 2019-09-18 19:24:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/611.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.