public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] nvidia and X
@ 2006-02-01 12:03 Stefan Istvan
  2006-02-01 12:24 ` Pongracz Istvan
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Stefan Istvan @ 2006-02-01 12:03 UTC (permalink / raw
  To: gentoo levlist

Hello List!

I have a videocard of this type:
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2
Model 64/Model 64 Pro] (rev 15)

I installed nvidia-glx as it is described in the Gentoo Linux nVidia
Guide ( http://www.gentoo.org/doc/en/nvidia-guide.xml )
When I start X, I get the following error:
Failed to initialize the NVIDIA kernel module!

If I change the Diver section in the X config file from nvidia to nv, X
starts up, but without 3D support.

Thank you for your help in advance,
Istvan




-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] nvidia and X
  2006-02-01 12:03 [gentoo-user] nvidia and X Stefan Istvan
@ 2006-02-01 12:24 ` Pongracz Istvan
  2006-02-01 12:49 ` Neil Bothwick
  2006-02-01 14:24 ` Hemmann, Volker Armin
  2 siblings, 0 replies; 8+ messages in thread
From: Pongracz Istvan @ 2006-02-01 12:24 UTC (permalink / raw
  To: gentoo-user

You have to check your /usr/src/linux point to the current used kernel.
You have to emerge nvidia-kernel ebuild to.
This will provide you the missing nvidia kernel module.
You have to write it to the /etc/modules.autoload/2.6blah-blah-blah to 
load it every system start.

István

Stefan Istvan wrote:
> Hello List!
>
> I have a videocard of this type:
> 01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2
> Model 64/Model 64 Pro] (rev 15)
>
> I installed nvidia-glx as it is described in the Gentoo Linux nVidia
> Guide ( http://www.gentoo.org/doc/en/nvidia-guide.xml )
> When I start X, I get the following error:
> Failed to initialize the NVIDIA kernel module!
>
> If I change the Diver section in the X config file from nvidia to nv, X
> starts up, but without 3D support.
>
> Thank you for your help in advance,
> Istvan
>
>
>
>
>   

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] nvidia and X
  2006-02-01 12:03 [gentoo-user] nvidia and X Stefan Istvan
  2006-02-01 12:24 ` Pongracz Istvan
@ 2006-02-01 12:49 ` Neil Bothwick
  2006-02-01 14:24 ` Hemmann, Volker Armin
  2 siblings, 0 replies; 8+ messages in thread
From: Neil Bothwick @ 2006-02-01 12:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 802 bytes --]

On Wed, 01 Feb 2006 13:03:14 +0100, Stefan Istvan wrote:

> I have a videocard of this type:
> 01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2
> Model 64/Model 64 Pro] (rev 15)
> 
> I installed nvidia-glx as it is described in the Gentoo Linux nVidia
> Guide ( http://www.gentoo.org/doc/en/nvidia-guide.xml )
> When I start X, I get the following error:
> Failed to initialize the NVIDIA kernel module!

Which version of the Nvidia river did you install? Later versions don't
work with TNT2 cards. To fix it, do

echo >>/etc/portage/package.mask ">=media-video/nvidia-kernel-1.0.7664"
echo >>/etc/portage/package.mask ">=media-video/nvidia-glx-1.0.7664"
emerge --oneshot nvidia-kernel nvidia-glx


-- 
Neil Bothwick

.sig? we don't need no stinkin' .sig!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] nvidia and X
  2006-02-01 12:03 [gentoo-user] nvidia and X Stefan Istvan
  2006-02-01 12:24 ` Pongracz Istvan
  2006-02-01 12:49 ` Neil Bothwick
@ 2006-02-01 14:24 ` Hemmann, Volker Armin
  2006-02-02  7:11   ` Stefan Istvan
  2 siblings, 1 reply; 8+ messages in thread
From: Hemmann, Volker Armin @ 2006-02-01 14:24 UTC (permalink / raw
  To: gentoo-user

Hi,

load the module before starting X.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] nvidia and X
  2006-02-01 14:24 ` Hemmann, Volker Armin
