X Wide-Screen w/Intel Integrated Video

NOTE: Slackware 12 does wide-screen without all this nonsense. Woohoo!

I got Gateway 21" wide screen flat panels both at work and at home. So, I learned to make X.org run in the display's native 1680x1050 resolution.

Since I'm using the built-in Intel video, the first step for me was to hack the video BIOS to show 1680x1050 as a mode. For this, I used 915resolution.

After downloading 915resolution, I copied the binary into /usr/sbin and added the following line to /etc/rc.d/rc.local:

/usr/sbin/915resolution 50 1680 1050

(This replaces mode 50 (hex) with a new mode that is 1680x1050 pixels.)

 

Next, I needed a Modeline to put in the Monitor section of /etc/X11/xorg.conf. This can be made from stuff gleaned from /var/log/Xorg.0.log. NOTE: You hafta run X to generate this file, so type: startx.

Now, take a look inside the file (less /var/log/Xorg.0.log) and look for 1680.

I found this:

    (II) I810(0): #6: hsize: 1680 vsize 1050 refresh: 60 vid: 179
    (II) I810(0): Supported additional Video Mode:
    (II) I810(0): clock: 146.4 MHz Image Size: 450 x 280 mm
    (II) I810(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end 2240 h_border: 0
    (II) I810(0): v_active: 1050 v_sync: 1056 v_sync_end 1086 v_blanking: 1089 v_border: 0

The numbers I needed are in order, though a few hafta be skipped--I highlighted the important numbers in blue--and ended up with the following:

    Modeline "1680x1050" 146.4 1680 1784 1960 2240 1050 1056 1086 1089 -HSync +Vsync

(I stole -HSync +VSync from another Modeline. It seems to work.)

 

Finally, I added the mode 1680x1050 and set the virtual desktop size to 1680x1050 in the Display subsection of the Screen entry in /etc/X11/xorg.conf.

    Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
    Virtual 1680 1050

Return to Stu's Linux Page

last updated 04-01-2008 at 12:04 by Stu...