public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module
@ 2008-01-29 22:06 Pupino
  2008-01-29 22:38 ` Alan McKinnon
  0 siblings, 1 reply; 9+ messages in thread
From: Pupino @ 2008-01-29 22:06 UTC (permalink / raw
  To: gentoo-user

Hi all,
I've got a weird trouble with Xorg...
At boot Xorg is loaded (it's in the default runlevel) but it does not
load the nvidia driver, but if I restart it from the command line
(without any change in the config) it works and loads the module
normally...
What could the trouble be? I have absolutly no clue...
Thanks in advance for any help
Davide
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module
  2008-01-29 22:06 [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module Pupino
@ 2008-01-29 22:38 ` Alan McKinnon
  2008-01-29 23:01   ` Pupino
  0 siblings, 1 reply; 9+ messages in thread
From: Alan McKinnon @ 2008-01-29 22:38 UTC (permalink / raw
  To: gentoo-user

On Wednesday 30 January 2008, Pupino wrote:
> Hi all,
> I've got a weird trouble with Xorg...
> At boot Xorg is loaded (it's in the default runlevel) but it does not
> load the nvidia driver, but if I restart it from the command line
> (without any change in the config) it works and loads the module
> normally...
> What could the trouble be? I have absolutly no clue...
> Thanks in advance for any help
> Davide

any clues in /var/log/Xorg.0.log?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module
  2008-01-29 22:38 ` Alan McKinnon
@ 2008-01-29 23:01   ` Pupino
  2008-01-30  0:36     ` Daniel Iliev
  0 siblings, 1 reply; 9+ messages in thread
From: Pupino @ 2008-01-29 23:01 UTC (permalink / raw
  To: gentoo-user

> any clues in /var/log/Xorg.0.log?

Yes! I've found this:
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
that is the only error reported...
But this suggests me nothing... I've looked at eselect and nvidia is
the opengl interface...
revdep-rebuild tells it's all ok...
I knew not other places to investigate...

Davide
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module
  2008-01-29 23:01   ` Pupino
@ 2008-01-30  0:36     ` Daniel Iliev
  2008-01-30 17:56       ` Pupino
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Iliev @ 2008-01-30  0:36 UTC (permalink / raw
  To: gentoo-user

On Wed, 30 Jan 2008 00:01:00 +0100
Pupino <pupinux@gmail.com> wrote:

> > any clues in /var/log/Xorg.0.log?
> 
> Yes! I've found this:
> (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver
> not found) that is the only error reported...
> But this suggests me nothing... I've looked at eselect and nvidia is
> the opengl interface...
> revdep-rebuild tells it's all ok...
> I knew not other places to investigate...
> 
> Davide


All you have to do in order to get the proprietery nvidia drv working
is:

1) make sure the open src nvidia drv is not built in-kernel or as kernel
module:

========
   Location:
     -> Device Drivers
       -> Graphics support
         -> Support for frame buffer devices (FB [=n])
	     -> nVidia Framebuffer Support = [N]
========

2) emerge nvidia-drivers
3) make sure /etc/X11/xorg.conf has >Driver "nvidia"<, not "nv" in
section "Device"
4) eselect opengl set nvidia


HTH

-- 
Best regards,
Daniel
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module
  2008-01-30  0:36     ` Daniel Iliev
@ 2008-01-30 17:56       ` Pupino
  2008-01-31  3:16         ` Daniel Iliev
  0 siblings, 1 reply; 9+ messages in thread
From: Pupino @ 2008-01-30 17:56 UTC (permalink / raw
  To: gentoo-user

> All you have to do in order to get the proprietery nvidia drv working
> is:
>
> 1) make sure the open src nvidia drv is not built in-kernel or as kernel
> module:
>
> ========
>    Location:
>      -> Device Drivers
>        -> Graphics support
>          -> Support for frame buffer devices (FB [=n])
>              -> nVidia Framebuffer Support = [N]
> ========
>
> 2) emerge nvidia-drivers
> 3) make sure /etc/X11/xorg.conf has >Driver "nvidia"<, not "nv" in
> section "Device"
> 4) eselect opengl set nvidia

