Skip to contentSkip to conversation

Nvidia support

DISCUSSION brad allison 3 participants 3 messages May 20, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 24 lines · Bill Fink
Quoted 13 lines · brad allison

I was talking about my G4 900Mhz Quicksilver which came with a GeForce4 card.

I was able to find a co-worker who has an older G4 with a GeForce2 MX card and we traded.

So I'm now testing against the GeForce2 MX card which is listed as "supported".

I was able to X working with it using the "nv" driver however it seems to ignore everything in /etc/X11/XF86Config-4 and it boots into whatever resolution it wants. The numbers don't match.

Quoted 8 lines

I figured this would be the fb settings so I checked what fbset says. fbset says I'm at mode "640x480-283" which is what my consoles are running at.

I selected 1280x1024 in Xconfigurator, when X starts it's coming up in 1280x960.

Anyone know why? Or how to fix this?

Quoted 8 lines

You might give this a try:

First boot a kernel with the riva kernel driver enabled but don't start X, i.e. boot into runlevel 3. Create a new entry in /etc/yaboot.conf with something like the following line added:

	append="video=riva:1280x1024-24@60 3"

Nothing I did on the command line changed resolution.

So, then I installed MacOSX on one of the other partitions. Inside MacOSX I set the resolution to 1280x1024, then rebooted. Now the yaboot prompt, boot prompt, and console messages all come up at 1280x1024.

I booted with ben's kernel with the "novideo" option in yaboot.conf into init 3.

Then I re-ran Xconfiguration. Added lines to /etc/X11/XF86Config-4 from fbset -x, and changed the driver to "nv".

When I run X it -still- comes up in 1280x960 @ 60.00.

So it's ignoring both the fb settings -and- the XF86Config-4 and booting into whatever resolution it can sync too.

-b

--
Brad Allison
AOL Core Services -- RHCE
jackal.is.dreaming.org [email protected] 703.265.0908 aim:jackal242

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 9 lines · brad allison

Nothing I did on the command line changed resolution.

So, then I installed MacOSX on one of the other partitions. Inside MacOSX I set the resolution to 1280x1024, then rebooted. Now the yaboot prompt, boot prompt, and console messages all come up at 1280x1024.

I booted with ben's kernel with the "novideo" option in yaboot.conf into init 3.

Quoted 7 lines

Then I re-ran Xconfiguration. Added lines to /etc/X11/XF86Config-4 from fbset -x, and changed the driver to "nv".

When I run X it -still- comes up in 1280x960 @ 60.00.

So it's ignoring both the fb settings -and- the XF86Config-4 and booting into whatever resolution it can sync too.

Check /var/log/XFree86-0.log. It may have some information on why XF86 is selecting another resolution.

BTW, you may actually want 1280x960 on your monitor. x960 is a 4:3 aspect ratio resolution, x1024 is 5:4. Most monitors are 4:3, so you can't expand a 5:4 resolution to fill the screen on them without getting an image that is squashed vertically. The only 5:4 monitors I know of are 17" and 18" LCD monitors whose native resolution is 1280x1024.

--
Tim Seufert

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
In reply to brad allison
Quoted 41 lines · brad allison
Quoted 23 lines · Bill Fink
Quoted 13 lines · brad allison

I was talking about my G4 900Mhz Quicksilver which came with a GeForce4 card.

I was able to find a co-worker who has an older G4 with a GeForce2 MX card and we traded.

So I'm now testing against the GeForce2 MX card which is listed as "supported".

I was able to X working with it using the "nv" driver however it seems to ignore everything in /etc/X11/XF86Config-4 and it boots into whatever resolution it wants. The numbers don't match.

Quoted 8 lines

I figured this would be the fb settings so I checked what fbset says. fbset says I'm at mode "640x480-283" which is what my consoles are running at.

I selected 1280x1024 in Xconfigurator, when X starts it's coming up in 1280x960.

Anyone know why? Or how to fix this?

Quoted 7 lines

You might give this a try:

First boot a kernel with the riva kernel driver enabled but don't start X, i.e. boot into runlevel 3. Create a new entry in /etc/yaboot.conf with something like the following line added:

	append="video=riva:1280x1024-24@60 3"

Nothing I did on the command line changed resolution.

So, then I installed MacOSX on one of the other partitions. Inside MacOSX I set the resolution to 1280x1024, then rebooted. Now the yaboot prompt, boot prompt, and console messages all come up at 1280x1024.

I booted with ben's kernel with the "novideo" option in yaboot.conf into init 3.

Quoted 7 lines

Then I re-ran Xconfiguration. Added lines to /etc/X11/XF86Config-4 from fbset -x, and changed the driver to "nv".

When I run X it -still- comes up in 1280x960 @ 60.00.

So it's ignoring both the fb settings -and- the XF86Config-4 and booting into whatever resolution it can sync too.

I have the G4/733 DVD-R Mac ( The one before the quicksilver I think) with the NVidia GeForce 2MX

I use two configurations with YDL 2.2 and XFree 4.0.2
1) video=riva:1280x1024-8@85 console driver and fbdev XFree driver
I can choose the resolution of the console at boot time and XFree at multiple resolutions
2) video=ofonly for the console and nv driver in XFree
I am fixed at the last Mac resolution for the console, but XFree can run at multiple resolutions.

I enclose the relevant entries from my XF86Config-4
Note: not all resolutions listed actually work (maybe dot clock, hsync or vsync limits)

# ********************************************************************** # Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "ProNitron 19/800"

HorizSync 50-120

VertRefresh 70-100

Option "DPMS"
DisplaySize 360 270

Modeline "1280x1024"  157.50  1280 1344 1504 1728  1024 1025 1028 1072 +hsync +vsync -csync
Modeline "1600x1200"  220.02  1600 1624 1808 2080  1200 1204 1207 1244 +hsync +vsync -csync

EndSection

# ********************************************************************** # Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"

    Identifier  "NVIDIA GeForce"
    Driver      "nv"
    BusID       "PCI:0:16:0"
    VideoRam    32768
#    Option      "HWCursor"	"true"
#    Option	"NoINT10"
#    Option	"NoDDC"
#    Option      "NoAccel"	"true"
#    Option	"UseFBDev"

# Insert Clocks lines here if appropriate
EndSection

Section "Device"

    Identifier  "Frame Buffer"
    Driver      "fbdev"
    BusID       "PCI:0:16:0"
    VideoRam    32768

# Insert Clocks lines here if appropriate
EndSection

# ********************************************************************** # Screen sections
# **********************************************************************

Section "Screen"
Identifier "Screen 1"
#Device "NVIDIA GeForce"
Device "Frame Buffer"
Monitor "ProNitron 19/800"
#Option "NoAccel"
DefaultDepth 16

Subsection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480-75"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480-75"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480-75"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480-75"
ViewPort 0 0
EndSubsection
EndSection

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/