[PATCH 6/9] handle detailed timing operation in xf86Configure.c

2009-01-22 Thread Ma Ling
handle detailed timing from EDID and CEA extension in xf86Configure.c. --- hw/xfree86/common/xf86Configure.c | 57 1 files changed, 32 insertions(+), 25 deletions(-) diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c index

[PATCH 7/9] handle detailed timing operation in print_edid.c

2009-01-22 Thread Ma Ling
print all detailed timing blocks of EDID and CEA extension. --- hw/xfree86/ddc/print_edid.c | 256 +++--- 1 files changed, 140 insertions(+), 116 deletions(-) diff --git a/hw/xfree86/ddc/print_edid.c b/hw/xfree86/ddc/print_edid.c index 7b6e298..2ad199f

[PATCH 8/9] handle cea-ext data block in interpret_edid.c

2009-01-22 Thread Ma Ling
handle CEA extension data block from CEA extension --- hw/xfree86/ddc/interpret_edid.c | 57 +++ 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/ddc/interpret_edid.c b/hw/xfree86/ddc/interpret_edid.c index 327f7d1..ef37a60 100644

[PATCH 9/9] append modes into mode list from short video descriptor of cea-ext in xf86EdidModes.c

2009-01-22 Thread Ma Ling
append modes from short video descriptor in CEA extension into mode list. --- hw/xfree86/ddc/xf86DDC.h |3 + hw/xfree86/modes/xf86EdidModes.c | 102 ++ 2 files changed, 105 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/ddc/xf86DDC.h

Re: wrong colors with Xv extension and image format id: 0x59565955 (UYVY) from an rgb mapping

2009-01-22 Thread Amos Tibaldi
2009/1/22 Tomas Carnecky t...@dbservice.com On 01/22/2009 06:15 AM, Amos Tibaldi wrote: Hello, I am trying to use the Xv extension in order to display images on windows. I have obtained the image formats with xvc.fo http://xvc.fo = XvListImageFormats( xvc.display, xvc.port, (int *)formats

Re: wrong colors with Xv extension and image format id: 0x59565955 (UYVY) from an rgb mapping

2009-01-22 Thread Tomas Carnecky
On 01/22/2009 11:26 AM, Amos Tibaldi wrote: 2009/1/22 Tomas Carnecky t...@dbservice.com mailto:t...@dbservice.com On 01/22/2009 06:15 AM, Amos Tibaldi wrote: Hello, I am trying to use the Xv extension in order to display images on windows. I have obtained the

Re: wrong colors with Xv extension and image format id: 0x59565955 (UYVY) from an rgb mapping

2009-01-22 Thread Simon Farnsworth
Amos Tibaldi wrote: unsigned short int thecolor = u 12 | y 8 | v 4 | y; This is completely wrong. In a UYVY image, you have two different 8-bit Y components, sharing an 8-bit U component, and an 8-bit V component. In pseudocode, creating a 32-bit UYVY pixel pair from two RGB pixels:

Re: libXrender - documentation?

2009-01-22 Thread Charles Lindsey
In fe028d69955796489b510ce43dbbe803112cd...@rrsmsx503.amr.corp.intel.com Wichmann, Mats D mats.d.wichm...@intel.com writes: It seems that a library providing an API ought to have docs, even if the main consumer is another library. That way the producer/consumer relationship is codified and

Re: libXrender - documentation?

2009-01-22 Thread Clemens Eisserer
Most likely I will write some XRender documentation as part of my bachelor thesis. In a subsequent thread 2D antialiasing? on this list, I was bemoaning the fact that antialiasing by that method would waste huge amounts of bandwidth if the client were separated from the Xserver by some slow

Re: Xorg with ATI / RV370 sneakily eats half my CPU with empty screen?

2009-01-22 Thread John Clarke
Thanks to everybody for helping. oprofile has a mystifying array of possible options to log, but the -b option to top and xrestop have helped shed some light. The problem still occurs with the vesa driver - it looks like its the screensaver or screen locker. I'll post again when I've got it

Re: [PATCH 1/9] Includes some new structures and defined MACRO in edid.h

2009-01-22 Thread Alex Deucher
On Thu, Jan 22, 2009 at 2:46 AM, Ma Ling ling...@intel.com wrote: defined corresponding structure and MACRO for detailed timing and CEA data blocks. --- hw/xfree86/ddc/edid.h | 90 + 1 files changed, 90 insertions(+), 0 deletions(-)

Current tinderbox regression (xserver)

2009-01-22 Thread Chris Ball
http://tinderbox.x.org/builds/2009-01-22-0007/logs/xserver/#build Keyboard.c: In function 'xnestKeyboardProc': Keyboard.c:177: warning: passing argument 1 of 'XkbSetRulesDflts' from incompatible pointer type Keyboard.c:177: error: too many arguments to function 'XkbSetRulesDflts' Keyboard.c:178:

Re: nv driver question

