LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-20-2005, 10:24 PM   #1
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Rep: Reputation: 30
Problems with riva driver (Frame Buffer)?


Alright, I recompiled my linux kernel from slackware 10.1. The original kernel was 2.4.something. I can't change the resolution on the console to 1024 by768 like I had it before. My computer is using a GeForce 4 graphics card. I installed the Riva driver directly into the kernel 2.6.9. My AGP drivers seem to be working correctly. I do not know how to test them. Yet, I have these messages recorded in my syslog file.

Nov 20 19:58:05 Blacktop kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Nov 20 19:58:05 Blacktop kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 07
Nov 20 19:58:05 Blacktop kernel: PCI: Probing PCI hardware
Nov 20 19:58:05 Blacktop kernel: PCI: Probing PCI hardware (bus 00)
Nov 20 19:58:05 Blacktop kernel: PCI: IRQ 0 for device 0000:00:1f.1 doesn't match PIRQ mask - try pci=usepirqmask
Nov 20 19:58:05 Blacktop kernel: rivafb: could not retrieve EDID from DDC/I2C
Nov 20 19:58:05 Blacktop kernel: rivafb: setting virtual Y resolution to 104857
Nov 20 19:58:05 Blacktop kernel: Console: switching to colour frame buffer device 80x30
Nov 20 19:58:05 Blacktop kernel: vesafb: abort, cannot reserve video memory at 0xf4000000
Nov 20 19:58:05 Blacktop kernel: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Nov 20 19:58:05 Blacktop kernel: Using anticipatory io scheduler

Any ideas of what I can do next?
 
Old 11-21-2005, 01:37 AM   #2
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
Try nvidiafb not riva! Also rivafb and nvidiafb will not work with the nvidia kernel driver for X, in case you need or use X
I have the same card and it's a pain setting it up!
I still can't solve one problem... ah
Oh and be sure to include agpgart and you chipset agp driver (mine is intel-agp) as modules and load them. You need them for X.
 
Old 11-21-2005, 01:52 AM   #3
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Original Poster
Rep: Reputation: 30
Thanks, does the nvidiafb driver come with the kernel or do I have to download it somewhere?
 
Old 11-21-2005, 01:59 AM   #4
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
It's in the kernel, just download the vanilla source (means unpatched) from kernel.org, and patch it if you really need to.
If you have simmilar hardware as mine or know your specs good then I can give you my .config or help you with yours!
Good Luck with Slackware!
 
