Based on Alex Deucher's recent request to test the
Savage driver he and Felix have been working on, I
recently pulled the savage-2-0-0-branch and compiled
the driver for testing.

My configuration is Fedora Core 1, AMD Athlon 2200,
512 MB, ProsavageDDR in a Shuttle SK41G.

My results have been good so far.  I was able to get
the driver up and running on a monitor quickly.  X
seems stable and I haven't had any crashes so far, but
then I haven't really been working it too hard.

What isn't working, however is TV out.  Any time I
start X with a TV connected, I get an error saying
that displays have been found, but no valid modes for
the displays are available.  I did some looking around
and I know what the problem is, I'm just not sure of
the correct fix for it.

In savage_vbe.c, there is a method
'SavageQueryVBEInfo' that queries for supported
displays and sets up some TV Out information. 
Noteably, the TvSizeX & TvSizeY are set to 0.  For all
chips other than S3_TWISTER,
they stay at TvSizeX =0, & TvSizeY = 0.  For
S3_TWISTER chips, they are set to a size based on the
external TV encoder.  In my case they stay at 0
because I have an S3_PROSAVAGEDDR chip.

Later on, when the driver is trying to find valid
modes in 'SavageValidMode' (savage_driver.c), since
TvSizeX & TvSizeY are 0, all modes are bad.

My fix would be to add a check for my chip in the
'SavageQueryVBEInfo' method, (in fact I did this last
night and was able to get TV out working at least a
little bit), but I don't know if that is really the
right answer.  Seems like that check is in there
because when the driver was written, S3_TWISTER was
the only chip that supported TV out.  I'm certain that
there must be others and so I wanted to know if anyone
knows which of the savage chips support TV out so we
can set up the right 'if' test.

So, does anyone know which savage chips support TV
out?
Do they all use the external encoders like the
S3_TWISTER does?
Is adding additional chips into the 'if' test the
right answer here?

Thoughts?

Rob Kerr.

BTW, I've been following the work of Alex and Felix
for these last few weeks excitedly.  Kudos to them for
getting the Savage driver to the state that it is in
such short order.



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to