Find the answer to your Linux question:
Results 1 to 1 of 1
Hello, I have two graphics cards. My primary card is an Nvidia GeForce2 MX/MX400 and my new card is an Nvidia GeForce FX5200 (with VGA, DVI & TVOUT ports). I ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    1

    Want to use Framebuffer on 2nd nVidia graphics card

    Hello, I have two graphics cards. My primary card is an Nvidia GeForce2 MX/MX400 and my new card is an Nvidia GeForce FX5200 (with VGA, DVI & TVOUT ports). I use the primary card on an LCD monitor. I want to use the GeForce FX5200 as a framebuffer on an old crt monitor.

    I want to boot up on my primary monitor and develop Framebuffer applications for my second monitor. I don't necessarily want to run X on the second monitor, just interface directly with the low-level /dev/fb1.

    I know how to run menuconfig, rebuild and reboot a custom kernel. I need to know how to configure my kernel and how to get something displayed on my second monitor.

    I have downloaded 'ezfb' and am hoping to prove my kernel setup with that.
    Do I need any Nvidia drivers or do I rely on vesafb or vesa-tng?
    Here is some info on my setup :-

    lspci -t
    -[00]-+-00.0
    +-01.0-[01]----00.0
    ...
    +-1e.0-[02]--+-00.0
    +-01.0
    +-01.1
    \-02.0

    lspci | grep -i vga
    0000:01:00.0 VGA Compatible Controller:nVidia Corp NV11 [GeForce2 MX/MX 400] (rev b2)
    0000:02:02.0 VGA Compatible Controller:nVidia Corp NV34 [GeForce FX 5200] (reva1)

    ls -als /dev/fb*
    0 crw-rw---- 1 root video 29, 0 2006-11-03 12:00 /dev/fb0
    0 crw-rw---- 1 root video 29, 1 2006-11-03 12:00 /dev/fb1

    fbset -i -fb /dev/fb0

    mode "640x480-60"
    #D:25.176 MHz, H:31.469 kHz, V:59.942 Hz
    geometry 640 400 640 32767 8
    timings 39721 40 24 32 11 96 2
    accel true
    rgba 8/0,8/0,8/0,0/0
    endmode

    Frame buffer device information
    Name NV11
    Address 0xc000 0000
    Size 67108864
    Type PACKED PIXELS
    Visual PSEUDOCOLOR
    XPanStep 8
    YPanStep 1
    YWrapStep 0
    LineLength 0
    MMIO Address 0xfb000000
    MMIO Size 16777216
    Accelerator nVidia Arch 10


    fbset -i -fb /dev/fb1

    mode "640x480-60"
    #D:25.176 MHz, H:31.469 kHz, V:59.942 Hz
    geometry 640 400 640 3072 8
    timings 39721 40 24 32 11 96 2
    accel true
    rgba 8/0,8/0,8/0,0/0
    endmode

    Frame buffer device information
    Name NV32
    Address 0xd0000000
    Size 2097152
    Type PACKED PIXELS
    Visual PSEUDOCOLOR
    XPanStep 8
    YPanStep 1
    YWrapStep 0
    LineLength 0
    MMIO Address 0xff000000
    MMIO Size 16777216
    Accelerator nVidia Arch 30

    Currently I am seeing an error at boot-up related to my second graphics card ...

    PCI: Cannot allocate resource region 1 0000:02:02.0

    I am really struggling with this as it appears that everyone else is interested in setting-up framebuffer on primary monitors and/or using 'X'.

    What drivers should I include? Do I need any as modules? How can I correct the resource error? How may /dev/fb* should I be seeing? etc!!!

    Cheers!
    Last edited by shanz1999; 11-03-2006 at 01:38 PM. Reason: indentation needs improving

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...