2009-01-22 Thread Roland Scheidegger
On 22.01.2009 04:04, Sergio Monteiro Basto wrote: On Wed, 2009-01-21 at 15:00 -0800, w bugar wrote: Hi, A quick nv driver question, installed fedora 10. Seem to be stuck at 800x600 resolution, does it support higher resolutions? Have Nvidia Riva 128 ZX card Optiquest V95 monitor Both

build failure in xf86-input-evdev

2009-01-22 Thread Tomas Carnecky
./autogen.sh didn't complain about missing packages, so maybe a missing dependency? /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/-march=native -O2 -g -fno-omit-frame-pointer -pipe -fvisibility=hidden -I/opt/xorg/include/xorg

Re: Compile error building xf86-input-keyboard from current git

2009-01-22 Thread Alex Villací­s Lasso
Alan Coopersmith escribió: Alex Villací­s Lasso wrote: kbd.c:154: error: 'XKB_DFLT_RULES' undeclared here (not in a function) This is from a recent git pulled this morning. I am pulling the changes from the last few hours, in the hope this is fixed by compiling an updated proto

Keyboard events and console switching

2009-01-22 Thread Helge Bahmann
When a key is in the pressed state while switching console, repeated KeyPress/KeyRelease events will be generated while switched away from the server. If switching was caused by Alt-Ctrl-Fx, then at least the Fx key is pressed and the focused application receives a continuous stream of

Pointer glide patch for Input/synaptics

2009-01-22 Thread Dylan McCall
Hello! I'm just wondering what people think of the little pointer glide thing I submitted. Here would be a better place for discussion than on bugzilla, if anyone is interested :) https://bugs.freedesktop.org/show_bug.cgi?id=19525 The mouse is a successful input technique because the physical

Re: Keyboard events and console switching

2009-01-22 Thread Matthias Hopf
On Jan 22, 09 16:55:08 +0100, Helge Bahmann wrote: Things get even more unfriendly if console switching is initiated by chvt from a background service (don't ask). I propose to change the current logic for releasing keys on VT switch -- release them before switching away from the server,

Re: [PATCH] Wait for hald during initialization when necessary

2009-01-22 Thread Paulo César Pereira de Andrade
Yan Li wrote: Attached the new version without attempting any magic fallback (and using 8 spaces instead of tabs) Tested and functional by stoping hald, running startx, and starting hald from a ssh connection, so that in no more then 8 seconds the keyboard and mouse start responding...

Re: Compile error building xf86-input-keyboard from current git

2009-01-22 Thread Alex Villací­s Lasso
Alan Coopersmith escribió: Alex Villací­s Lasso wrote: Alan Coopersmith escribió: Alex Villací­s Lasso wrote: kbd.c:154: error: 'XKB_DFLT_RULES' undeclared here (not in a function) This is from a recent git pulled this morning. I am pulling the changes from the last

Re: http://wiki.x.org/wiki/Development/git [was: Fedora 10: Trouble installing libdrm (2.4.4) for latest Intel driver (2.6)]

2009-01-22 Thread Jesse Barnes
On Wednesday, January 21, 2009 7:38 pm Sergio Monteiro Basto wrote: Hi, Since I also works with Fedora 10, I am also interested in this thread :) On Wed, 2009-01-21 at 15:03 -0800, Dan Nicholson wrote: I've attached my log file. Am I supposed to have a rules file for evdev?

Re: Compile error building xf86-input-keyboard from current git

2009-01-22 Thread Alan Coopersmith
Alex Villací­s Lasso wrote: I updated xserver to current git. Now I am getting the same compile error in xserver itself as reported here: http://tinderbox.x.org/builds/2009-01-22-0007/logs/xserver/#build A large chunk of XKB code from the XKB-atkins work landed on git master last night from

Re: build failure in xf86-input-evdev

2009-01-22 Thread Dan Nicholson
On Thu, Jan 22, 2009 at 7:35 AM, Tomas Carnecky t...@dbservice.com wrote: ./autogen.sh didn't complain about missing packages, so maybe a missing dependency? /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/-march=native -O2 -g -fno-omit-frame-pointer

[PATCH] Xfbdev: ensure correct yoffset

2009-01-22 Thread Risto Suominen
If virtual resolution is higher than the screen (as in atyfb), and yoffset given by the framebuffer driver happens to be non-zero (fbcon changes it on- the-fly), Xfbdev places its image starting above the displayed part of the framebuffer. This patch makes sure that the whole picture is visible.

Re: wrong colors with Xv extension and image format id: 0x59565955 (UYVY) from an rgb mapping

2009-01-22 Thread Amos Tibaldi
2009/1/22 Simon Farnsworth simon.farnswo...@onelan.co.uk Amos Tibaldi wrote: unsigned short int thecolor = u 12 | y 8 | v 4 | y; This is completely wrong. In a UYVY image, you have two different 8-bit Y components, sharing an 8-bit U component, and an 8-bit V component. In

