Graphic issue on Slackware -current
#11
One question, did you regenerate the trace? Can you post the error of apitrace, I'm surprised there are exactly the same!
Reply

Sponsored links

#12
Sorry, late night mistake...
This time i got a "format = GL_RED"
Mesa 8 error
Code:
lukk@nehebkau:~/Desktop/pcs/pcsx2/bin$ apitrace replay pcsx2.trace
0 1980 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGBA32F, width = 128, height = 512, border = 0, format = GL_RED, type = GL_FLOAT, pixels = blob(262144))
1980: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE
0 1982 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_ALPHA32F_ARB, width = 128, height = 512, border = 0, format = GL_RED, type = GL_FLOAT, pixels = blob(262144))
1982: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE
0 1984 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_ALPHA32F_ARB, width = 128, height = 512, border = 0, format = GL_RED, type = GL_FLOAT, pixels = blob(262144))
1984: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE
Rendered 1579 frames in 31.96 secs, average of 49.4054 fps

and Mesa 9.1 error
Code:
lukk@nehebkau:~/Desktop/pcs/pcsx2/bin$ apitrace replay pcsx2.trace
1980: glDebugOutputCallback: High severity API error 0, GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_RGBA32F)
0 1980 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGBA32F, width = 128, height = 512, border = 0, format = GL_RED, type = GL_FLOAT, pixels = blob(262144))
1980: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE
1982: glDebugOutputCallback: High severity API error 0, GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_ALPHA32F_ARB)
0 1982 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_ALPHA32F_ARB, width = 128, height = 512, border = 0, format = GL_RED, type = GL_FLOAT, pixels = blob(262144))
1982: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE
1984: glDebugOutputCallback: High severity API error 0, GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_ALPHA32F_ARB)
0 1984 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_ALPHA32F_ARB, width = 128, height = 512, border = 0, format = GL_RED, type = GL_FLOAT, pixels = blob(262144))
1984: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE
Rendered 1579 frames in 26.9777 secs, average of 58.5298 fps
Reply
#13
I changed some configure options in official building script for mesa 9.1 and now i don't get any errors with apitrace (replayed traces for every pcsx2 version), however i get same graphic problems like my first post.
So is it a driver bug?

Here original and modified slackbuild and glxinfo output.

.txt   original-mesa.SlackBuild.txt (Size: 4,92 KB / Downloads: 255)

.txt   changed-mesa.SlackBuild.txt (Size: 4,86 KB / Downloads: 238)

.txt   original-mesa9glxinfo.txt (Size: 52,83 KB / Downloads: 215)

.txt   changed-mesa9glxinfo.txt (Size: 55,8 KB / Downloads: 205)
Reply
#14
Let's do a summary.
1/ my change didn't bring any change => so I can revert them
2/ DRI driver (or gallium driver) without texture float (original mesa) => create GL error
3/ Gallium driver + texture float (changed) => free of GL error
4/ Both drivers are bad on mesa 9 but good on mesa 8
Reply
#15
Your summary is correct but consider I didn't try texture float on mesa 8.
Reply
#16
Ok. Actually I have mesa 8 with texture float and I didn't see any GL error. So errors was probably related to texture float. Can you share with me your trace so I can 'double check' that the trace is correct. And then you could open a regression bug on mesa with the trace.
Reply
#17
I built mesa 8 with texture float and I have no GL errors with apitrace but get the graphic issue. Attached mesa 8 without texture float trace.


.gz   Mesa8withoutTF.trace.gz (Size: 2,81 MB / Downloads: 401)
Reply
#18
and maybe the other traces could be useful

.gz   Mesa8texturefloat.trace.gz (Size: 2,79 MB / Downloads: 429)

.gz   Mesa9.1texturefloat.trace.gz (Size: 2 MB / Downloads: 393)

.gz   Mesa9.1withoutTF.trace.gz (Size: 2,83 MB / Downloads: 399)
Reply
#19
Ok, all four traces are OK on my system (HD5770), no errors, no rendering issue. I try both FGLRX and mesa 8.0.5

I let you open a bug report on mesa. Report back a link to their bugzilla so I can subscribe to the bug too.
Reply
#20
Ok, it's my first bug report so I don't know if i need to give it more infos.

https://bugs.freedesktop.org/show_bug.cgi?id=61690
Reply




Users browsing this thread: 2 Guest(s)