View Single Post
Old 07-24-05, 11:36 AM   #1
Registered User
Join Date: Jul 2005
Location: Munich
Posts: 910
Default NVflash and NiBiTor Linux-only Howto

NVflash and NiBiTor Linux-only Howto

1. Introduction

This document describes how to use NVflash and NiBiTor on a "pure"
Linux system (means, without having access to a Windows Box).

NVflash 5.13 is a DOS tool that allows to extract the VGA BIOS from
an Nvidia graphics card into a file and to re-flash it.

NiBiTor v2.3 is a Windows tool that allows to modify various settings
in a VGA BIOS rom file settings such as the default 2D and 3D GPU and
memory clock settings, GPU core voltage and Fan speed.

The NVflash/NiBitTor toolset is mostly intended for overclockers.
However, there are situations where you are forced to use
this tools to get at least the performance you have actually payed for,
for example a GeForce 7800 GTX (such as the Gainward Ultra/3500 PCX)
may be limited to 390-415 MHz GPU clock speed due to wrong BIOS settings
and/or incorrect driver implementation.

Please note that you void the warranty of your Nvidia card and may
end up with a dead video chip when applying incorrect VGA BIOS settings.

There are also no warranties that this document will work for you,
however, it has been put together with best intentions and with due

In order to modify the VGA BIOS of your Nvidia card, you need
to perform the following steps that are described in more
detail in the chapters below:

1. Downloading the essential files
2. Creating a DOS boot disk including NVflash
3. Installing NiBiTor
4. Saving the current VGA BIOS
5. Modifying the VGA BIOS
6. Flashing the modified VGA BIOS

*** Be aware that you act on your own risk!!! ***

1. Downloading the essential files

Create a download directory in your home directory, enter it and
get all necessary files:

cd ~
install -d nvdownloads
cd nvdownloads
wget \
wget \
wget \
" nload&filecatid=1137"
mv "com_remository_startdown.php?id=1137&chk=58fc8a98 16e5f391a08bb015703e05d4"

Just in case the URLs are broken, here are the md5sums for each file
so that you can google alternative URLs and make sure to use the
exact same version that are working fine for me:


2. Creating a DOS boot disk including NVflash

Stay in the download directory and create a sub-directory. Next, uncompress
the DrDOS 7.03 boot disk and all nvflash realted files. Finally create a
boot disk and copy the nvflash related files onto it. Make sure to
have a floppy disk inserted in the floppy disk drive.

mkdir nvflash
cd nvflash
unzip ../
unzip ../
dd if=DRDOS703.IMG of=/dev/fd0
mcopy nvflash.exe cwsdpmi.exe a:

3. Installing NiBiTor

As a pre-requisite, you need to have wine installed on your Box in order
to use NiBiTor. For Fedora Core 4, the following RPM package works fine
(install with "rpm -i <package name>"):

Goto the download directory, uncompress NiBiTor and copy it to the windows

cd ~
install -d nvdownloads/nibitor
cd nvdownloads/nibitor
unzip ../
install -d ~/.wine/dosdevices/c\:/windows
cp NiBiTor.exe ~/.wine/dosdevices/c\:/windows

4. Saving the current VGA BIOS

Boot your PC from the newly created boot disk. Just press Enter when being
asked for date and time during the boot. Then backup the current BIOS, type:

nvflash -b vgabios0.rom

When being finished, boot back into Linux and copy the BIOS file
to the windows directory:

mcopy a:vgabios0.rom ~/.wine/dosdevices/c\:/windows

5. Modifying the VGA BIOS

Start NiBiTor:

wine NiBiTor vgabios0.rom

Now perform modifications in sync with your conscience and with due
diligence. Then save the new modified VGA BIOS as "vgabios1.rom" by
clicking "File -> Save BIOS ...". Make sure to keep vgabios0.rom,
unmodified, not to loose your original VGA BIOS in case you need
to restore it.

Finally, copy the modified BIOS back to the boot disk:

mcopy ~/.wine/dosdevices/c\:/windows/vgabios1.rom a:

6. Flashing the modified VGA BIOS

Boot your PC from the boot disk. Just press Enter when being asked
for date and time during the boot. To flash the modified BIOS, type:

nvflash vgabios1.rom

Hint: on german keyboards, you have to type 'z' instead of 'y' to
confirm flashing.

Attention: Don't powercycle or reboot the PC during flashing.

Important: If something goes wrong and the PC doesn't boot any more
after flashing, then you need to install a PCI VGA card in order
to be able to re-flash the original VGA BIOS.

Good luck!

Bernhard Kuhn, Sun Jul 24 18:23:25 CEST 2005

Last edited by JaXXoN; 07-24-05 at 01:13 PM.
JaXXoN is offline   Reply With Quote