Hi,
I am experiencing problems with the Xfree86 4.2.0 cirrus
driver. The server starts up fine but when I try to start a client
(xterm) it locks up the server. I have localized the problem to the
WAIT; statement in the AlpSetupForSolidFill() function from
alp_xaam.c. Since I am unfamiliar with the structure of X or the
cirrus chipset I was wondering if anyone could take a look at the
problem.
I rebuilt the cirrus driver with ALP_DEBUG defined. Below is the
output of running the X server and running xterm client:
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Feb 22 10:53:14
2002
(==) Using config file: "/etc/X11/XF86Config"
AlpPreInit
AlpGetRec
AlpGetRec 0x82be3a0
AlpI2CInit
(EE) CIRRUS(0): I2C initialization failed
AlpScreenInit
AlpSave
AlpModeInit 16 bpp, 36000 800 824 896 1024 600 601 603 625
AlpModeInit: depth 16 bits
SynthClock = 36000
depthcode = 16
UseMMIO: SR17= 5
AlpSetClock freq=36.000MHz
AlpSetClock: nom=4e den=3e ffreq=36.025MHz usemclk=0
AlpAdjustFrame 0 0 0x0 0 0
AlpScreenInit after depth dependent init
offscreen_offset=1048576, offscreen_size=88576
monoPattern8x8=1048568
AlpXAAInitMM
moutl(40, 80)
AlpRestore
AlpScreenInit
AlpSave
AlpModeInit 16 bpp, 36000 800 824 896 1024 600 601 603 625
AlpModeInit: depth 16 bits
SynthClock = 36000
depthcode = 16
UseMMIO: SR17= 5
AlpSetClock freq=36.000MHz
AlpSetClock: nom=4e den=3e ffreq=36.025MHz usemclk=0
AlpAdjustFrame 0 0 0x0 0 0
AlpScreenInit after depth dependent init
offscreen_offset=1048576, offscreen_size=88576
monoPattern8x8=1048568
AlpXAAInitMM
moutl(40, 80)
AlpRestore
AlpScreenInit
AlpSave
AlpModeInit 16 bpp, 36000 800 824 896 1024 600 601 603 625
AlpModeInit: depth 16 bits
SynthClock = 36000
depthcode = 16
UseMMIO: SR17= 5
AlpSetClock freq=36.000MHz
AlpSetClock: nom=4e den=3e ffreq=36.025MHz usemclk=0
AlpAdjustFrame 0 0 0x0 0 0
AlpScreenInit after depth dependent init
offscreen_offset=1048576, offscreen_size=88576
monoPattern8x8=1048568
AlpXAAInitMM
moutl(40, 80)
minl(40)
minl(40)
minl(40)
minl(40)
minl(40)
...minl(40) continues on forver
As you can see the culprit is the WAIT macro from alp_xaam.c
I have tried commenting out the WAIT and WAIT_1 calls and while it
does fix the server hangup problem, rectangle filling seems not to work.
Please let me know if you need any more information. I would be very
greatfull for any patches you could send me that would solve the
problem. FYI, the driver works fine when acceleration is turned off.
Sincerely,
Mark Prusinowski
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert