[Bug 42502] SlingPlayer 1.5.1 crashes on load (Assertion failure)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 4 07:05:36 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=42502

--- Comment #7 from Ken Sharp <imwellcushtymelike at gmail.com> ---
Took me all morning to try and find a common theme, because I don't really know
what I'm doing.  Anyway...

Removing any ONE or more of the following lines stops the assertion failure:

gl_info->gl_ops.gl.p_glBindTexture(GL_TEXTURE_2D, color);
gl_info->gl_ops.gl.p_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);
gl_info->gl_ops.gl.p_glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, 256, 1, 0,
GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, 0);

gl_info->fbo_ops.glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0,
GL_TEXTURE_2D, color, 0);

The "common theme" being the GL_TEXTURE_2D.

Of course the console fills with errors because it effectively breaks the
function, but it does allow the application to load.

The current version of Nouveau available to me is rubbish, but when I get
around to upgrading Ubuntu then I have little choice as the Nvidia drivers
simply won't work with the newer kernels.

I tried this on a laptop with an Intel card and there is no crash, so it
certainly seems to be related to the Nvidia drivers.
(I have an AMD GPU to test as well when I get around to it.)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list