@ 2006-02-02  7:11   ` Stefan Istvan
  2006-02-02 10:21     ` Hemmann, Volker Armin
  2006-02-02 10:42     ` Neil Bothwick
  0 siblings, 2 replies; 8+ messages in thread
From: Stefan Istvan @ 2006-02-02  7:11 UTC (permalink / raw
  To: gentoo levlist

> Hi,
> 
> load the module before starting X.

Hello,
I got three answers to my question, and I answer now for all of the
three here:

Istvan, Hermann:
I installed the nvidia-kernel ebuild, and I load the nvidia kernel
module before starting X.
# lsmod|grep nvidia
nvidia               3469788  0 
agpgart                34508  2 nvidia,via_agp

I realised that I have another nvidia kernel module:
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/char/agp/nvidia-agp.ko
Unfortunately X doesn't start with this module either.

Neil:
Yes, I know that the new version of Nvidia driver does not support my
card, when I tried to install it warned me about it. So, I put those two
lines into the package.mask file, and I installed
nvidia-kernel-1.0.6629-r4 and nvidia-glx-1.0.6629-r6.

I think, that X complains not about the kernel module, but the nvidia
module of Xorg, which is located in
/usr/lib/modules/drivers/nvidia_drv.o and part of the nvidia-glx
package.

Here is some part of the X log:
(--) PCI:*(1:0:0) nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64
Pro] rev 21, Mem @ 0xf4000000/24, 0xf6000000/25, BIOS @ 0xf5ff0000/16

(II) NVIDIA X Driver  1.0-6629  Wed Nov  3 13:14:07 PST 2004
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xF6000000
(--) NVIDIA(0): MMIO registers at 0xF4000000
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.

If other part of the log is needed to find out what's wrong, tell me,
and I will provide it.


Thank you,
Istvan



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] nvidia and X
  2006-02-02  7:11   ` Stefan Istvan
@ 2006-02-02 10:21     ` Hemmann, Volker Armin
  2006-02-02 10:42     ` Neil Bothwick
  1 sibling, 0 replies; 8+ messages in thread
From: Hemmann, Volker Armin @ 2006-02-02 10:21 UTC (permalink / raw
  To: gentoo-user

On Thursday 02 February 2006 08:11, Stefan Istvan wrote:


>
> If other part of the log is needed to find out what's wrong, tell me,
> and I will provide it.

ok, I am way out of my waters.

I think, you should try it here:
http://www.nvnews.net/vbulletin/forumdisplay.php?s=&forumid=14

it is the nvidia support forum.

Maybe a search there will give you an answer, but if not, you should run 
nvidia-bug.sh (as root) and post it there together with your 
qiestion/problem.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] nvidia and X
  2006-02-02  7:11   ` Stefan Istvan
  2006-02-02 10:21     ` Hemmann, Volker Armin
@ 2006-02-02 10:42     ` Neil Bothwick
  2006-02-02 16:27       ` Stefan Istvan
  1 sibling, 1 reply; 8+ messages in thread
From: Neil Bothwick @ 2006-02-02 10:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

On Thu, 02 Feb 2006 08:11:27 +0100, Stefan Istvan wrote:

> Yes, I know that the new version of Nvidia driver does not support my
> card, when I tried to install it warned me about it. So, I put those two
> lines into the package.mask file, and I installed
> nvidia-kernel-1.0.6629-r4 and nvidia-glx-1.0.6629-r6.

I'm using 1.0.7174-r2 and 1.0.7174-r5 here on a TNT2.

> I think, that X complains not about the kernel module, but the nvidia
> module of Xorg, which is located in
> /usr/lib/modules/drivers/nvidia_drv.o and part of the nvidia-glx
> package.
> 
> Here is some part of the X log:
> (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!

It definitely states the problem is with the kernel module. Try the 7174
version, some of the earlier ones had problems with udev.


-- 
Neil Bothwick

Beware of cover disks bearing upgrades.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] nvidia and X
  2006-02-02 10:42     ` Neil Bothwick
@ 2006-02-02 16:27       ` Stefan Istvan
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Istvan @ 2006-02-02 16:27 UTC (permalink / raw
  To: gentoo levlist

> On Thu, 02 Feb 2006 08:11:27 +0100, Stefan Istvan wrote:
> 
> > Yes, I know that the new version of Nvidia driver does not support my
> > card, when I tried to install it warned me about it. So, I put those two
> > lines into the package.mask file, and I installed
> > nvidia-kernel-1.0.6629-r4 and nvidia-glx-1.0.6629-r6.
> 
> I'm using 1.0.7174-r2 and 1.0.7174-r5 here on a TNT2.
> 
> > I think, that X complains not about the kernel module, but the nvidia
> > module of Xorg, which is located in
> > /usr/lib/modules/drivers/nvidia_drv.o and part of the nvidia-glx
> > package.
> > 
> > Here is some part of the X log:
> > (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
> 
> It definitely states the problem is with the kernel module. Try the 7174
> version, some of the earlier ones had problems with udev.

I've tried the version you suggested, but have the same result.
But I found this in the kernel log:
ACPI: PCI interrupt for device 0000:01:00.0 disabled
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 201
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7174  Tue Mar
22 06:44:39 PST 2005

What does this mean?

Thanks,
Istvan


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-02 16:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-01 12:03 [gentoo-user] nvidia and X Stefan Istvan
2006-02-01 12:24 ` Pongracz Istvan
2006-02-01 12:49 ` Neil Bothwick
2006-02-01 14:24 ` Hemmann, Volker Armin
2006-02-02  7:11   ` Stefan Istvan
2006-02-02 10:21     ` Hemmann, Volker Armin
2006-02-02 10:42     ` Neil Bothwick
2006-02-02 16:27       ` Stefan Istvan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox