Friday, July 30, 2010

Fix for an odd Kubuntu 10.04 resolution bug

This fix is for the Dell Optiplex 620 running Kubuntu 10.04

Ok so here goes

The 915 resolution package has been superseeded by the normal intel driver. So all you need to do is set the correct modeline. I thought it was odd that my work optiplex 690 didn't have any problem and an XBMC box sucked hard core with the resolution. Since they are both Ubuntu 10.04 and both the exact same models. That is... until I dropped Kubuntu on one at home. It only allowed a few resolutions and not 1280x1024. I think it has to do with the DVI to VGA converter I am using. Some how the EDID info gets messed up or something.

First run:

Xorg -configure
sudo cp /etc/X11/xorg.conf

Now go to

I used a modeline:
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync

edit your xorg.conf and place the modline in
Section "Monitor"

add your resolution to the
Section "Screen"
For each depth
Modes "1280x1024"

Now that I could change the resolution, I needed it to stay through flippen reboots! Kde kept reverting back to a default resolution
it will print out your current configuration and available resolutions you can choose...

For KDE I had to change the file /etc/kde4/kdm/Xsetup. I added this line and used data from running xrandr without arguments:
xrandr --output VGA1 --mode 1280x1024_60.00

I am not sure where this would go for gdm or other window/login managers but it should probably go some place in the initial xorg startup sequence.

Hope this helps! Sheesh what a fix eh ;)

No comments:

Post a Comment