Thanks for the help Daniel, but what you say hasn't fixed my problem...
I had framebuffer support in the kernel config, but not the nvidia fb
support, I've tried to remove it at all, but still doesn't work... the
other steps you have listed have already been done. In fact if I type
/etc/init.d/xdm restart after boot the driver is loaded correctly and
all works...

Davide
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module
  2008-01-30 17:56       ` Pupino
@ 2008-01-31  3:16         ` Daniel Iliev
  2008-01-31 12:18           ` Pupino
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Iliev @ 2008-01-31  3:16 UTC (permalink / raw
  To: gentoo-user

On Wed, 30 Jan 2008 18:56:30 +0100
Pupino <pupinux@gmail.com> wrote:

> > All you have to do in order to get the proprietery nvidia drv
> > working is:
> >
> > 1) make sure the open src nvidia drv is not built in-kernel or as
> > kernel module:
> >
> > ========
> >    Location:
> >      -> Device Drivers
> >        -> Graphics support
> >          -> Support for frame buffer devices (FB [=n])
> >              -> nVidia Framebuffer Support = [N]
> > ========
> >
> > 2) emerge nvidia-drivers
> > 3) make sure /etc/X11/xorg.conf has >Driver "nvidia"<, not "nv" in
> > section "Device"
> > 4) eselect opengl set nvidia
> 
> Thanks for the help Daniel, but what you say hasn't fixed my
> problem... I had framebuffer support in the kernel config, but not
> the nvidia fb support, I've tried to remove it at all, but still
> doesn't work... the other steps you have listed have already been
> done. In fact if I type /etc/init.d/xdm restart after boot the driver
> is loaded correctly and all works...
> 
> Davide


No, AFAIK, only the open source "nv" frame buffer (FB) driver can't work
together with the driver from Nvidia. You can have another (e.g. VESA)
FB support along with the proprietary driver.

Have you re-emerged "nvidia-drivers" after you recompiled the kernel?
If you use binary storage for the compiled packages, remove the
nvidia-drivers from there before emerging. I had such a problem:
portage extracts the backup package without really rebuilding the
driver (perhaps because it sees the same versions and USE flags).

So, you could try:

rm $PORTDIR/packages/All/nvidia*
emerge nvidia-drivers
eselect opengl nvidia



-- 
Best regards,
Daniel
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module
  2008-01-31  3:16         ` Daniel Iliev
@ 2008-01-31 12:18           ` Pupino
  2008-01-31 13:37             ` Daniel Iliev
  0 siblings, 1 reply; 9+ messages in thread
From: Pupino @ 2008-01-31 12:18 UTC (permalink / raw
  To: gentoo-user

2008/1/31, Daniel Iliev <daniel.iliev@gmail.com>:
> On Wed, 30 Jan 2008 18:56:30 +0100
> Pupino <pupinux@gmail.com> wrote:
>
> > > All you have to do in order to get the proprietery nvidia drv
> > > working is:
> > >
> > > 1) make sure the open src nvidia drv is not built in-kernel or as
> > > kernel module:
> > >
> > > ========
> > >    Location:
> > >      -> Device Drivers
> > >        -> Graphics support
> > >          -> Support for frame buffer devices (FB [=n])
> > >              -> nVidia Framebuffer Support = [N]
> > > ========
> > >
> > > 2) emerge nvidia-drivers
> > > 3) make sure /etc/X11/xorg.conf has >Driver "nvidia"<, not "nv" in
> > > section "Device"
> > > 4) eselect opengl set nvidia
> >
> > Thanks for the help Daniel, but what you say hasn't fixed my
> > problem... I had framebuffer support in the kernel config, but not
> > the nvidia fb support, I've tried to remove it at all, but still
> > doesn't work... the other steps you have listed have already been
> > done. In fact if I type /etc/init.d/xdm restart after boot the driver
> > is loaded correctly and all works...
> >
> > Davide
>
>
> No, AFAIK, only the open source "nv" frame buffer (FB) driver can't work
> together with the driver from Nvidia. You can have another (e.g. VESA)
> FB support along with the proprietary driver.
>
> Have you re-emerged "nvidia-drivers" after you recompiled the kernel?
> If you use binary storage for the compiled packages, remove the
> nvidia-drivers from there before emerging. I had such a problem:
> portage extracts the backup package without really rebuilding the
> driver (perhaps because it sees the same versions and USE flags).
>
> So, you could try:
>
> rm $PORTDIR/packages/All/nvidia*
> emerge nvidia-drivers
> eselect opengl nvidia
>
>
>
> --
> Best regards,
> Daniel
> --
> gentoo-user@lists.gentoo.org mailing list
>
>

