Refresh rate

bridged with qdn.public.ddk.graphics
Post Reply
C212

Refresh rate

Post by C212 » Tue Jan 29, 2002 2:32 pm

hallo people,

can somebody give me a lesson on how l can get varable refresh rates for
my card. l'm working with a matrox millenium card, and the driver
provided seems to be in love with the default value 60. since the card
is vesa compatible, l've got it running with the vesa driver. In the
mode.c module there seems to a code where one can manipulate the refresh
rates , but this seems not to bring anything.

l've got the spec from matrox and it's like l do not even know where to
start from, cause all l need is to be able to change the refresh rate.
so can someone tell me which resgisters or modules (what ever ) come
into question for my problem, and also where this 60 gets read from

help will be greatly appreciated.

thank you

kili

Hardware Support Account

Re: Refresh rate

Post by Hardware Support Account » Tue Jan 29, 2002 3:01 pm

Hi Kili,

Our driver for the Matrox Millenium (devg-matrox.so) and our
vesa driver use the video BIOS to set the mode, so the refresh
rate defaults to what the BIOS sets it to (60 Hz). If you want
to change the refresh rate, you will have to program the mode directly.
Instead of making a BIOS call, you will
have to program the CRTC registers and the PLL registers for the
resolution and refresh rate you desire. The BIOS may be setting up
other registers to make the card run correctly. The BIOS call is
is in the setmode function (also see vesa_set_mode).
Check out mode.c in the banshee driver which is also in the
graphics ddk. Although the registers are differnt, it is an example of
a driver that does not use the video BIOS to set the mode, and supports
multiple refresh rates.

Erick.



C212 <kz81@hotmail.com> wrote:
hallo people,

can somebody give me a lesson on how l can get varable refresh rates for
my card. l'm working with a matrox millenium card, and the driver
provided seems to be in love with the default value 60. since the card
is vesa compatible, l've got it running with the vesa driver. In the
mode.c module there seems to a code where one can manipulate the refresh
rates , but this seems not to bring anything.

l've got the spec from matrox and it's like l do not even know where to
start from, cause all l need is to be able to change the refresh rate.
so can someone tell me which resgisters or modules (what ever ) come
into question for my problem, and also where this 60 gets read from

help will be greatly appreciated.

thank you

kili

C212

Re: Refresh rate

Post by C212 » Tue Jan 29, 2002 4:09 pm

hallo again,

is it correct to first have the BIOS call and then only override the refresh
rate specific type of the code ?, cause one this l dont understand is what
exacly this BIOS call does.

thanks for the tip

kili

Hardware Support Account wrote:
Hi Kili,

Our driver for the Matrox Millenium (devg-matrox.so) and our
vesa driver use the video BIOS to set the mode, so the refresh
rate defaults to what the BIOS sets it to (60 Hz). If you want
to change the refresh rate, you will have to program the mode directly.
Instead of making a BIOS call, you will
have to program the CRTC registers and the PLL registers for the
resolution and refresh rate you desire. The BIOS may be setting up
other registers to make the card run correctly. The BIOS call is
is in the setmode function (also see vesa_set_mode).
Check out mode.c in the banshee driver which is also in the
graphics ddk. Although the registers are differnt, it is an example of
a driver that does not use the video BIOS to set the mode, and supports
multiple refresh rates.

Erick.

C212 <kz81@hotmail.com> wrote:
hallo people,

can somebody give me a lesson on how l can get varable refresh rates for
my card. l'm working with a matrox millenium card, and the driver
provided seems to be in love with the default value 60. since the card
is vesa compatible, l've got it running with the vesa driver. In the
mode.c module there seems to a code where one can manipulate the refresh
rates , but this seems not to bring anything.

l've got the spec from matrox and it's like l do not even know where to
start from, cause all l need is to be able to change the refresh rate.
so can someone tell me which resgisters or modules (what ever ) come
into question for my problem, and also where this 60 gets read from

help will be greatly appreciated.

thank you

kili

C212

Re: Refresh rate

Post by C212 » Tue Jan 29, 2002 4:10 pm

hallo again,

is it correct to first have the BIOS call and then only override the refresh
rate specific type of the code ?, cause one this l dont understand is what
exacly this BIOS call does.

thanks for the tip

kili

Hardware Support Account wrote:
Hi Kili,

Our driver for the Matrox Millenium (devg-matrox.so) and our
vesa driver use the video BIOS to set the mode, so the refresh
rate defaults to what the BIOS sets it to (60 Hz). If you want
to change the refresh rate, you will have to program the mode directly.
Instead of making a BIOS call, you will
have to program the CRTC registers and the PLL registers for the
resolution and refresh rate you desire. The BIOS may be setting up
other registers to make the card run correctly. The BIOS call is
is in the setmode function (also see vesa_set_mode).
Check out mode.c in the banshee driver which is also in the
graphics ddk. Although the registers are differnt, it is an example of
a driver that does not use the video BIOS to set the mode, and supports
multiple refresh rates.

Erick.

C212 <kz81@hotmail.com> wrote:
hallo people,

can somebody give me a lesson on how l can get varable refresh rates for
my card. l'm working with a matrox millenium card, and the driver
provided seems to be in love with the default value 60. since the card
is vesa compatible, l've got it running with the vesa driver. In the
mode.c module there seems to a code where one can manipulate the refresh
rates , but this seems not to bring anything.

l've got the spec from matrox and it's like l do not even know where to
start from, cause all l need is to be able to change the refresh rate.
so can someone tell me which resgisters or modules (what ever ) come
into question for my problem, and also where this 60 gets read from

help will be greatly appreciated.

thank you

kili

Post Reply

Return to “qdn.public.ddk.graphics”