Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
489 Discussions

13900 770 gpu raptor lake and opengl

westj
Beginner
1,408 Views

It seems that since the 12th gen and 13th gen gpu are having issues working properly. Linux 22.04 os and opengl are causing artifact issues and flickering. Not for sure what exactly is causing this but have no issues until I update to Mesa 23. So is there a driver that needs to be updated or a fix for this issue. 

0 Kudos
10 Replies
karen_intel
Moderator
1,373 Views

Hey @westj ty for reaching out

In order to investigate what needs to be done to fix the issue you're seeing, can you please share an evidence of what the artifacts/flickering look like?

We'd also need the OpenGl example to try to repro the same behavior on a machine similar to yours

Please include your system's SSU and the package that was working well prior to MESA 23 to have the full info and test.

Thanks! Looking forward to hear from you

 

Karen

0 Kudos
westj
Beginner
1,364 Views

I had to upgrade to a different package because the shade was off a bit. But if I take the previous version and put it in 10900 it works fine and no shade issues. When I upgraded to new mesa, then everything broke flickering and artifacts. Both the 13900 and the 10900 intel chips. I have tried different repos, different kernels, and even modifying code. 

Also the error for the ssu

ssu_3.0.0.2_tar.gz

This product is not supported on this operating system.
Would you like to try to scan? (y/n)
y
ssu.sh: 741: [[: not found
ssu.sh: 743: [[: not found
ssu.sh: 745: [[: not found
ssu.sh: 748: [[: not found
ssu.sh: 817: Bad substitution
ssu.sh: 867: Syntax error: Bad for loop variable

 

Previous set up in my gen 10900

uname -a
Linux sp 5.6.0-1028-oem #28-Ubuntu SMP Tue Sep 8 13:34:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) UHD Graphics 630 (CML GT2) (0x9bc5)
Version: 20.0.8
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 630 (CML GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.8
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 20.0.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

 


Update version

uname -a
Linux sp 5.17.0-1035-oem #36-Ubuntu SMP PREEMPT Fri Jul 14 13:27:38 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux


sudo glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) Graphics (RPL-S) (0xa780)
Version: 23.3.3
Accelerated: yes
Video memory: 15694MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (RPL-S)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.3.3 - kisak-mesa PPA
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.3.3 - kisak-mesa PPA
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.3.3 - kisak-mesa PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

 

 

0 Kudos
westj
Beginner
1,354 Views

Okay so on creating the same issues based on code maybe a little bit more difficult. I know where the flickering cause the issue but cannot figure out why. If you need the fill code I can provide it but the program is huge. 

 

d->framerate_duration = time_duration(microseconds(1000000 / framerate));
 
If this is change to 250000 the flickering stops, which makes no sense. 
 
d->framerate_duration = time_duration(microseconds(250000 / framerate));
 
Artifact is very visible. 
 
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
texture_width, texture_height,
0, GL_RGBA, GL_UNSIGNED_BYTE, read_address);
 
 
I can partially remove by using GL_RGB32F, most of the artifact will go away but it will come back when the video has move movement.
 
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB32F,
texture_width, texture_height,
0, GL_RGBA, GL_UNSIGNED_BYTE, read_address);

 

0 Kudos
karen_intel
Moderator
1,352 Views

Hey @westj  thank you for replying so quickly!

And thank you for the evidence too, it looks kinda ugly

Can you create a small project for us which will focus only on making the calls to reproduce the artifacts?

We definitely don't need access to the whole code.
I'm asking for it because if I'm able to repro I need to pass the same project to the development team so they have an easy way to root cause the issue. 

Keep me posted!

Karen

0 Kudos
westj
Beginner
1,345 Views
0 Kudos
karen_intel
Moderator
884 Views

Hi @westj can you please share the project we requested to reproduce the issue?

If there's no response in the upcoming days we will have to close this thread due to inactivity

Thanks

 

Karen

0 Kudos
westj
Beginner
875 Views

I do apologize with the delay  I am also working with mesa for the opengl issues with iris. Trying to use apitrace but the errors are weird from what I gather. But I did notice another error that I am waiting for a response on. I can trying to package my program together and send but there will be a few things that they may need to add to run it. 

 

libEGL warning: failed to get driver name for fd -1

libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: failed to get driver name for fd -1

0 Kudos
karen_intel
Moderator
874 Views

Hey @westj welcome back!

No problem. We can wait We just don't want to leave cases without activity or solution open

I'll be waiting for your piece of code

Karen

0 Kudos
westj
Beginner
810 Views

Everything should be here that you need to run the files, the tar.xz has the binary files, screenshots, and simple instructions. If anyone has any questions don't hesitate to reach out. All of this can be ran on any machine 10th gen it will work. But 13th gen is the issue target, running with linux 22.04 current kernel for my machine is  6.5.0-1003-oem. But from my finding working with mesa using apitrace, the issue come down to egl and iris driver not working.

0 Kudos
karen_intel
Moderator
763 Views

@westj Okay, thanks a lot

We will proceed to debug this case. Once we're able to confirm the issue will get back to you with a report number

Otherwise, if we have questions I will contact you again. Have a great day

 

Karen

0 Kudos
Reply