You are not logged in.

#1 2005-06-22 22:34:39

hpestilence
Member
Registered: 2005-06-20
Posts: 67

Problems getting a higher framebuffer refresh rate

Hello everyone just changed from Gentoo to Arch   smile

Anyway here is my problem, I usually use a framebuffer resolution of 1280x1024-32@75. I used to use a Nvidia BFG Geforce Ti4200SE 128MB and it had no problem of booting into the above resolution. I recently upgraded to a Nvidia Chaintech Geforce 6600 GT 128MB AGP and since then the refresh rate stays at 60 regardless of the resolution (tried 1024x768). In Xorg the refresh rate does change to 75.

Solutions I have tried are:

Patching my kernel with the vesafb-tng patch and setting my resolution and refresh rate in the kernel, but that didn't work.

Using fbset, found this on gentoo forums.:

xvidtune -show | ./modeline2fb.pl >> /etc/fb.modes

modeline2fb.pl

#!/usr/bin/perl

# Written by Michal Januszewski <spock@gentoo.org>
# Based on octave script from http://www.linuxdocs.org/HOWTOs/Framebuffer-HOWTO-14.html.
#

# Usage:
# xvidtune -show | ./modeline2fb.pl >> /etc/fb.modes

$modeline = <STDIN>;
$modeline =~ /".*"s+([d.]+)s+(d+)s+(d+)s+(d+)s+(d+)s+(d+)s+(d+)s+(d+)s+(d+)/;

$dcf = $1;
$hr = $2;
$sh1 = $3;
$sh2 = $4;
$hfl = $5;
$vr = $6;
$sv1 = $7;
$sv2 = $8;
$vfl = $9;

$pixclock = 1000000 / $dcf;
$left_margin = $hfl - $sh2;
$right_margin = $sh1 - $hr;
$hsync_len = $sh2 - $sh1;

# 3) vertical timings:
$upper_margin = $vfl - $sv2;
$lower_margin = $sv1 - $vr;
$vsync_len = $sv2 - $sv1;

$rr = $dcf / ($hfl * $vfl) *1e6;
$hsf = $dcf / $hfl * 1e3;

printf("mode "%dx%d"n",$hr,$vr);
printf("   # D: %3.2f MHz, H: %3.2f kHz, V: %2.2f Hzn", $dcf, $hsf, $rr);
printf("   geometry %d %d %d %d %dn", $hr, $vr, $hr, $vr, 32);
printf("   timings %d %d %d %d %d %d %dn",
                                 $pixclock, $left_margin, $right_margin,
                                 $upper_margin, $lower_margin,
                                 $hsync_len, $vsync_len);
printf("endmoden"); 

fb.modes

mode "1280x1024"
   # D: 135.00 MHz, H: 79.98 kHz, V: 75.02 Hz
   geometry 1280 1024 1280 1024 32
   timings 7407 248 16 38 1 144 3
endmode

However fbset 1280x1024 keeps the framebuffer refresh rate at 60.

Is there anything else I can try?

Kernel= 2.6.12 patched with vesafb-tng, inotify, fbsplash
System=
Athlon-xp 2600
768MB pc3200
Chaintech 6600 GT AGP
450W Rosewill PSU

Boot=

root (hd0,1)
kernel (hd0,1)/kernel-2.6.12-arch-r3 quiet devfs=nomount root=/dev/hda4 video=vesafb:ywrap,mtrr,1280x1024-32@75 splash=silent,fadein,kdgraphics,theme:darch CONSOLE=/dev/tty1

Offline

Board footer

Powered by FluxBB