OpenSolaris

Printable Version Enter a New Search
Bug ID 6646626
Synopsis [X.Org bug #4947] Xv extension not byte-swapping properly
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:xorg-server
Keywords s10patch-approved
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_82
Fixed In snv_82
Release Fixed solaris_nevada(snv_82) , solaris_10u5(s10u5_08) (Bug ID:2158455)
Related Bugs 6725727
Submit Date 2-January-2008
Last Update Date 28-January-2008
Description
A user reports:

  I have one X86 run Xorg,  and another sparc running Xsun.
  I open X's remote display on my x86, and ssh to my sparc.
  I can run gnome application on sparc (remote display to x86 ) without any problem,
  but I run /usr/X11/bin/xvinfo, it will tell me that XError of failed request: 248

  If I run /usr/X11/bin/xvinfo locally, it works fine.

Running this, either with or without ssh, confirms that invalid data is coming back 
across the wire.   Investigation showed the byte-swapping routines in the Xv
extension for converting between big-endian & little-endian machines were passing
the wrong data back to the client when called from a client of a different
byte-ordering.   When the byte ordering calls are fixed, xvinfo on a SPARC 
displaying on x86 returns correctly:
	X-Video Extension version 2.2
	screen #0
	 no adaptors present
Discovered this bug was reported upstream, but not yet fixed:
  https://bugs.freedesktop.org/show_bug.cgi?id=4947
Will fix and push upstream.
Work Around
N/A
Comments
N/A