Originally Posted by
dignome
I have the device successfully working in X!
To do this I used the horizontal sync and vertical refresh rates reported by fbset when I got the framebuffer working properly. When you run "$ fbset" after your framebuffer is properly set up with the Display it will spit out the current values being used... take the Hz and Vz values for the above. Then, I added those values into the Monitor section in /etc/X11/XF86Config, ex:
Section "Monitor"
Identifier "Sony PSOne"
HorizSync 15.857
VertRefresh 60.523
EndSection
Note: you can try the modeline in this situation, and it might work for you just fine...this is what worked for me.
Section "Device"
Identifier "Matrox G200"
Driver "mga"
Option "UseFBDev" "on"
Option "hw cursor" "off"
EndSection
Note: UseFBDev might not be required, although this solved a problem where mga xfree and mga framebuffer values were conflicting when using mtrr.
Section "Screen"
Identifier "Sony PSOne"
Device "Matrox G200"
Monitor "Sony PSOne"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "640x480"
ViewPort 0 0
EndSubsection
EndSection
I'm going to try some more settings to tweak it further. Then play some video's dvds to see how things go. Hope this helps.