[Bug 1766366] Re: prime-select fails without grub

2020-05-04 Thread Vasyl
Related GRUB interaction code was removed as part of
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1778011 fix,
released in 0.8.8.1

** Changed in: nvidia-prime (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1766366

Title:
  prime-select fails without grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1766366/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1766366] Re: prime-select fails without grub

2018-05-22 Thread Elvis Stansvik
This is a problem for us as well. We're using Docker as part of our
toolchain for creating a file system for a disk image for our product,
and need to be able to run "prime-select intel" during the Docker image
build, at a time when grub has not been installed yet.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1766366

Title:
  prime-select fails without grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1766366/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1766366] Re: prime-select fails without grub

2018-05-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nvidia-prime (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/1766366

Title:
  prime-select fails without grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1766366/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1766366] Re: prime-select fails without grub

2018-04-23 Thread OlegKrikun
** Description changed:

  If grub isn't installed in system prime-select fails =(
- 
  
  sudo prime-select nvidia
  -
  Info: selecting the nvidia profile
  Traceback (most recent call last):
-   File "/usr/bin/prime-select", line 298, in 
- switcher.enable_profile(arg)
-   File "/usr/bin/prime-select", line 114, in enable_profile
- self._enable_nvidia()
-   File "/usr/bin/prime-select", line 147, in _enable_nvidia
- self._grub_path, ['nouveau.runpm', 'video=VGA'])
-   File "/usr/bin/prime-select", line 214, in _remove_boot_params
- with open(path, 'r+') as f:
+   File "/usr/bin/prime-select", line 298, in 
+ switcher.enable_profile(arg)
+   File "/usr/bin/prime-select", line 114, in enable_profile
+ self._enable_nvidia()
+   File "/usr/bin/prime-select", line 147, in _enable_nvidia
+ self._grub_path, ['nouveau.runpm', 'video=VGA'])
+   File "/usr/bin/prime-select", line 214, in _remove_boot_params
+ with open(path, 'r+') as f:
  FileNotFoundError: [Errno 2] No such file or directory: '/etc/default/grub'
+ 
+ imho, prime-select should show warning about kernel options in case
+ without grub and keep working

** Description changed:

  If grub isn't installed in system prime-select fails =(
  
  sudo prime-select nvidia
  -
  Info: selecting the nvidia profile
  Traceback (most recent call last):
    File "/usr/bin/prime-select", line 298, in 
  switcher.enable_profile(arg)
    File "/usr/bin/prime-select", line 114, in enable_profile
  self._enable_nvidia()
    File "/usr/bin/prime-select", line 147, in _enable_nvidia
  self._grub_path, ['nouveau.runpm', 'video=VGA'])
    File "/usr/bin/prime-select", line 214, in _remove_boot_params
  with open(path, 'r+') as f:
  FileNotFoundError: [Errno 2] No such file or directory: '/etc/default/grub'
  
+ Ubuntu 18.04
+ nvidia-prime 0.8.8
+ 
  imho, prime-select should show warning about kernel options in case
  without grub and keep working

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1766366

Title:
  prime-select fails without grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1766366/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs