Gentoo Archives: gentoo-user

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

Replies