Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: The NVIDIA/Kernel fiasco -- is it safe to sync yet?
Date: Sun, 25 Aug 2013 20:10:02
Message-Id: 521A63BE.4090006@gmail.com
In Reply to: Re: [gentoo-user] Re: The NVIDIA/Kernel fiasco -- is it safe to sync yet? by Mick
1 On 25/08/2013 18:34, Mick wrote:
2 > On Sunday 25 Aug 2013 17:18:09 Alan McKinnon wrote:
3 >> On 25/08/2013 02:45, »Q« wrote:
4 >>> On Sat, 24 Aug 2013 09:49:43 +0200
5 >>>
6 >>> Alan McKinnon <alan.mckinnon@×××××.com> wrote:
7 >>>> On 24/08/2013 06:26, Chris Stankevitz wrote:
8 >>>>> On Fri, Aug 23, 2013 at 9:12 PM, »Q« <boxcars@×××.net> wrote:
9 >>>>>> It looks like maybe the best way to tell which ebuilds support
10 >>>>>> which kernels is to read the conditional for the ewarn message in
11 >>>>>> each ebuild.
12 >>>>>
13 >>>>> If this sort of problem spreads it might be good to build into
14 >>>>> portage some kind of blocker/keyword mechanism so that users need
15 >>>>> not deal with this.... not that I have any appreciation for the
16 >>>>> work involved.
17 >>>>
18 >>>> Those tools already exist.
19 >>>>
20 >>>> Blockers, which do not really apply here;
21 >>>
22 >>> In a comment on the bug (which is full of bugspam), someone suggested
23 >>> blocking kernels which are incompatible with the currently-installed
24 >>> nvidia-drivers. I'm glad that idea was dismissed.
25 >>>
26 >>>> elog messages
27 >>>
28 >>> Those elog messages are presented after compiling a new kernel and then
29 >>> trying and failing to compile nvidia-drivers. So now I grep the
30 >>> nvidia-drivers ebuilds for the messages before I compile a new kernel.
31 >>>
32 >>> A wiki page with info about which nvidia-drivers will build against
33 >>> which kernels would be a nice thing to have.
34 >>
35 >> Your reply demonstrates nicely the true nature of the problem:
36 >>
37 >> With nvidia-drivers, sometimes things break and there's nothing sane
38 >> that portage and the devs can do to help you. You can't check the
39 >> configured kernels as they may not be running. You can't check the
40 >> installed sources as they may not be in use. You can't even try identify
41 >> the sources symlinked by /usr/src/linux as they may have been patched,
42 >> tweaked or modified and nvidia-drivers may well build whereas against
43 >> stock sources they don't.
44 >>
45 >> The entire problem is completely due to how nVidia chose to do things,
46 >> it's their business decision. Now, if they were to get their shim code
47 >> into mainline, most of this nonsense would not happen anymore.
48 >>
49 >> The only thing left for Portage and the devs to do is to provide the
50 >> ebuild and ask you to run it. If it doesn't compile, then don't run that
51 >> kernel.
52 >>
53 >> I doubt your wiki page idea will work, it will be just accurate enough
54 >> to look like it might work and just inaccurate enough to be useless.
55 >> Which brings you back to the previous paragraph - try emerge
56 >> nvidia-drivers and if it fails then don't use that kernel.
57 >
58 > I've been always running ATI Radeon cards, by accident rather than design. I
59 > was thinking of moving to NVidia on a new box to be built soon, because of the
60 > many accolades that I have read on the Internet, but reports of problems like
61 > this make me pause for thought. Sure it's not major borkage, but it is an
62 > inconvenience. How do NVidia users manage such problems? Trial and error?
63
64
65 The second (trial and error). When you find a combination that works
66 correctly and well, mark it in your mind as stable++ and stick with it.
67
68 My current laptop has a Radeon, the three before that were nVidia. I
69 just got used to having to use a kernel that was a few versions behind
70 the most current one to be able to use the binary blob driver. It's
71 really no big deal in the grand scheme of things - kernels don't change
72 their behaviour *that* much between versions - most user-facing changes
73 are new drivers and decent power management stuff. More often than not
74 the user will have got along just nicely with an older kernel for a
75 while, and that kernel will carry on doing what it always did and work.
76 It's very rare that a user *must* have some new kernel and absolutely
77 cannot go back to an earlier version.
78
79 I satisfied myself with trying the most recent kernels once a month and
80 seeing if the drivers built. If yes, and they worked, great. If not, oh
81 well I would just go back to what I had before. Half the time I'd have
82 to do that anyway due to some regression from nVidia anyway (I lost
83 track of how often a driver update would send GPU temps through the roof
84 and have the fan running constantly)
85
86 nouveau also worked well for me. I don't need fancy 3D graphics (KDE and
87 e17 effects is about my limit of GPU stressing) and I don't need awesome
88 battery life, so I was willing to trade power efficiency and
89 piece-of-mid efficiency. Your needs might be different so YMMV.
90
91
92 --
93 Alan McKinnon
94 alan.mckinnon@×××××.com