Old 11-21-2005, 03:12 AM   #5
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Just a FYI, the closed-source nvidia driver (not the one in the kernel for Bob's benefit) provides it's own agpgart code so if you're using that driver then agpgart isn't needed. If you still have it loaded the nvidia module will fill your logs with complaints
 
Old 11-21-2005, 03:34 AM   #6
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
Talking Do you search for my threads?

Still have something with me?
I know that cs-cam!
I'm just taking it step by step! Do you know that the nvidia closed source agpgart driver has limited support, it only works on some chipsets? Check the docs: /usr/share/doc/nv-*/README.gz
It has support for my chipset, but I never tried that since the linux agpgart worked good for me. Also for bobs benfit you can select wich one the nvidia driver uses with the "NvAGP" option in xorg.conf (or XF-Config*), just be sure to have agpgart(the kernel one) and the' chipset'-agp built as modules and don't load them! let X(or better said nvidia) decide. Just to help people out here's mine:
Code:
Section "Module"
        Load    "dbe"
        Load    "extmod"
        Load    "fbdevhw"
        Load    "record"
        Load    "type1"
#       Load    "speedo"
        Load    "freetype"
#       Load    "xtt"
        Load    "glx"
EndSection

Section "Files"
        RgbPath         "/usr/X11R6/lib/X11/rgb"
        FontPath        "/usr/share/fonts/misc/"
        FontPath        "/usr/share/fonts/TTF/"
        FontPath        "/usr/share/fonts/Type1/"
#       FontPath        "/usr/share/fonts/CID/"
        FontPath        "/usr/share/fonts/75dpi/"
        FontPath        "/usr/share/fonts/100dpi/"
        FontPath        "/usr/share/fonts/local/"
#       FontPath        "/usr/share/fonts/Speedo/"
        FontPath        "/usr/share/fonts/TrueType/"
        FontPath        "/usr/share/fonts/freefont/"
#       ModulePath      "/usr/X11R6/lib/modules"
EndSection

Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

        Option  "BlankTime"     "5"     #5 minutes
        Option  "Standby"       "10"
        Option  "SuspendTime"   "20"
        Option  "Offtime"       "30"
EndSection

Section "InputDevice"

        Identifier      "Genius Black"
        Driver          "kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#       Option  "Protocol"      "Xqueue"

        Option  "AutoRepeat"    "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option     "Xleds"      "1 2 3"
#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"
#    Option "XkbDisable"
        Option  "XkbRules"      "xorg"
        Option  "XkbModel"      "pc104"
        Option  "XkbLayout"     "en_US"
        Option  "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier      "A4Tech Black"
        Driver  "mouse"
        Option  "Protocol"      "IMPS/2"
        Option  "Device"        "/dev/input/mouse0"
        Option  "ZAxisMapping"  "4 5"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"  "Xqueue"
EndSection

Section "Monitor"
        Identifier      "SDM-S93"
        HorizSync   28-80
        VertRefresh 48-75
        Option  "DPMS"
        DisplaySize     375 302
EndSection

Section "Device"
        Identifier      "GeForce4 MX440"
        Driver          "nvidia"
#       Option          "NvAGP"         "3"     #0:disable agp 1:use internal 2:use agpgart 3:try agpgart first
        Option          "NoLogo"        "yes"   #disable nvidia splash screen
#       Option          "RenderAccel"   "false" #default is false use at own risk
#       Option          "NoRenderExtension"     "" #default offered when possible
#       Option          "UBB"           "on"    #Unified BackBuffer on QUADRO
#       Option          "NoFlip"        "false" #default on when possible
        Option          "DigitalVibrance"       "25"    #0-255
#       Option          "Overlay"       "off"   #the default only on QUADRO
#       Option          "TransparentIndex"      "0"     #0-255 selects transparent pixel for trans visuals
        Option          "SWCursor"      "off"   #default off
        Option          "HWCursor"      "on"    #default on
        Option          "CursorShadow"  "on"    #not available on new hardware and QUADRO
        Option          "CursorShadowAlpha"     "64"    #0-255 transparent-opaque
        Option          "CursorShadowXOffset"   "4"     #0-32
        Option          "CursorYOffset"         "2"     #0-32
#       Option          "ConnectedMonitor"      "CRT"   #CRT, TV, DFP
        Option          "UseEdidFreqs"          "no"    #use provided horiz sync etc or edid ones
        Option          "IgnoreEDID"            "yes"   #ignore probing EDID may be dangerous
#       Option          "NoDDC"                 "yes"   #synonym for "IgnoreEDID"
#       Option          "UseInt10Module"        "off"   #soft-boot all secondary cards by POST or int10
        Option          "TwinView"              "no"    #Attach another display
#       Option          "TwinViewOrientation"   "Clone" #RightOf LeftOf Above Below Clone
#       Option          "SecondMonitorHorizSync"        "31-82"
#       Option          "SecondMonitorVertRefresh"      "55-120"
#       Option          "MetaModes"     ""      #modes to use on each display
#       Option          "TVStandard"    "PAL-B"
#       Option          "TVOutFormat"   "SVIDEO"        #SVIDEO COMPOSITE"
#       Option          "TVOverScan"    "0.0"   #0.0 - 1.0 screen size small - large
EndSection

Section "Screen"
        Identifier  "Screen 1"
        Device      "GeForce4 MX440"
        Monitor     "SDM-S93"
        DefaultDepth 24
        Subsection "Display"
                Depth       8
                Modes       "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort    0 0
        EndSubsection
        Subsection "Display"
                Depth       16
                Modes       "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort    0 0
        EndSubsection
        Subsection "Display"
                Depth       24
                Modes       "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort    0 0
        EndSubsection
#       Modeline PCLK HR HSS HSE HFL VR VSS VSE VFL
EndSection

Section "ServerLayout"
        Identifier      "Simple Layout"
        Screen  "Screen 1"
        InputDevice     "A4Tech Black"  "CorePointer"
        InputDevice     "Genius Black"  "CoreKeyboard"
EndSection

# Section "DRI"
#    Mode 0666
# EndSection
Would you happen to know anything about MTRR? I have a problem with the address range getting all reserved at boot, but I guess you know that since you might have searched for threads i answered so you can come and correct me!
 
Old 11-21-2005, 03:46 AM   #7
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Quote:
Still have something with me?
Not at all I could have cared less whether or not you knew, I posted for the sake of the OP and due to the nature of forums, anyone else who reads a thread can glean information from it. I am not following you and if for some reason we both reply to the same thread in the distant future, I won't be following you then either. Just clearing everything up
 
Old 11-21-2005, 03:50 AM   #8
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
Talking Same for me! I'm not following you!

Ok Anything about the MTRR? Search my thread about MTRR. No one replied so far
 
Old 11-22-2005, 11:21 PM   #9
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Original Poster
Rep: Reputation: 30
Thanks guys, I got it working. I just downloaded kernel 2.6.14.2 and everything worked fine.
 
Old 11-23-2005, 06:31 AM   #10
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
Question ??? ??? ???

What worked fine? Downloading? Or everything worked fine to the end, compiling, installing and setting up xorg?
 
Old 11-25-2005, 03:53 AM   #11
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Original Poster
Rep: Reputation: 30
Everything worked fine to the end. The GeForce 4 is now fully supported!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with frame buffer hostprotect Linux - Laptop and Netbook 2 11-16-2004 02:28 AM
nvidia driver form nvida & frame buffer console dosen't work together linuxlah Linux - General 0 03-11-2004 08:38 PM
Problems with changing the frame buffer setting in console. adz Linux - Software 1 10-23-2003 02:25 AM
Frame buffer bkeating Linux - Newbie 6 04-22-2003 06:09 PM
Frame buffer driver for intel 810 chipset.. suriyamohan Linux - Hardware 1 04-17-2003 02:55 AM


All times are GMT -5. The time now is 09:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration