Xpra: Ticket #480: strange warning message on windows using opengl on nvidia GTX 670

Windows 7 64 Nvidia GTX 670 Latest drivers

2013-12-19 17:48:17,118 src 8246 type 8251 id 20084 severity 9148 length 119 message \
    Texture state usage warning: Waste of memory: Texture 0 has mipmaps, while its min filter is inconsistent with mipmaps.
2013-12-19 17:48:17,132 src 8246 type 8251 id 20084 severity 9148 length 119 message \
    Texture state usage warning: Waste of memory: Texture 0 has mipmaps, while its min filter is inconsistent with mipmaps.

is repeated over and over in console window.



Fri, 20 Dec 2013 01:52:48 GMT - aradtech: attachment set


Fri, 20 Dec 2013 02:23:59 GMT - Antoine Martin: owner, status, description changed

According to this: https://qt.gitorious.org/qt/qtdeclarative/commit/4fa67b9ef3201214db0b7e6d61288faa33d6ea8d, it is a bogus warning message flood on nVidia driver with the KHR_debug extension active - nVidia seem unwilling to fix it in the driver.

We can probably apply the same fix here.


Fri, 20 Dec 2013 02:39:35 GMT - Antoine Martin: attachment set

try to avoid the mipmap warning by explicitly telling nvidia we don't use mipmaps


Fri, 20 Dec 2013 02:42:10 GMT - Antoine Martin: owner, status changed

Does the attachment/ticket/480/nvidia-dumbmipmapwarning.patch help?

With r5010 and later, does this make the warning disappear? (patch not needed then)

set XPRA_OPENGL_DEBUG=0
xpra_cmd attach ...

Mon, 23 Dec 2013 22:21:47 GMT - aradtech:

set XPRA_OPENGL_DEBUG=0 still have warning using r5016


Wed, 08 Jan 2014 19:03:22 GMT - aradtech:

Warning still shows with patch applied on r5153.


Thu, 09 Jan 2014 07:01:51 GMT - Antoine Martin:

Damn, all this unnecessary logging will slow us down and may cause/hide other problems.

Please try the updated patch. If this still does not solve the problem, please attach the full client log output both with XPRA_OPENGL_DEBUG=0 and with XPRA_OPENGL_DEBUG=1.


Thu, 09 Jan 2014 07:37:56 GMT - Antoine Martin: attachment set

updated patch ensuring we use the same texture identifier


Fri, 10 Jan 2014 03:17:50 GMT - aradtech:

That patch fix's the problem :) Good work !


Fri, 10 Jan 2014 03:52:31 GMT - Antoine Martin: status changed; resolution set

Thanks! Merged in r5158, will backport.


Mon, 13 Jan 2014 05:52:14 GMT - Antoine Martin: status changed; resolution deleted

Grrr. Causes GL errors on Fedora 20 in gl_window_backing.py at line 256: invalid value

Possibly because the GL driver doesn't like the first parameter: GL_TEXTURE_RECTANGLE_ARB? The spec doesn't list it as being a valid argument... Just because it works on win32 doesn't mean it's right!


Mon, 13 Jan 2014 06:01:03 GMT - Antoine Martin: status changed

r5166 uses GL_RECTANGLE_2D instead and works with mesa (tested in a Fedora 20 virtual machine)

Please check that it doesn't cause any regressions on win32: that GL is enabled, that the warning does not re-appear and that it still displays correctly.

Backport for v0.10.x is in r5170.


Mon, 13 Jan 2014 22:30:30 GMT - aradtech:

Version 5178 Tested on Windows with opengl , no messages showing and all seems to be working well.


Tue, 14 Jan 2014 01:46:54 GMT - Antoine Martin: status changed; resolution set

Thanks - closing again.


Sat, 23 Jan 2021 04:56:52 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/480