[MPlayer-dev-eng] Vidix and mach64_vid in 1600x1200

David Rodríguez García darodga at mail.ono.es
Mon Apr 8 13:42:37 CEST 2002


I have tested vidix in my Xpert at Work (Rage Pro), and only half screen was 
displayed. 
My normal screen mode was 1600x1200 at 75Hz. I think that it can be the 
problem and tested with other resolutions.
In 800x600, vidix worked well, but in greater resolutions, only half screen 
was displayed.

With that problem in mind, and since I don't like switch to 800x600 to watch 
dvds (with the aspect ratio correction, the 600 was insuficent for the 576 of 
dvd), I tried to tweak the driver.

Changing a single line, the problem was resolved (not for 800x600 that become 
wrong), and I think it can help to understand where is the problem (looks 
necesary to conditioning from the screen mode).


In the mach64_vid_init_video function, where calculating h_inc ;

h_inc = (src_w << (12+ecp)) / dest_w; 

I have doubled the result h_inc .  Can be the problem with dest_w changing 
with screen resolution?

I don't analized very well the driver, and don't understand all the calcs 
realized, but doubling the h_inc in that place corrected the problem (h_inc 
*=2)

I hope it can help, and sorry for my English


-- 
David Rodríguez García



More information about the MPlayer-dev-eng mailing list