GL_INVALID_OPERATION

Questions about Wine on Linux
Locked
UrsuloC
Newbie
Newbie
Posts: 3
Joined: Mon Oct 18, 2021 5:09 am

GL_INVALID_OPERATION

Post by UrsuloC »

Hello community I hope you are well, I have a problem I would appreciate if you could help me if anyone knows, I am new to the Linux system and just installed Ubuntu, today I installed wine because I want to open a game .exe is not need installation I just have to open the .exe and the game runs but to open it with wine nothing happened nothing opened or nothing happened and gave me the following error when I ran it in the console:

Code: Select all

X Error of failed request: GLXBadFBConfig
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 0 ()
Serial number of failed request: 226
Current serial number in output stream: 226
0104:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0104:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1
After searching for a solution on the internet run this command:

Code: Select all

MESA_GL_VERSION_OVERRIDE=4.5
Then I run the .exe game from the console and opened the game window but it stays black and the console shows this error:

Code: Select all

0160:err:d3d:wined3d_debug_callback 0x7f3b683f4cd0: "GL_INVALID_OPERATION in glGetUniformLocation(program not linked)".
This error appears many times repeated and until we close the game window does not stop displaying this error on the console.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: GL_INVALID_OPERATION

Post by Bob Wya »

@UrsuloC

Could you post the output from running the command:

Code: Select all

inxi -CG
Thanks
Bob
UrsuloC
Newbie
Newbie
Posts: 3
Joined: Mon Oct 18, 2021 5:09 am

Re: GL_INVALID_OPERATION

Post by UrsuloC »

CPU:
Topology: Dual Core model: Intel Pentium G620 bits: 64 type: MCP
L2 cache: 3072 KiB
Speed: 1754 MHz min/max: 1600/2600 MHz Core speeds (MHz): 1: 1739 2: 1781
Graphics:
Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
driver: i915 v: kernel
Display: x11 server: X.Org 1.20.11 driver: i915 resolution: 1440x900~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 2000 (SNB GT1)
v: 4.5 Mesa 21.0.3
UrsuloC
Newbie
Newbie
Posts: 3
Joined: Mon Oct 18, 2021 5:09 am

Re: GL_INVALID_OPERATION

Post by UrsuloC »

Do you think I have to see a failure in the characteristics of my pc?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: GL_INVALID_OPERATION

Post by Bob Wya »

UrsuloC wrote: Mon Oct 18, 2021 2:53 pm Do you think I have to see a failure in the characteristics of my pc?
It's very underpowered. My craptop (as I've affectionately named it :lol: ) has the following (similar) specification:

Code: Select all

CPU:       Info: Dual Core model: Intel Core i5-3320M bits: 64 type: MT MCP cache: L2: 3 MiB 
           Speed: 2462 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 2462 2: 2478 3: 2493 4: 2541 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
           Device-2: Microdia Dell Integrated HD Webcam type: USB driver: uvcvideo 
           Display: x11 server: X.org 1.20.13 driver: loaded: intel resolution: <missing: xdpyinfo> 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 21.2.2 
Personally I've not had much luck running any games, via Wine, on it.
These old Intel iGP's aren't brilliant (e.g. they don't support Vulkan, etc.)
  • What game are you trying to run?
  • Does it require DirectX 9.0c(+) or is it DirectX 10/11/12 only?
It's always best to give your WineHQ forum thread a meaningful title e.g. which names the Windows application you are attempting to run. Just common sense! :|

Bob
Locked