Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 281079 Details for
Bug 376527
x11-drivers/nvidia-drivers should create devices upon module load (was: dev-util/nvidia-cuda-sdk / local scripts to create /dev/nvidia* nodes)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/local.d/cuda.start
cuda.start (text/plain), 498 bytes, created by
Tomas Vondra
on 2011-07-26 21:00:36 UTC
(
hide
)
Description:
/etc/local.d/cuda.start
Filename:
MIME Type:
Creator:
Tomas Vondra
Created:
2011-07-26 21:00:36 UTC
Size:
498 bytes
patch
obsolete
>#!/bin/bash > >/sbin/modprobe nvidia > >if [ "$?" -eq 0 ]; then > > # Count the number of NVIDIA controllers found. > NVDEVS=`lspci | grep -i NVIDIA` > N3D=`echo "$NVDEVS" | grep "3D controller" | wc -l` > NVGA=`echo "$NVDEVS" | grep "VGA compatible controller" | wc -l` > N=`expr $N3D + $NVGA - 1` > > for i in `seq 0 $N`; do > if [ ! -e "/dev/nvidia$i" ]; then > mknod -m 666 /dev/nvidia$i c 195 $i > fi > done > > if [ ! -e "/dev/nvidiactl" ]; then > mknod -m 666 /dev/nvidiactl c 195 255 > fi >else > exit 1 >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 376527
: 281079 |
281081
|
305423
|
306581
|
306583
|
306669
|
306747
|
306807