Author: justin Date: 2006-05-09 14:23:01 -0600 (Tue, 09 May 2006) New Revision: 1542
Modified: branches/6.1.1/doc/README branches/6.1.1/root/.xinitrc Log: Merged r1514 (minus nALFS note) and r1519. Addresses the 640x480 FAQ. Modified: branches/6.1.1/doc/README =================================================================== --- branches/6.1.1/doc/README 2006-05-09 14:27:14 UTC (rev 1541) +++ branches/6.1.1/doc/README 2006-05-09 20:23:01 UTC (rev 1542) @@ -74,19 +74,53 @@ CONFIGURING X =========================== The Live CD attempts to configure X for your video card automatically. The -process may fail if you have more than one video card, or if your video card -doesn't support 24-bit color depth. +process may fail if you have more than one video card, if your video card +doesn't support 24-bit color depth, or if your monitor is not Plug-n-Play +compatible (in other words, doesn't tell its characteristics to Xorg via DDC). +In such cases, you have to edit the /etc/X11/xorg.conf file manually, using +vim, joe or nano. -You still have to edit /etc/X11/xorg.conf using vim, joe or nano in order to -configure the keyboard layout and available video modes (otherwise the US -English keyboard layout and the highest resolution with 60 Hz refresh rate -will be used). Instructions for doing that are found in the BLFS book, under -the section Configuring Xorg: +1) In Section "Device", specify the driver for your video card, e.g.: -http://www.linuxfromscratch.org/blfs/view/svn/x/installing.html#xorg +Section "Device" + Identifier "Generic Video Card" + Driver "ati" +EndSection + +2) In Section "Monitor", specify the allowed frequency ranges for your +monitor. If unsure, consult the manual that came with your monitor. If +such information is not there, but you know a working resolution and refresh +rate, run the "gtf" command. E.g., if your monitor can handle [EMAIL PROTECTED]: -When you are finished, run startx. +$ gtf 1280 1024 85 +Note: you must specify the refresh rate of 60 Hz for LCD monitors. + +Then look at the output: + +# 1280x1024 @ 85.00 Hz (GTF) hsync: 91.38 kHz; pclk: 159.36 MHz +Modeline "1280x1024_85.00" 159.36 1280 1376 1512 1744 1024 1025 1028 1075 -HSync +Vsync + +Put the synchronization ranges that contain the printed values. For the above +example, this means that the following information should be added in the +"Monitor" section: + +Section "Monitor" + Identifier "Generic Monitor" + Option "DPMS" + HorizSync 30-92 # because gtf said "hsync: 91.38 kHz" + VertRefresh 56-86 # because a 85 Hz mode has been requested + # the Modeline may also be pasted here +EndSection + +3) In the Section "Screen", change the DefaultDepth and add the "Modes" +line to SubSection "Display" with the proper color depth. If you added custom +Modelines, you have to specify them exactly as defined, i.e. "1280x1024_85.00" +in the example above. The built-in Modelines have names similar to "1024x768", +without explicit specification of the refresh rate. + +When you are finished editing /etc/X11/xorg.conf, run startx. + NOTE: The default Window Manager is xfce which is intuitive and graphically pleasing. If you prefer something more minimal, edit the file ~/.xinitrc to read 'exec twm'. Modified: branches/6.1.1/root/.xinitrc =================================================================== --- branches/6.1.1/root/.xinitrc 2006-05-09 14:27:14 UTC (rev 1541) +++ branches/6.1.1/root/.xinitrc 2006-05-09 20:23:01 UTC (rev 1542) @@ -1 +1,15 @@ +# Remove LC_ALL now so that LANG takes effect +unset LC_ALL +if xrandr | grep -q '\*0.*640 x 480.*\*60' +then +xmessage \ +"The X server could not obtain the allowed synchronization +frequencies from the monitor because your monitor is not +Plug-n-Play compatible. Thus, a default resolution of +640 x 480 @ 60 Hz has been used. This can hurt your eyes. + +To fix the problem, press Ctrl + Alt + Backspace, and then +specify the allowed frequency ranges in /etc/X11/xorg.conf +manually. See /root/README for details." +fi exec startxfce4 -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
