Re: nv driver for X does not report DisplaySize correctly

Oliver Schwartz <[email protected]>
Newsgroups gmane.linux.ports.xbox.devel
Message-ID <[email protected]>
Hi,

> I like Xine for DVD playback, since the DVD menus
> work. The only way to get xine to get the aspect ratio
> right with 800x600 in "full" mode is to get the
> X-windows "DisplaySize" parameter to report a 16:9
> ratio. But the XBOX nv driver reports a 4:3 pair of
> numbers, even when the parameter is set in
> XF86Config-4.

This sounds like a bug in X to me - I'm not aware of any code in the 
nv driver that handles aspect ratio.

Did you check the X log files carefully? Maybe your option in 
XF86Config-4 was somehow ignored.

> I notice in the code that the DCC call is disabled for
> XBOX - is this where the problem happens?

It's possible but rather unlikely.

> Can I re-enable this call? 

You can try. In the early days of driver development I commented out 
everything that caused problems and everything that I thought 
wouldn't work on xbox anyway. I'm not sure into which category the 
dcc calls fall. 

I don't think DCC is going to solve your problem, however. There is no 
possibility to connect a DCC capable display and the video encoder 
doesn't care much about any DCC signals. 

> Is there a HOWTO for 
> re-compiling the X driver? (can I just drop it into a
> 4.3 source tree and build?)

The modules in xebian were compiled with 4.2.2 sources but the 
binaries also work on 4.3, IIRC. You simply copy the CVS sources over 
the original sources and run "make world". To build nv_drv.o only I 
usually just run "make" in the nv driver directory.

/Oliver


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.