xpra icon
Bug tracker and wiki

Opened 8 years ago

Last modified 8 years ago

#150 closed defect

opengl client window rendering bugs — at Version 1

Reported by: Antoine Martin Owned by: ahuillet
Priority: major Milestone: 0.9
Component: client Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

1) pyopengl glTexSubImage2D GL_TEXTURE_RECTANGLE_ARB error: 1281 invalid value

Got a bug when resizing paraview with x264 + opengl client window (see #147 and #107):

_process_window_resized resizing window <GLClientWindow object at 0x3593230 (xpra+client_window+ClientWindow at 0x34252e0)> (id=3) to (1339, 735)
do_configure_event(<gtk.gdk.Event at 0x3507c38: GDK_CONFIGURE x=2, y=23, width=1339, height=735>): new geometry=(2, 23, 1339, 735)
_process_window_resized resizing window <GLClientWindow object at 0x3593230 (xpra+client_window+ClientWindow at 0x34252e0)> (id=3) to (1340, 735)
do_configure_event(<gtk.gdk.Event at 0x3507c38: GDK_CONFIGURE x=2, y=23, width=1340, height=735>): new geometry=(2, 23, 1340, 735)
_process_window_resized resizing window <GLClientWindow object at 0x3593230 (xpra+client_window+ClientWindow at 0x34252e0)> (id=3) to (1422, 735)
do_configure_event(<gtk.gdk.Event at 0x3507c38: GDK_CONFIGURE x=2, y=23, width=1422, height=735>): new geometry=(2, 23, 1422, 735)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1340,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1340,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1340,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1340,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1340,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1340,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
_process_window_resized resizing window <GLClientWindow object at 0x3593230 (xpra+client_window+ClientWindow at 0x34252e0)> (id=3) to (1504, 735)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
_process_window_resized resizing window <GLClientWindow object at 0x3593230 (xpra+client_window+ClientWindow at 0x34252e0)> (id=3) to (1536, 735)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1422,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
do_configure_event(<gtk.gdk.Event at 0x3507c38: GDK_CONFIGURE x=2, y=23, width=1536, height=735>): new geometry=(2, 23, 1536, 735)
_process_window_resized resizing window <GLClientWindow object at 0x3593230 (xpra+client_window+ClientWindow at 0x34252e0)> (id=3) to (1538, 735)
_process_window_resized resizing window <GLClientWindow object at 0x3593230 (xpra+client_window+ClientWindow at 0x34252e0)> (id=3) to (1562, 735)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
do_configure_event(<gtk.gdk.Event at 0x3507c38: GDK_CONFIGURE x=430, y=195, width=1562, height=735>): new geometry=(430, 195, 1536, 735)
do_configure_event(<gtk.gdk.Event at 0x3507c38: GDK_CONFIGURE x=430, y=195, width=1536, height=735>): new geometry=(430, 195, 1536, 735)
do_configure_event(<gtk.gdk.Event at 0x3507c38: GDK_CONFIGURE x=430, y=195, width=1536, height=735>): new geometry=(430, 195, 1536, 735)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd3\xd3\xd3\xd3\xd4\xd4\xd4\xd4\xd4...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd5\xd5\xd5\xd5\xd4\xd4\xd4\xd5\xd5...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd5\xd5\xd5\xd5\xd4\xd4\xd4\xd5\xd5...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd5\xd5\xd5\xd5\xd4\xd4\xd4\xd5\xd5...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd5\xd5\xd5\xd5\xd4\xd4\xd4\xd5\xd5...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd5\xd5\xd5\xd5\xd4\xd4\xd4\xd5\xd5...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd5\xd5\xd5\xd5\xd4\xd4\xd4\xd5\xd5...,
	)
)
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 183, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 124, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 166, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 254, in update_texture_yuv420
    glTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, x, y, width, height, GL_LUMINANCE, GL_UNSIGNED_BYTE, img_data[0])
  File "/usr/lib/python2.7/site-packages/OpenGL/latebind.py", line 41, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.7/site-packages/OpenGL/wrapper.py", line 791, in wrapperCall
    raise err
GLError: GLError(
	err = 1281,
	description = 'invalid value',
	baseOperation = glTexSubImage2D,
	pyArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd5\xd5\xd5\xd5\xd4\xd4\xd4\xd5\xd5...,
	),
	cArgs = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd5\xd5\xd5\xd5\xd4\xd4\xd4\xd5\xd5...,
	),
	cArguments = (
		GL_TEXTURE_RECTANGLE_ARB,
		0,
		0,
		0,
		1536,
		734,
		GL_LUMINANCE,
		GL_UNSIGNED_BYTE,
		'\xd5\xd5\xd5\xd5\xd4\xd4\xd4\xd5\xd5...,
	)
)

2) this one when trying to run nexuiz (nothing on screen at all):

Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 491, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 764, in process_packet
    XpraClientBase.process_packet(self, proto, packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client_base.py", line 182, in process_packet
    handler(packet)
  File "/usr/lib64/python2.7/site-packages/xpra/client.py", line 686, in _process_draw
    window.draw_region(x, y, width, height, coding, data, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 131, in draw_region
    self.paint_with_video_decoder(DECODERS, Decoder, "x264", img_data, x, y, width, height, rowstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 173, in paint_with_video_decoder
    update_texture(data, x, y, width, height, outstride)
  File "/usr/lib64/python2.7/site-packages/xpra/gl_client_window.py", line 211, in update_texture_yuv420
    assert self.textures is not None
AssertionError

Change History (1)

comment:1 Changed 8 years ago by Antoine Martin

Description: modified (diff)
Summary: pyopengl glTexSubImage2D GL_TEXTURE_RECTANGLE_ARB error: 1281 invalid valueopengl client window rendering bugs
Note: See TracTickets for help on using tickets.