[Openchrome-users] debug openchrome driver

Felipe Reyes felipereyes
Fri Jan 4 08:16:39 PST 2008


hi everyone,

i have a unichrome pro video card (K8M800) and i always had troubles
with the via driver that comes with xorg, and the openchrome driver
(experimental_branch, trunk, and various revisions of the svn) so now
that i have more time to spend in opensource, i like to help debug (at
least) the driver, but i dont know where to start.

i know how to use gdb, autotools and others development tools (i develop
gtk+ based applications).

can anyone tell me how construct a debugging environment?.

i currently have the openchrome (trunk) compiled with --enable-debug
--enable-xv-debug, but i dont know what else can i do, especially
because the X hangs up i have no way of get the logs or core files.

any clue?.

thanks to everybody for the development of the driver ;)

bye


-----------
# lspci -vvv
...
01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome
Pro VGA Adapter (rev 01) (prog-if 00 [VGA])
	Subsystem: Unknown device 1631:c009
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 128 (500ns min)
	Interrupt: pin A routed to IRQ 21
	Region 0: Memory at a4000000 (32-bit, prefetchable) [size=64M]
	Region 1: Memory at e1000000 (32-bit, non-prefetchable) [size=16M]
	[virtual] Expansion ROM at a0000000 [disabled] [size=64K]
	Capabilities: [60] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [70] AGP version 3.0
		Status: RQ=256 Iso- ArqSz=0 Cal=7 SBA+ ITACoh- GART64- HTrans- 64bit-
FW- AGP3+ Rate=x4,x8
		Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x8
....
-- 
Felipe Reyes A.
Estudiante de Ingenier?a Ejecuci?n Inform?tica
Universidad de Santiago de Chile
counter.li.org #316380
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20080104/12d60466/attachment.bin



More information about the Openchrome-users mailing list