Re: wrong colors with Xv extension and image format id: 0x59565955 (UYVY) from an rgb mapping

2009-01-22 Thread Tomas Carnecky
On 01/22/2009 07:35 PM, Amos Tibaldi wrote: You both are right, but for now I obtain only solid color that doesn't correspond to the desired one; here is the code: void RGBToUV(unsigned short int r, unsigned short int g, unsigned short int b, unsigned short int * u, unsigned short int * v)

[PATCH] Fix description of DDC_QUIRK_DETAILED_USE_MAXIMUM_SIZE

2009-01-22 Thread Tormod Volden
The message ending up in the log was misleading as to what the quirk actually does: It ignores the sizes in the detailed timings and replaces them with the display Max Image Size. --- hw/xfree86/modes/xf86EdidModes.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: build failure in xf86-input-evdev

2009-01-22 Thread Peter Hutterer
On Thu, Jan 22, 2009 at 10:05:08AM -0800, Dan Nicholson wrote: On Thu, Jan 22, 2009 at 7:35 AM, Tomas Carnecky t...@dbservice.com wrote: ./autogen.sh didn't complain about missing packages, so maybe a missing dependency? /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.

save-under support

2009-01-22 Thread Patrick O'Donnell
I've been told, recently, that save-under and backing-store under 8-bit [visuals] are no longer supported in recent X.org releases. We maintain several old X applications that make significant use of both save-under and backing-store (and 8-bit PseudoColor visuals), and this news greatly disturbs

Re: Current tinderbox regression (xserver)

2009-01-22 Thread Daniel Stone
On Thu, Jan 22, 2009 at 10:08:04AM -0500, Chris Ball wrote: Keyboard.c: In function 'xnestKeyboardProc': Keyboard.c:177: warning: passing argument 1 of 'XkbSetRulesDflts' from incompatible pointer type Keyboard.c:177: error: too many arguments to function 'XkbSetRulesDflts' Keyboard.c:178:

Re: Keyboard events and console switching

2009-01-22 Thread Daniel Stone
On Thu, Jan 22, 2009 at 05:36:52PM +0100, Matthias Hopf wrote: On Jan 22, 09 16:55:08 +0100, Helge Bahmann wrote: Things get even more unfriendly if console switching is initiated by chvt from a background service (don't ask). I propose to change the current logic for releasing keys on

Re: save-under support

2009-01-22 Thread Rui Tiago Cação Matos
2009/1/22 Patrick O'Donnell p...@ascent.com: I've been told, recently, that save-under and backing-store under 8-bit [visuals] are no longer supported in recent X.org releases. We maintain several old X applications that make significant use of both save-under and backing-store (and 8-bit

Fwd: wrong colors with Xv extension and image format id: 0x59565955 (UYVY) from an rgb mapping

2009-01-22 Thread Amos Tibaldi
2009/1/22 Tomas Carnecky t...@dbservice.com On 01/22/2009 07:35 PM, Amos Tibaldi wrote: You both are right, but for now I obtain only solid color that doesn't correspond to the desired one; here is the code: void RGBToUV(unsigned short int r, unsigned short int g, unsigned short int b,

Re: http://wiki.x.org/wiki/Development/git [was: Fedora 10: Trouble installing libdrm (2.4.4) for latest Intel driver (2.6)]

2009-01-22 Thread Sergio Monteiro Basto
On Thu, 2009-01-22 at 10:01 -0800, Jesse Barnes wrote: On Wednesday, January 21, 2009 7:38 pm Sergio Monteiro Basto wrote: Hi, Since I also works with Fedora 10, I am also interested in this thread :) On Wed, 2009-01-21 at 15:03 -0800, Dan Nicholson wrote: I've attached my log file.

Re: Pointer glide patch for Input/synaptics

2009-01-22 Thread Peter Hutterer
On Thu, Jan 22, 2009 at 08:28:21AM -0800, Dylan McCall wrote: I'm just wondering what people think of the little pointer glide thing I submitted. Here would be a better place for discussion than on bugzilla, if anyone is interested :) IMHO, for new features the list is a better place than

Re: [PATCH 1/9] Includes some new structures and defined MACRO in edid.h

2009-01-22 Thread Ma Ling
Hi Alex, Thanks for your reply! On Thu, 2009-01-22 at 22:50 +0800, Alex Deucher wrote: On Thu, Jan 22, 2009 at 2:46 AM, Ma Ling ling...@intel.com wrote: defined corresponding structure and MACRO for detailed timing and CEA data blocks. --- hw/xfree86/ddc/edid.h | 90

restoring XvMC with DRI2 with xf86-video-intel-2.6.0

2009-01-22 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, As can be seen in the: [ANNOUNCE] xf86-video-intel 2.6.0 There is a commit named: Disable XvMC on DRI2 for now XvMC is quite important in desktop environments (as it is very difficult to get decent video playback speed without it) Are