[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-11-17 Thread Graham Inggs
Marking this 'Won't Fix', we can track the udev rule in LP: #1361207. ** Changed in: nvidia-modprobe (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-11-17 Thread Alberto Milone
It certainly makes sense to simply set up things when the nvidia module is loaded, although I plan to do it with a udev rule. This will make nvidia-modprobe redundant on the desktop (i.e. where X is started by default). On the server (and on the desktop with Mir), however, X is not started, and

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-11-17 Thread Tyler Hicks
Thanks for the update! Unassigning and unsubscribing the Ubuntu Security Team based on comment #13. ** Changed in: nvidia-modprobe (Ubuntu) Assignee: Ubuntu Security Team (ubuntu-security) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-11-17 Thread Graham Inggs
I've tried installing the NVIDIA drivers from the SUSE repository not the NVIDIA website in SLED 12. nvidia-modprobe is installed, but without setuid being set: ~> which nvidia-modprobe /usr/bin/nvidia-modprobe ~> ls -l /usr/bin/nvidia-modprobe -rwxr-xr-x 1 root root 25432 Sep 3 10:57

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-11-17 Thread Graham Inggs
They have the following in /etc/modeprobe.d/50-nvidia.conf: options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=33 NVreg_DeviceFileMode=0660 install nvidia PATH=$PATH:/bin:/usr/bin; /sbin/modprobe --ignore-install nvidia; /sbin/modprobe nvidia_uvm; test -c /dev/nvidia-uvm || mknod -m 660

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-11-17 Thread Seth Arnold
Graham, thanks for doing the legwork to confirm that a better solution is possible. Alberto, thanks for making the better solution a reality. Good work all around :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-10-30 Thread Graham Inggs
I can certainly have a look what SUSE do. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1421209 Title: [MIR] nvidia-modprobe To manage notifications about this bug go to:

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-10-26 Thread Seth Arnold
Graham, thanks for investigating and reporting back. If you're up for some legwork, I'm curious what SUSE and Red Hat do here; I don't expect them to want to use a setuid binary executable for this either and I wonder if they've got the module loading done differently or better. Thanks -- You

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-10-25 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: nvidia-modprobe (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1421209

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-10-15 Thread Graham Inggs
Alberto has already written udev rules, and they work, however, as far I can tell, they still require the user to 'sudo modprobe nvidia_uvm' before running any OpenCL or CUDA applications, or manually add nvidia_uvm to /etc/modules. So the question is, do we want to try to load nvidia_uvm and

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-10-15 Thread Graham Inggs
Just for reference, the nvidia_uvm module does not seem to be needed for normal desktop and gaming use. With nvidia-modprobe installed, I opened Steam and the game Portal 2. Afterwards, nvidia_uvm had not been loaded, and /dev/nvidia-uvm had not been created. -- You received this bug

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-10-15 Thread Graham Inggs
nvidia-modprobe creates the /dev/nvidia-uvm device node and loads the nvidia_uvm module for a normal user, on demand. Using clinfo as an example since it is in the archive, small, and wasn't compiled against anything Nvidia (it is built against ocl-icd- libopencl1). See LP: #146 for the

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-10-06 Thread Graham Inggs
See LP: #1361207 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1421209 Title: [MIR] nvidia-modprobe To manage notifications about this bug go to:

[Bug 1421209] Re: [MIR] nvidia-modprobe

2015-10-06 Thread Seth Arnold
I'm surprised /etc/modules and udev rules aren't sufficient. Why don't the standard mechanisms for loading modules and creating device nodes work for nvidia drivers? Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.