[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2021-07-22 Thread Yuan-Chen Cheng
** Changed in: oem-priority
   Status: New => 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/1895855

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions


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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2021-01-25 Thread Launchpad Bug Tracker
This bug was fixed in the package nvidia-prime - 0.8.15.3~0.20.04.1

---
nvidia-prime (0.8.15.3~0.20.04.1) focal; urgency=medium

  [ Alberto Milone ]
  * prime-select:
- Enable runtimepm in on-demand mode if supported (LP: #1895855).
- Disable workaround for on-demand mode.
- Enable KMS if runtimepm is supported.
  * debian/postinst.in:
- Remove obsolete udev rules in the postinst too.
  * debian/rules:
- Add postinst file to the autoclean target.

  [ Kai-Heng Feng ]
  * prime-select: Remove udev rules (LP: #1904583).

 -- Alberto Milone   Fri, 20 Nov 2020
16:19:39 +0100

** Changed in: nvidia-prime (Ubuntu Focal)
   Status: Fix Committed => 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/1895855

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2021-01-25 Thread Łukasz Zemczak
This has been pulled in as part of the backport in LP: #1904583 .
Skipping verification in favor of general testing in the aforementioned
bug.

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2021-01-20 Thread Steve Langasek
Hello Alberto, or anyone else affected,

Accepted nvidia-prime into focal-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/nvidia-
prime/0.8.15.3~0.20.04.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: nvidia-prime (Ubuntu Focal)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-focal

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2021-01-19 Thread Brian Murray
This bug report is missing SRU information.

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-10-15 Thread Alberto Milone
** Changed in: nvidia-graphics-drivers-450 (Ubuntu)
   Status: Triaged => Fix Released

** Changed in: nvidia-graphics-drivers-450 (Ubuntu)
 Assignee: (unassigned) => Alberto Milone (albertomilone)

** Changed in: nvidia-prime (Ubuntu)
 Assignee: (unassigned) => Alberto Milone (albertomilone)

** Also affects: ubuntu-drivers-common (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: nvidia-prime (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: nvidia-graphics-drivers-450 (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: ubuntu-drivers-common (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: nvidia-prime (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: nvidia-graphics-drivers-450 (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: nvidia-graphics-drivers-450 (Ubuntu Bionic)
   Importance: Undecided => Wishlist

** Changed in: nvidia-graphics-drivers-450 (Ubuntu Bionic)
   Status: New => Triaged

** Changed in: nvidia-graphics-drivers-450 (Ubuntu Bionic)
 Assignee: (unassigned) => Alberto Milone (albertomilone)

** Changed in: nvidia-graphics-drivers-450 (Ubuntu Focal)
   Status: New => Triaged

** Changed in: nvidia-graphics-drivers-450 (Ubuntu Focal)
 Assignee: (unassigned) => Alberto Milone (albertomilone)

** Changed in: nvidia-graphics-drivers-450 (Ubuntu Focal)
   Importance: Undecided => Wishlist

** No longer affects: nvidia-graphics-drivers-450 (Ubuntu Bionic)

** No longer affects: nvidia-graphics-drivers-450 (Ubuntu Focal)

** No longer affects: nvidia-prime (Ubuntu Bionic)

** No longer affects: nvidia-prime (Ubuntu Focal)

** No longer affects: ubuntu-drivers-common (Ubuntu Bionic)

** No longer affects: ubuntu-drivers-common (Ubuntu Focal)

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-10-13 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-drivers-common - 1:0.8.6

---
ubuntu-drivers-common (1:0.8.6) groovy; urgency=medium

  [ Alberto Milone ]
  * share/hybrid/json-parser, debian/copyright:
- Include json-parser (just C file and header).
  * gpu-manager.c:
- Add json parsing code to detect support for runtimepm on NVIDIA
  (LP: #1895855).
- Check that RTD3 is enabled, and write that to a file in /run.
- Make on-demand mode the default when no settings are available.
- Add support for AMD+NVIDIA hybrid systems.
- Add support for checking PME capabilities for runtimepm, so that,
  if the GPU is not boot_vga, and it is not listed in the json
  database, we can at least check whether d3hot is supported, and
  enable runtimepm in the NVIDIA driver.
  * gpu-manager.py:
- Adjust the test suite to match the changes in gpu-manager.c.
  * UbuntuDrivers/detect.py, ubuntu-drivers:
- Catch apt exceptions.
- Catch failure when modinfo is not available.
- Introduce the concept of LTSB (long term support branch), NFB
  (new feature branch), Legacy, and Beta, which the driver packages
  can specify.
- Use package support to pick the nvidia driver:
  o Desktop case: pick the latest non-server driver, when available
(this preserves the current behaviour).
  o Server case: pick the LTSB -server driver, when available.
  * NvidiaDetector/nvidiadetector.py:
- Use regex to parse package names (LP: #1891183).
  * ubuntu-drivers:
- Select on-demand mode if runtimepm is supported.
- Check RTD3 support for NVIDIA, and enable it when available.
- Show the package support level, when available, when using
  "ubuntu-drivers debug".
  * debian/control:
- Replace build-dep on libpciaccess-dev with libpci-dev.
  * debian/rules: make sure to call the clean target of the Makefile

  [ Cyrus Lien ]
  * gpu-manager.c:
- Fix segmentation fault in json_find_feature_in_array.

 -- Alberto Milone   Mon, 12 Oct 2020
16:00:18 +0200

** Changed in: ubuntu-drivers-common (Ubuntu)
   Status: Triaged => 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/1895855

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-10-13 Thread Launchpad Bug Tracker
This bug was fixed in the package nvidia-prime - 0.8.15

---
nvidia-prime (0.8.15) groovy; urgency=medium

  [ Alberto Milone ]
  * prime-select:
- Enable runtimepm in on-demand mode if supported (LP: #1895855).
- Disable workaround for on-demand mode.
- Enable KMS if runtimepm is supported.

  [ Kai-Heng Feng ]
  * prime-select: Remove udev rules

 -- Alberto Milone   Fri, 09 Oct 2020
14:50:37 +0200

** Changed in: nvidia-prime (Ubuntu)
   Status: Triaged => 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/1895855

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-10-12 Thread Alberto Milone
I have uploaded a new nvidia-prime and a new ubuntu-drivers-common in
Groovy.

They address Yuan-Chen's concerns.

I also fixed the licence, specifying the two-clause BSD licence.

As for the reason why I didn't relied on on json-c was that I did not
see it in the archive. I can certainly rebase my code against that in
the future.

As for using /lib/modprobe.d/ instead of /etc/modprobe.d/ , I think this
comes from LP: #1761593 .

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-09-30 Thread Steve Langasek
Looks ok to me from a Feature Freeze perspective (but it would be nice
to have an answer to Yuan-Chen's concern, from a technical perspective).

Aside, on ubuntu-drivers-common:

+Files: share/hybrid/json-parser/*
+Copyright: Copyright (c) 2012, 2013 James McLaughlin et al.
+License: BSD
+

Please don't use 'BSD' as a license descriptor, it's ambiguous.
https://www.debian.org/doc/packaging-manuals/copyright-format/1.0
/#license-specification

(also, is there a reason you're embedding a json parser instead of
building against json-c which is supported in main?)

On nvidia-prime:

> +self._nvidia_runtimepm_file = '/lib/modprobe.d/nvidia-
runtimepm.conf'

Why are you managing files under /lib instead of under /etc? (this is a
preexisting pattern so not a blocker, but it would be nice if this could
be corrected at some point)


** Changed in: nvidia-prime (Ubuntu)
   Status: New => Triaged

** Changed in: nvidia-graphics-drivers-450 (Ubuntu)
   Status: New => Triaged

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-09-23 Thread Yuan-Chen Cheng
May I know why we need to remove it from the bus?
Don’t we have other way to archive that?

Unable to have a consistent way to check it is inconvenient and higher
probability to make mistakes.

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-09-23 Thread Alberto Milone
You can't list the NVIDIA cards if they aren't on the bus any more.

What you can do is check the availability of /etc/prime-discrete , which
is only created when hybrid graphics is detected.

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-09-20 Thread Alex Tu
** Tags added: originate-from-1840753 somerville

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-09-20 Thread Yuan-Chen Cheng
I heard that in the new design, we can't see nvidia pci device in lspci
as we are in power saving mode (say `prime-select intel`)

if that's the case, what's the proper too to list all pci device on the
machine?

** Tags added: oem-priority

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-09-18 Thread Alberto Milone
Changes to the NVIDIA drivers.

** Patch added: "nvidia-driver-changes.diff"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1895855/+attachment/5412194/+files/nvidia-driver-changes.diff

** Also affects: nvidia-prime (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: nvidia-graphics-drivers-450 (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-09-18 Thread Alberto Milone
nvidia-prime changes

** Patch added: "nvidia-prime-changes.diff"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1895855/+attachment/5412192/+files/nvidia-prime-changes.diff

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-09-18 Thread Alberto Milone
Changes for u-d-c

** Patch added: "ubuntu-drivers-common_changes.diff"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1895855/+attachment/5412190/+files/ubuntu-drivers-common_changes.diff

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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

[Bug 1895855] Re: FFE: support for NVIDIA runtimepm (hybrid gfx)

2020-09-17 Thread Alex Tu
** Also affects: oem-priority
   Importance: Undecided
   Status: New

** Changed in: oem-priority
   Importance: Undecided => Critical

** Changed in: oem-priority
 Assignee: (unassigned) => Alex Tu (alextu)

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

Title:
  FFE: support for NVIDIA runtimepm (hybrid gfx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1895855/+subscriptions

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