** 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 <module>
-     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 <module>
+     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 <module>
      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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to