[bumblebee] 04/04: Update changelog for #815888

Luca Boccassi luca.boccassi at gmail.com
Mon May 9 10:20:54 UTC 2016


On Mon, 2016-05-09 at 00:58 +0200, Andreas Beckmann wrote:
> On 2016-05-08 18:21, Luca Boccassi wrote:
> > A quick workaround is to pass /etc/alternatives/nvidia to bumblebee's
> > XorgModulePath config variable, so that only the active driver
> > subdirectory is searched, and there's no room for mistakes.
> 
> You should rather use /usr/lib/nvidia/nvidia, that's the master
> alternative for nvidia.

Ah right, good point, thanks.

> Andreas
> 
> PS: BTW, how does the Xorg DFS (or BFS) cope with loops caused by symlinks?
> 
> /usr/lib/nvidia/sub/dir/symlink => /usr/lib/nvidia/sub
> (or /usr/lib/nvidia/sub/dir/symlink => ../../sub )

It doesn't. It fails because the buffer runs out of memory (initialized
to PATH_MAX). Symlinking legacy-340xx to itself leads to a quite
hilarious result:

May 09 11:16:10 BRA-6G85P12 bumblebeed[19601]: [147011.424173]
[DEBUG][XORG] (II) UnloadModule: "glx"
May 09 11:16:10 BRA-6G85P12 bumblebeed[19601]: [147011.424170]
[DEBUG][XORG]
340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340x
May 09 11:16:10 BRA-6G85P12 bumblebeed[19601]: [147011.424167]
[ERROR][XORG] (EE) Failed to
load /usr/lib/nvidia/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-
May 09 11:16:10 BRA-6G85P12 bumblebeed[19601]: [147011.424163]
[DEBUG][XORG]
egacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legac
May 09 11:16:10 BRA-6G85P12 bumblebeed[19601]: [147011.424159]
[DEBUG][XORG] (II)
Loading /usr/lib/nvidia/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/legacy-340xx/l
May 09 11:16:10 BRA-6G85P12 bumblebeed[19601]: [147011.424157]
[DEBUG][XORG] (II) LoadModule: "glx"

I'll add this to my email to upstream's list.

Also it's not even really DFS or BFS, since it's at the mercy of what
the OS returns in the readdir() syscall. One more reason to check all
files in the current directory before moving to subdirectories IMHO.

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20160509/3739a9f7/attachment-0001.sig>


More information about the pkg-nvidia-devel mailing list