Yes, i've got the vesa fb driver and not the nv one...
fot the binary storage, I don't use that and however I've tried to
recompile both xorg-server and nvidia-drivers... but without result...
Thanks the same however!

Davide
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module
  2008-01-31 12:18           ` Pupino
@ 2008-01-31 13:37             ` Daniel Iliev
  2008-01-31 17:32               ` Pupino
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Iliev @ 2008-01-31 13:37 UTC (permalink / raw
  To: gentoo-user

On Thu, 31 Jan 2008 13:18:40 +0100
Pupino <pupinux@gmail.com> wrote:

> 2008/1/31, Daniel Iliev <daniel.iliev@gmail.com>:
> > On Wed, 30 Jan 2008 18:56:30 +0100
> > Pupino <pupinux@gmail.com> wrote:
> >
> > > > All you have to do in order to get the proprietery nvidia drv
> > > > working is:
> > > >
> > > > 1) make sure the open src nvidia drv is not built in-kernel or
> > > > as kernel module:
> > > >
> > > > ========
> > > >    Location:
> > > >      -> Device Drivers
> > > >        -> Graphics support
> > > >          -> Support for frame buffer devices (FB [=n])
> > > >              -> nVidia Framebuffer Support = [N]
> > > > ========
> > > >
> > > > 2) emerge nvidia-drivers
> > > > 3) make sure /etc/X11/xorg.conf has >Driver "nvidia"<, not "nv"
> > > > in section "Device"
> > > > 4) eselect opengl set nvidia
> > >
> > > Thanks for the help Daniel, but what you say hasn't fixed my
> > > problem... I had framebuffer support in the kernel config, but not
> > > the nvidia fb support, I've tried to remove it at all, but still
> > > doesn't work... the other steps you have listed have already been
> > > done. In fact if I type /etc/init.d/xdm restart after boot the
> > > driver is loaded correctly and all works...
> > >
> > > Davide
> >
> >
> > No, AFAIK, only the open source "nv" frame buffer (FB) driver can't
> > work together with the driver from Nvidia. You can have another
> > (e.g. VESA) FB support along with the proprietary driver.
> >
> > Have you re-emerged "nvidia-drivers" after you recompiled the
> > kernel? If you use binary storage for the compiled packages, remove
> > the nvidia-drivers from there before emerging. I had such a problem:
> > portage extracts the backup package without really rebuilding the
> > driver (perhaps because it sees the same versions and USE flags).
> >
> > So, you could try:
> >
> > rm $PORTDIR/packages/All/nvidia*
> > emerge nvidia-drivers
> > eselect opengl nvidia
> >
> >
> >
> > --
> > Best regards,
> > Daniel
> > --
> > gentoo-user@lists.gentoo.org mailing list
> >
> >
> 
> Yes, i've got the vesa fb driver and not the nv one...
> fot the binary storage, I don't use that and however I've tried to
> recompile both xorg-server and nvidia-drivers... but without result...
> Thanks the same however!
> 
> Davide



The init sequence here is saying something like:

"udev is loading module nvidia...[OK]".

It is in the very beginning and if remove xdm from the init the
nvidia module is still loaded although unused. So, you could try to
remove xdm from your init, reboot and check if nvidia is loaded. If it
is absent from the output of "lsmod" you could try to make it load
autamatically by:

"echo nvidia >> /etc/modules.autoload.d/kernel-2.6"

...or even better - check if there isn't something wrong with udev.

Other than this, I'm running out of ideas.


-- 
Best regards,
Daniel
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module
  2008-01-31 13:37             ` Daniel Iliev
