On Wed, 28 Feb 2007 01:54:29 +0100 "Hemmann, Volker Armin" <[EMAIL PROTECTED]> wrote:
> On Mittwoch, 28. Februar 2007, Vlad Dogaru wrote: > > On 2/28/07, Hemmann, Volker Armin > > <[EMAIL PROTECTED]> > wrote: > > > On Mittwoch, 28. Februar 2007, Vlad Dogaru wrote: > > > > Hello all, > > > > > > > > I have just switched monitors and X now starts in 640x480. I > > > > intend to make it work at 1280x1024, and have changed > > > > DefaultDepth and Modes lines in xorg.conf accordingly. The > > > > console works at 1024x768 as usual, but I have compiled that > > > > into the framebuffer. Any suggestions? > > > > > > how about not using modelines at all? > > > > I've tried commenting out the modeline, to no avail, and the > > DefaultDepth, also with no result. I've checked the logs and found > > nothing out of place. Attatched is my xorg.conf, should anyone find > > it meaningful. > > > > Vlad > > > > > -- > > > gentoo-user@gentoo.org mailing list > > well, you set no mode at all - modelines are something different ;) > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > #DefaultDepth 24 > SubSection "Display" > Viewport 0 0 > Depth 1 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 4 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 8 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 15 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 16 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 24 > #Modes "1280x1024" > EndSubSection > EndSection > > change that too something like: > > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > #DefaultDepth 24 > SubSection "Display" > Viewport 0 0 > Depth 1 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 4 > Modes "1280x1024" "1024x768" "800x600" "640x480" > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 8 > Modes "1280x1024" "1024x768" "800x600" "640x480" > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 15 > Modes "1280x1024" "1024x768" "800x600" "640x480" > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 16 > Modes "1280x1024" "1024x768" "800x600" "640x480" > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 24 > Modes "1280x1024" "1024x768" "800x600" > "640x480" EndSubSection > EndSection > > And add this to your modules section: > Load "ddc" I find myself in this situation often, and usually, looking up Horizontal Sync and Vertical Refresh frequencies for the make and model of the monitor (rarely tricky) and then setting them in xorg.conf solves the problem. For example: Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 31.5-64.3 VertRefresh 50-90 Modeline "1024x768" 85.00 1024 1032 1152 1360 768 784 787 823 EndSection In this case I also used a modeline because the HorizSync and VertRefresh settings didn't work at 1024x768 without it. -- gentoo-user@gentoo.org mailing list