Gentoo Archives: gentoo-user

From: Pupino <pupinux@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module
Date: Thu, 31 Jan 2008 17:32:36
Message-Id: dad98e440801310932m2db85d38s5ee8a7bba72cb524@mail.gmail.com
In Reply to: Re: [gentoo-user] Strange Xorg behaviour, not (always) loading nvidia module by Daniel Iliev
1 2008/1/31, Daniel Iliev <daniel.iliev@×××××.com>:
2 > On Thu, 31 Jan 2008 13:18:40 +0100
3 > Pupino <pupinux@×××××.com> wrote:
4 >
5 > > 2008/1/31, Daniel Iliev <daniel.iliev@×××××.com>:
6 > > > On Wed, 30 Jan 2008 18:56:30 +0100
7 > > > Pupino <pupinux@×××××.com> wrote:
8 > > >
9 > > > > > All you have to do in order to get the proprietery nvidia drv
10 > > > > > working is:
11 > > > > >
12 > > > > > 1) make sure the open src nvidia drv is not built in-kernel or
13 > > > > > as kernel module:
14 > > > > >
15 > > > > > ========
16 > > > > > Location:
17 > > > > > -> Device Drivers
18 > > > > > -> Graphics support
19 > > > > > -> Support for frame buffer devices (FB [=n])
20 > > > > > -> nVidia Framebuffer Support = [N]
21 > > > > > ========
22 > > > > >
23 > > > > > 2) emerge nvidia-drivers
24 > > > > > 3) make sure /etc/X11/xorg.conf has >Driver "nvidia"<, not "nv"
25 > > > > > in section "Device"
26 > > > > > 4) eselect opengl set nvidia
27 > > > >
28 > > > > Thanks for the help Daniel, but what you say hasn't fixed my
29 > > > > problem... I had framebuffer support in the kernel config, but not
30 > > > > the nvidia fb support, I've tried to remove it at all, but still
31 > > > > doesn't work... the other steps you have listed have already been
32 > > > > done. In fact if I type /etc/init.d/xdm restart after boot the
33 > > > > driver is loaded correctly and all works...
34 > > > >
35 > > > > Davide
36 > > >
37 > > >
38 > > > No, AFAIK, only the open source "nv" frame buffer (FB) driver can't
39 > > > work together with the driver from Nvidia. You can have another
40 > > > (e.g. VESA) FB support along with the proprietary driver.
41 > > >
42 > > > Have you re-emerged "nvidia-drivers" after you recompiled the
43 > > > kernel? If you use binary storage for the compiled packages, remove
44 > > > the nvidia-drivers from there before emerging. I had such a problem:
45 > > > portage extracts the backup package without really rebuilding the
46 > > > driver (perhaps because it sees the same versions and USE flags).
47 > > >
48 > > > So, you could try:
49 > > >
50 > > > rm $PORTDIR/packages/All/nvidia*
51 > > > emerge nvidia-drivers
52 > > > eselect opengl nvidia
53 > > >
54 > > >
55 > > >
56 > > > --
57 > > > Best regards,
58 > > > Daniel
59 > > > --
60 > > > gentoo-user@l.g.o mailing list
61 > > >
62 > > >
63 > >
64 > > Yes, i've got the vesa fb driver and not the nv one...
65 > > fot the binary storage, I don't use that and however I've tried to
66 > > recompile both xorg-server and nvidia-drivers... but without result...
67 > > Thanks the same however!
68 > >
69 > > Davide
70 >
71 >
72 >
73 > The init sequence here is saying something like:
74 >
75 > "udev is loading module nvidia...[OK]".
76 >
77 > It is in the very beginning and if remove xdm from the init the
78 > nvidia module is still loaded although unused. So, you could try to
79 > remove xdm from your init, reboot and check if nvidia is loaded. If it
80 > is absent from the output of "lsmod" you could try to make it load
81 > autamatically by:
82 >
83 > "echo nvidia >> /etc/modules.autoload.d/kernel-2.6"
84 >
85 > ...or even better - check if there isn't something wrong with udev.
86 >
87 > Other than this, I'm running out of ideas.
88 >
89 >
90 > --
91 > Best regards,
92 > Daniel
93 > --
94 > gentoo-user@l.g.o mailing list
95 >
96 >
97
98 udev loads correctly the nvidia module with and without xdm in the
99 default runlevel
100 I don't know what to think about this...
101 --
102 gentoo-user@l.g.o mailing list