@ 2008-01-31 17:32               ` Pupino
  0 siblings, 0 replies; 9+ messages in thread
From: Pupino @ 2008-01-31 17:32 UTC (permalink / raw
  To: gentoo-user

2008/1/31, Daniel Iliev <daniel.iliev@gmail.com>:
> On Thu, 31 Jan 2008 13:18:40 +0100
> Pupino <pupinux@gmail.com> wrote:
>
> > 2008/1/31, Daniel Iliev <daniel.iliev@gmail.com>:
> > > On Wed, 30 Jan 2008 18:56:30 +0100
> > > Pupino <pupinux@gmail.com> wrote:
> > >
> > > > > All you have to do in order to get the proprietery nvidia drv
> > > > > working is:
> > > > >
> > > > > 1) make sure the open src nvidia drv is not built in-kernel or
> > > > > as kernel module:
> > > > >
> > > > > ========
> > > > >    Location:
> > > > >      -> Device Drivers
> > > > >        -> Graphics support
> > > > >          -> Support for frame buffer devices (FB [=n])
> > > > >              -> nVidia Framebuffer Support = [N]
> > > > > ========
> > > > >
> > > > > 2) emerge nvidia-drivers
> > > > > 3) make sure /etc/X11/xorg.conf has >Driver "nvidia"<, not "nv"
> > > > > in section "Device"
> > > > > 4) eselect opengl set nvidia
> > > >
> > > > Thanks for the help Daniel, but what you say hasn't fixed my
> > > > problem... I had framebuffer support in the kernel config, but not
> > > > the nvidia fb support, I've tried to remove it at all, but still
> > > > doesn't work... the other steps you have listed have already been
> > > > done. In fact if I type /etc/init.d/xdm restart after boot the
> > > > driver is loaded correctly and all works...
> > > >
> > > > Davide
> > >
> > >
> > > No, AFAIK, only the open source "nv" frame buffer (FB) driver can't
> > > work together with the driver from Nvidia. You can have another
> > > (e.g. VESA) FB support along with the proprietary driver.
> > >
> > > Have you re-emerged "nvidia-drivers" after you recompiled the
> > > kernel? If you use binary storage for the compiled packages, remove
> > > the nvidia-drivers from there before emerging. I had such a problem:
> > > portage extracts the backup package without really rebuilding the
> > > driver (perhaps because it sees the same versions and USE flags).
> > >
> > > So, you could try:
> > >
> > > rm $PORTDIR/packages/All/nvidia*
> > > emerge nvidia-drivers
> > > eselect opengl nvidia
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Daniel
> > > --
> > > gentoo-user@lists.gentoo.org mailing list
> > >
> > >
> >
> > Yes, i've got the vesa fb driver and not the nv one...
> > fot the binary storage, I don't use that and however I've tried to
> > recompile both xorg-server and nvidia-drivers... but without result...
> > Thanks the same however!
> >
> > Davide
>
>
>
> The init sequence here is saying something like:
>
> "udev is loading module nvidia...[OK]".
>
> It is in the very beginning and if remove xdm from the init the
> nvidia module is still loaded although unused. So, you could try to
> remove xdm from your init, reboot and check if nvidia is loaded. If it
> is absent from the output of "lsmod" you could try to make it load
> autamatically by:
>
> "echo nvidia >> /etc/modules.autoload.d/kernel-2.6"
>
> ...or even better - check if there isn't something wrong with udev.
>
> Other than this, I'm running out of ideas.
>
>
> --
> Best regards,
> Daniel
> --
> gentoo-user@lists.gentoo.org mailing list
>
>

udev loads correctly the nvidia module with and without xdm in the
default runlevel
I don't know what to think about this...
-- 
gentoo-user@lists.gentoo.org mailing list



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

end of thread, other threads:[~2008-01-31 17:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-29 22:06 [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module Pupino
2008-01-29 22:38 ` Alan McKinnon
2008-01-29 23:01   ` Pupino
2008-01-30  0:36     ` Daniel Iliev
2008-01-30 17:56       ` Pupino
2008-01-31  3:16         ` Daniel Iliev
2008-01-31 12:18           ` Pupino
2008-01-31 13:37             ` Daniel Iliev
2008-01-31 17:32               ` Pupino

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