User panel stuff on forum
  8 posts on 1 page  1
Help
2009-08-17, 00:09
Member
50 posts

Registered:
Jul 2009
SOLVED
I have recently installed linux on my desktop pc, But im having trouble getting ubuntu to detect that my monitor can do anything other than 75hz refresh rate. Does anyone have expierience with this problem and can shed some light? Would be REALLY grateful as this is the only thing keeping me on windows atm!

~
2009-08-17, 00:13
Member
50 posts

Registered:
Jul 2009
Just to add, I have tried editing xorg.conf through both gedit and a GUI-based editor, both failed hard (most likely due to my lack of linux knowledge)
2009-08-17, 00:59
Member
33 posts

Registered:
Aug 2008
if you are using nvidia drivers this might help:
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.20/+bug/104105/comments/9
2009-08-17, 07:57
Member
50 posts

Registered:
Jul 2009
update: fixed thanks to some helpful lads in #ubuntu @freenode
2009-08-17, 10:58
Member
347 posts

Registered:
Feb 2006
Perhaps you want to post the solution here for future reference?
2009-08-17, 13:23
Member
357 posts

Registered:
Nov 2008
Yes, i got the same problem and still cant fix it
"the quieter you become, the more you are able to hear"
2009-08-20, 22:45
Member
4 posts

Registered:
Aug 2009
If you are not able to run your resolutions at higher refresh rates you will have to manually specify a new modeline within your X configuration. Moreover, it might be nescessary to add a monitor configuration which is able to display the desired mode in case the automatically retrieved information from the monitor is wrong.

As a first step, what resolutions does xrandr present to you, assumed that you are running the GL client? For instance, the following dump shows me that I am able to set my resolution to at most 1024x768 @ 85Hz and can also switch to 400x300 @ 60 Hz, which was manually added.

x40:~$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 49.6*+ 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 72.2 75.0 60.3 56.2
640x480 85.0 72.8 75.0 59.9
720x400 85.0
640x400 85.1
640x350 85.1
400x300_60.00 60.0

A new modeline can be created by using the tool gtf. The command below will create a modeline for the resolution 640x480 with a refresh rate of 150Hz:

x40:~$ gtf 640 480 150

# 640x480 @ 150.00 Hz (GTF) hsync: 78.60 kHz; pclk: 67.91 MHz
Modeline "640x480_150.00" 67.91 640 680 752 864 480 481 484 524 -HSync +Vsync

This modeline must now made available in X. For that to happen, copy /etc/X11/xorg.conf to /etc/X11/xorg.conf.orig and edit /etc/X11/xorg.conf. In the section Monitor, add the modeline.

Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
Modeline "640x480_150.00" 67.91 640 680 752 864 480 481 484 524 -HSync +Vsync
EndSection

Further it might be nescessary to tell the graphics hardware that it should disable auto detection and use the timings which are defined by monitor Monitor0. The string LVDS below must match the output identification which you want to alter and is shown by xrandr, e.g., if xrandr tells you that the screen is named VGA then instead of monitor-LVDS you would write monitor-VGA.

Section "Device"
Identifier "Intel Corporation 82852/855GM Integrated Graphics Device"
Driver "i810"
Option "monitor-LVDS" "Monitor0"
BusID "PCI:0:2:0"
EndSection

Now restart X and see if the new mode is shown by xrandr. You can switch to the new mode and test it out:

x40:~$ xrandr -s 640x480 --rate 150

Maybe my solution is a little bit complicated, but that's how I forced my GL ezquake to run at 400x300 today.

Regards,

bitfaust
2009-08-21, 07:45
Member
1435 posts

Registered:
Jan 2006
Please choose as specific names for the topics as possible. It saves time of the readers, it also helps YOU get more attention from people, who might actually know something about that area. Also when you problem is resolved, it's good habbit to edit first post and add 'SOLVED' on the top of it, same for the name of the topic.
  8 posts on 1 page  1