--- "Robert S. Kerr" <[EMAIL PROTECTED]> wrote:
> Alex Deucher wrote:
> 
> >--- "Robert S. Kerr" <[EMAIL PROTECTED]> wrote:
> >  
[snip]
> >>
> >>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.
> >>    
> >>
> >
> >Have you tried 3D?  how has that worked out?  what about modes? 
> >1280x1024?  800x600?  etc. any problems with Xv?
> >  
> >
> I haven't tried 3D yet.  I'll see if I can get glxgears running and
> let 
> you know what happens.
> I've had it running in 1024x768, 800x600 and in 640x480 on a Dell
> P990 
> monitor.  Didn't try 1280x1024.  I ran using the stock XF86Config 
> generated by X.  It correctly identified my chipset and picked the
> right 
> driver.  I manually adjusted the default bitdepth to use 16.  Dunno
> what 
> refresh I was getting, but I was able to switch modes normally using 
> CTRL + ALT + '+'.  Only got 640x480 on TV because of my external
> encoder.
> I'll check on Xv.  I'm fairly certain that it was using Xv though.
> 

I'm just curious because several users have reported problems with
certain modes and Xv.  Actually I've just about finished re-enabling
native (non-bios) mode switching.

> >  
> >
> >>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.
> >>
[snip]
> >>
> >>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
> >>
> >>    
> >>
> >
> >That's probably the right answer.  the DDR chips are basically
> >prosavage/twister chips that support DDR memory.  I think the only
> >difference between prosavage and twister was chipset support. 
> >Prosavage was for Intel and twister was for AMD.  the cores are
> pretty
> >much the same.
> >  
> >
> I'm thinking that a better answer would be to change the 'if' test
> into 
> a switch statement that can set the TvSizeX & Y as required for each 
> chip.  I think that would be a bit more clear on the intention in
> there 
> anyway if we did that.  I could set up the one for my chip
> (Prosavage) 
> and the others would remain at 0,0 (which would mean TV out is broken
> 
> for them) until we can figure out what the right sizes are for those.
>  
> They'll need to have something though, or the driver will throw out
> all 
> of the modes for them.  My board uses a CH7005 for the external chip
> so 
> I'm limited to 640x480 for TV out.  Any idea what the supported 
> resolutions for the chipsets with built-in TV encoders are?
> 

As far as I know all the tv encoders are limited to 640x480 for ntsc
and 800x600 for PAL.  That seems to be what the old savage driver did. 
the external encorders are theoretically capable of higher modes, it
just depends which encoder is used.

> >  
> >
> >>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.
> >>    
> >>
> >
> >I don't have a prosavage-based board to test with, but I suspect all
> >prosavage/twister/ddr chips should work the same for tv-out.
> >
> >  
> >
> >>So, does anyone know which savage chips support TV out?
> >>    
> >>
> >
> >Just about all of them do to a certain degree.
> >
> >  
> >
> >>Do they all use the external encoders like the S3_TWISTER does?
> >>    
> >>
> >
> >The laptop chips (mx/ix/supersavage) included a built in tv-encoder.
> 
> >they also have two crtcs and can do dualhead.  the prosavage/twister
> >chips only have one crtc and no built in tv-encoder, hence to have
> to
> >use an external one to support tv-out.
> >  
> >
> Dunno how  we would enable dual heading in the driver.  I wouldn't
> know 
> how to set up XF86Config to tell the driver which modes to use, etc.
> 

I attempted to add dualhead support a while back, but lack of
documentation stalled me.  I may attempt it again if I get my savage
based laptop back.  The new code from S3 gives me some more clues as to
how it should be done.  There are still some issues with selecting what
dac drives what output and programming the secondary clocks that I'm
not clear on.

> >  
> >
> >>Is adding additional chips into the 'if' test the right answer
> here?
> >>
> >>    
> >>
> >
> >I think so.  I'd say add twister/prosavage/prosavageddr.  Attach a
> >patch if you like.  I'll probably mess with the mode/Xv code at some
> >point this week (depending on time).  I'll take a look at you patch
> >then if you provide one, otherwise I'll just take a look at the code
> in
> >question.  felix has a ddr and perhaps he can test.
> >  
> >
> I'll see if I can put together a patch and send it.  As it is I could
> 
> get TV out working, but I think there is something up with the BIOS
> mode 
> matching code.  I was getting screwy scan stuff on the TV screen. 
> More 
> on that in another thread later. 
> Might not get to it until later in the week.

Let me know how it goes.


Alex


__________________________________
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