Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia graphics
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
autumn_star
n00b
n00b


Joined: 16 Sep 2004
Posts: 28

PostPosted: Sat Sep 25, 2004 12:06 am    Post subject: nvidia graphics Reply with quote

Just got kernel 2.6.7 booting!!!!

But XFree86 doesn't come up.

Here's my XF86Config-4:

Code:

# File generated by Xautoconfig4.
Section "ServerLayout"
   Identifier   "XFree86 Configured"
   Screen      0  "Screen0" 0 0
   InputDevice   "Mouse0" "CorePointer"
   InputDevice   "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

   RgbPath   "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

#   FontPath   "unix/:7100"
#   FontPath   "unix/:-1"
   # If X can't find it's default font, try uncommenting these:
   FontPath   "/usr/X11R6/lib/X11/fonts/local/"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath   "/usr/X11R6/lib/X11/fonts/truetype/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

   ModulePath   "/usr/X11R6/lib/modules"

EndSection

Section "Module"
   Load   "GLcore"
   Load   "dbe"
   Load   "extmod"
   Load   "glx"
   Load   "record"
   Load   "dri"
   Load   "bitmap"
   Load   "type1"
   Load   "speedo"
   Load   "freetype"
   # Uncomment for Video4Linux support
   #Load   "v4l"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver      "keyboard"
   Option      "CustomKeycodes"
   Option      "XkbModel"   "macintosh"
   Option      "XkbRules"   "xfree"
   Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
   Identifier   "Mouse0"
   Driver      "mouse"
   Option      "ZAxisMapping"   "4 5"
   Option      "Protocol"   "IMPS/2"
   Option      "Device"   "/dev/input/mice"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   UseModes   "Modes0"
   ModelName   "Monitor Model"
   Option      "DPMS"
   HorizSync   30-70
   VertRefresh   50-160
EndSection

Section "Modes"
   Identifier   "Modes0"

   # Apple iMac modes
   Modeline "1024x768"   78.525 1024 1049 1145 1312   768  769  772  800 +hsync +vsync
   Modeline "800x600"    62.357  800  821  901 1040   600  601  604  632 +hsync +vsync
   Modeline "640x480"    49.886  640  661  725  832   480  481  484  514 +hsync +vsync
   # Apple monitors tend to do 832x624
   Modeline "832x624"    57      832  876  940 1152   624  625  628  667 -hsync -vsync
   # Apple PowerBook G3
   Modeline "800x600"    100     800  816  824  840   600  616  624  640 -hsync -vsync
   # Generated
   # D: 100.000 MHz, H: 93.985 kHz, V: 116.318 Hz
   Modeline "1024x768" 100.000 1024 1040 1048 1064  768 784 792 808  -HSync -VSync
EndSection
Section "Device"
   Identifier   "Card0"
   #Option   "ShadowFB"   "true"
   Option   "fbdev"      "/dev/fb0"
   Driver   "fbdev"
   BusID   "PCI:0:16:0"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device      "Card0"
   Monitor      "Monitor0"
   DefaultDepth   24
   SubSection "Display"
      Depth      8
      Modes       "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes       "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes       "1024x768"
   EndSubSection
EndSection


This config works in kernel 2.4.

Also, how could I configure this for my nVidia card?

I've got rivafb as a module in kernel 2.6.

How can I configure nVidia in XFree anyway?
_________________
Quicksilver 2002
kernel 2.4.24-ppc-r2
Back to top
View user's profile Send private message
Slyde
Guru
Guru


Joined: 14 Jul 2003
Posts: 314

PostPosted: Sat Sep 25, 2004 5:18 am    Post subject: Reply with quote

You need to make sure /usr/src/linux is symlinked to your new /usr/src/linux-2.6.7 whatever

Second, you need to remerge nvidia-kernel and nvidia-glx

Then, modprobe nvidia.
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Sat Sep 25, 2004 6:17 am    Post subject: Reply with quote

Do not follow this advice, nvidia-kernel and nvidia-glx are not for ppc.
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sat Sep 25, 2004 3:01 pm    Post subject: Reply with quote

You do not say what are the X error messages. I've had a bit of a problem with my keyboard in the new Xorg, the following section did it:
Code:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc101"
        Option          "XkbLayout"     "us"
EndSection

This might or might not be your problem, I would not know, try to post some error messages maybe.

Secondly, you may not want to load DRI since you are using the fbdev device. It probably does not hurt though, the extension would not load anyway.

As for how to configure your card, I am afraid you are stuck for the forseable future with unaccelerated video in the Nvidia world, they do release closed, binary drivers, but only for x86. That's why I will never get a machine with Nvidia on it.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sat Sep 25, 2004 3:09 pm    Post subject: Re: nvidia graphics Reply with quote

Oh, forgot to mention, for the same reason (unaccelerated graphics available for Nvidia chipset) you may also want to comment out the GLcore and glx module loading directives beside dri. Again, this may or may not be your problem.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum