Screen rotation for i830 driver

2004-06-18 Thread Helmar Spangenberg
Hello everybody,

the other day I posted this message - obviously it was too large. I now do not 
know what exactly happened, so I gzipped the appendix and have another try. 
Sorry...

Especially for tablet PCs I needed the rotation feature in the i830 driver. 
Since I realized that other people showed interest in this feature, too, I 
herewith want to publish my changes. Maybe, someone will do some further 
testing and maybe someone will integrate the code into the official X pool.

Basically, I changed the i830 code according to the savage driver, introducing 
a new file (i830_shadow.c), which simply is a port from the savage 
equivalent. All changes made to existing files were marked with "hks".

I had to include the shadow framebuffer, which unfortunately led to disabling 
all 3d features - I simply do not know how to control them with regards to 
the shadowFB :-(

I added 2 options to the driver (ShadowFB - Boolean, Rotate - Anystring) to 
control the new features. ShadowFB simply activates the shadow framebuffer 
and was mainly thought for testing purposes.
Rotate expects "CW" (clockwise) or "CCW" (counterclockwise) to specify the 
direction of rotation.

Have a try,

Helmar


i830rotate.tgz
Description: application/tgz


XFree 4.4.0 server crash on amd64 while running xsuite

2004-06-18 Thread Nicolas Joly
Hi,

I just got a XFree 4.4.0 server crash, on my amd64 workstation while
running XFree xsuite.

This machine is a dual Opteron, with 1GB of RAM, nVidia GeForce FX
5200, running NetBSD -current (20040616).

XFree86 Version 4.4.0
Release Date: 29 February 2004
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System:NetBSD/amd64 2.0F - The NetBSD Foundation, Inc.
Current Operating System: NetBSD lanfeust.sis.pasteur.fr 2.0F NetBSD 2.0F (LANFEUST) 
#2: Wed Jun 16 22:15:01 CEST 2004  [EMAIL 
PROTECTED]:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/LANFEUST amd64
Build Date: 18 June 2004
[...]
(--) NV(0): Chipset: "GeForce FX 5200"
(**) NV(0): Depth 24, (--) framebuffer bpp 32
(==) NV(0): RGB weight 888
(==) NV(0): Default visual is TrueColor
(==) NV(0): Using HW cursor
(--) NV(0): DDC detected a CRT:
(II) NV(0): Manufacturer: IVM  Model: 1918  Serial#: 50006647
(II) NV(0): Year: 2000  Week: 39
(II) NV(0): EDID Version: 1.1
(II) NV(0): Using CRT on CRTC 0
(--) NV(0): VideoRAM: 131072 kBytes
(==) NV(0): Using gamma correction (1.0, 1.0, 1.0)
(WW) NV(0): config file hsync range 30-115kHz not within DDC hsync ranges.
(WW) NV(0): config file vrefresh range 50-160Hz not within DDC vrefresh ranges.
(II) NV(0): Monitor0: Using hsync range of 30.00-115.00 kHz
(II) NV(0): Monitor0: Using vrefresh range of 50.00-160.00 Hz
(II) NV(0): Clock range:  12.00 to 350.00 MHz
[...]
   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 11.  Server aborting

Here follow the last part of the xsuite journal:

[...]
520|235 1 4259 1 92|TRACE:--- Running test with pixmap depth 16
520|235 1 4259 1 93|TRACE:XYPixmap
520|235 1 4259 1 94|CHECK:XPutImage-1  40, line 388
520|235 1 4259 1 95|TRACE:ZPixmap
520|235 1 4259 1 96|CHECK:XPutImage-1  41, line 415
520|235 1 4259 1 97|TRACE:XYBitmap
520|235 1 4259 1 98|CHECK:XPutImage-1  42, line 441
520|235 1 4259 1 99|TRACE:--- Running test with pixmap depth 32
520|235 1 4259 1 100|TRACE:XYPixmap
520|235 1 4259 1 101|REPORT:A fatal I/O error occurred
520|235 1 4259 1 102|REPORT:Any following results can not be relied upon
80|235 2 14:32:57|TC End
10|236 /tset/CH06/qrybstcrsr/qrybstcrsr 14:32:57|TC Start, scenario ref 287-1, ICs 
{all}
15|236 1.9 1|TCM Start
520|236 0 18294 1 1|TRACE:NAME: XQueryBestCursor
520|236 0 18294 1 2|REPORT:Could not open display.  Can not continue.
[...]

Thanks in advance,
Regards.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel