Comment 4 for bug 1721394

Revision history for this message
Doug McMahon (mc3man) wrote : Re: [Bug 1721394] Re: Cannot open nvidia-settings on pc with a hybrid device (or use prime-select), missing python

I wasn't really sure that it really needed the python package, it seems
toneed /usr/bin/python which should have been installed as it's provided by
the python-minimal package.
When nvidia-settings wouldn't start I just installed the python package
which brought in python-minimal, ect.

When I check the manifest for the current image python-minimal is listed.
Maybe I'll try a new install to make sure it is there after installing

On Oct 5, 2017 10:01 PM, "Jeremy Bicha" <email address hidden> wrote:

> Doug, if the package needs python, then it should be marked as a
> dependency.
>
> ** Changed in: nvidia-prime (Ubuntu)
> Status: Invalid => New
>
> ** Changed in: nvidia-settings (Ubuntu)
> Status: Invalid => New
>
> ** Tags added: rls-aa-incoming
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1721394
>
> Title:
> Cannot open nvidia-settings on pc with a hybrid device (or use prime-
> select), missing python
>
> Status in nvidia-prime package in Ubuntu:
> New
> Status in nvidia-settings package in Ubuntu:
> New
>
> Bug description:
> You would see -
> $ nvidia-settings
> ** Message: PRIME: Requires offloading
> ** Message: PRIME: is it supported? yes
>
> ** (nvidia-settings:1848): ERROR **: PRIME error: Failed to execute
> child process “/usr/bin/prime-select” (No such file or directory)
> Trace/breakpoint trap
>
> Additionally if trying to run prime-select you'd see -
> sudo: unable to execute /usr/bin/prime-select: No such file or directory
>
> One would need to go
> python3 /usr/bin/prime-select intel
>
> This is because the python package has been removed from image & isn't
> installed by either nvidia-settings or nvidia-prime.
>
> Please adjust this packages to either use python3 or dep to python
>
> ProblemType: Bug
> DistroRelease: Ubuntu 17.10
> Package: nvidia-settings 367.35-0ubuntu1
> ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
> Uname: Linux 4.13.0-12-generic x86_64
> NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
> ApportVersion: 2.20.7-0ubuntu2
> Architecture: amd64
> CurrentDesktop: ubuntu:GNOME
> Date: Wed Oct 4 17:16:44 2017
> InstallationDate: Installed on 2017-10-04 (0 days ago)
> InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Beta amd64 (20170929)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: nvidia-settings
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+
> bug/1721394/+subscriptions
>