Re: 1024x768 with redhat 9 nvidia gforce4 TI 4400

From: Boobala (Boobala_at_hotsands.com)
Date: 11/30/03


Date: Sat, 29 Nov 2003 20:40:47 -0500

On Sun, 23 Nov 2003 23:42:19 +0000, Rich Webb wrote:

> On Sun, 23 Nov 2003 10:22:32 +0000, Brandon Niemczyk wrote:
>
>> You should probably download the nvidia drivers from nvidia.com
>> as nv does not provide hardware acceleration.... kinda kills the point of
>> having that kick ass card
>
> Yup. Tried that -- once spent most of a Saturday afternoon trying to get
> it running. All of the "usual suspects" seem to have been accounted for:
> - the .run script builds the nvidia kernel w/o errors
> - gcc version is the same as that used to compile the Linux kernel
> - "uname -r"resolves to the in-use Linux kernel
> - All of the specified changes were made to /etc/X11/XF86Config
> - and a few more that I can't recall now. All the
> checks that I could find via Google and groups.google.com, at any rate.
>
> Launching X goes fine until:
> ----
> NV: could not open device /dev/nvidia0 (Input/output error)
> NV: couldn't map fb (0xc0000000, 134217728M) on /dev/nvidia0 (No such device)
> hint: there may be a ulimit restricting the amount of
> virtual memory available to XFree86. It may be a good
> idea to check your startup scripts for something like
>
> ulimit -v <number>
>
> and either boost this value or remove the line.
> (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
> (EE) NVIDIA(0): *** Aborting ***
> ----
>
> although, of course, /dev/nvidia0 is present as is the alias in
> /etc/modules.conf.
>
> Any ideas? I'd love to get it working under Linux.

I've seen that "Failed to initialize" error before. I had to
reboot into the kernel that the built the driver for.

Ensure that you comment the "Load dri" and "Load Glcore" lines
from the /etc/X11/XF86Config file. Also put in a 'Load "glx"'
there as well.

Have you a unique device entry in /etc/X11/XF86Config for the
new video driver?
i.e.
# Accelerated Driver
Section "Device"
    Identifier "Videocard0"
    Driver "nvidia"
    VendorName "NVIDIA"
    BoardName "NVIDIA GeForce 3 (specific)"
    VideoRam 131072
# Options provided by NVIDIA Readme
    #NvAGP Default is 3 (any AGP)
    # 0 - No AGP 1 - NVIDIA AGP
    # 2 - AGPGART 3 - Any AGP (AGPGART Then NVIDIA AGP)
    OPTION "NvAGP" "3"
    OPTION "NoLogo" "1"
EndSection

# Frame buffer driver
Section "Device"
    Identifier "Videocard1"
    Driver "nv"
    VendorName "Videocard vendor"
    BoardName "NVIDIA GeForce 3 (generic)"
    VideoRam 131072
EndSection

Then in the Screen section use that device. Also ensure
that the "1024x768" entry is the first entry on the Modes
line. i.e.
Section "Screen"
    Identifier "Screen0"
    # Accelerated Device
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 16
    SubSection "Display"
        Depth 8
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth 16
        Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth 24
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth 32
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Give it a test from the command line with something like:
startx -- -depth 24 > ~/StartX_OUT 2>&1 &

The captured messages in StartX_OUT should give some hints
as to any other issues that may be involved.



Relevant Pages

  • Re: [opensuse] Inoperative Intel 945G open GL
    ... Driver "kbd" ... SubSection "Display" ... "640x480" EndSubSection ... What version of Intel Drivers are you running? ...
    (SuSE)
  • Re: [SLE] XF86Config for SuSE 9.1 on Asus M5200n
    ... > So I'm looking for someone, who could send me the proper XF86Config. ... it is setup for the Nvidia driver form Nvidia just change Driver nvidia to Driver nv ... # edit to suit your Locale ie keyboard scan and model ... EndSubSection ...
    (SuSE)
  • Re: Newbie Help Required!
    ... > Maybe you're using the wrong driver, ... > It can't find you're card ... ... is it working with another xserver? ... EndSubsection ...
    (comp.unix.bsd.netbsd.misc)
  • Re: 64-bit Fedora Core 2 on AMD64 - Cant start X
    ... >> EndSubSection ... > I do not think you can use the 'vesa' driver at that depth. ... GVK ...
    (comp.os.linux.x)
  • Re: CTA - truck crash
    ... The driver in this accident has most certainly been cut loose and is now ... every entry you make in a logbook, when verifed, in order for that entry ... It's a game you can lose without even moving your ...
    (misc.transport.trucking)