[Bug 2052405] Re: Translation error in policykit-1 package

2024-07-10 Thread Dirk Su
language-pack-ko-base had strict depend on language-pack-ko, upload
debdiff to bump version of language-pack-ko

** Patch added: "language-package-ko_jammy.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/language-pack-ko/+bug/2052405/+attachment/5795815/+files/language-package-ko_jammy.debdiff

** Changed in: language-pack-ko (Ubuntu Jammy)
   Importance: Undecided => Low

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

Title:
  Translation error in policykit-1 package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/2052405/+subscriptions


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

[Bug 2052405] Re: Translation error in policykit-1 package

2024-07-10 Thread Dirk Su
** Also affects: language-pack-ko (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/2052405

Title:
  Translation error in policykit-1 package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/2052405/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-07-07 Thread Dirk Su
** Patch added: "lenovo-wwan-unlock_2.0.0_jammy-1.debdiff"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5795360/+files/lenovo-wwan-unlock_2.0.0_jammy-1.debdiff

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-07-07 Thread Dirk Su
@ken-vandine

Thank for your suggestion, changed the version for jammy and noble

** Patch added: "lenovo-wwan-unlock_2.0.0_noble-1.debdiff"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5795359/+files/lenovo-wwan-unlock_2.0.0_noble-1.debdiff

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-07-03 Thread Dirk Su
upload debdiff for jammy

** Patch added: "lenovo-wwan-unlock_2.0.0_jammy.debdiff"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5794520/+files/lenovo-wwan-unlock_2.0.0_jammy.debdiff

** Changed in: lenovo-wwan-unlock (Ubuntu Oracular)
   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/2058622

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-07-03 Thread Dirk Su
upload debdiff for Noble

** Patch removed: "lenovo-wwan-unlock_2.0.0_jammy.debdiff"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5792131/+files/lenovo-wwan-unlock_2.0.0_jammy.debdiff

** Patch removed: "lenovo-wwan-unlock_2.0.0_noble.debdiff"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5792132/+files/lenovo-wwan-unlock_2.0.0_noble.debdiff

** Patch added: "lenovo-wwan-unlock_2.0.0_noble.debdiff"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5794519/+files/lenovo-wwan-unlock_2.0.0_noble.debdiff

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058192] Re: [MIR] lenovo-wwan-unlock

2024-07-02 Thread Dirk Su
** Changed in: oem-priority
   Importance: Undecided => Critical

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

Title:
  [MIR] lenovo-wwan-unlock

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


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

[Bug 2052405] Re: Translation error in policykit-1 package

2024-06-30 Thread Dirk Su
@seb128

updated the bug description, thanks for the reminder

** Description changed:

  [ Impact ]
  
  * policykit-1 package have translation error.
  
  *
  
https://translations.launchpad.net/ubuntu/jammy/+source/policykit-1/+pots/polkit-1/ko/+translate
  
  * `$(program)'을(를) 관리자 권한으로 실행려면 인증이 필요합니다. -> `$(program)'을(를) 관리자 권한으로
  실행하려면 인증이 필요합니다.
  
  * `$(program)'을(를) $(user) 계정으로 실행려면 인증이 필요합니다. -> `$(program)'을(를)
  $(user) 계정으로 실행하려면 인증이 필요합니다.
  
  [ Test Plan ]
  
  * Install the Korea translation package and switch language to Korea
- * 
+ * run command "pkexec ls" and "pkexec --user $(whoami) ls" and check the 
translation is updated
+ 
  [ Where problems could occur ]
  
- * This SRU only affect the Korea translation and there is no function change
+ * This SRU only affect the Korea translation and there is no function
+ change so the risk is very low
+ 
  [ Other Info ]

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

Title:
  Translation error in policykit-1 package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/2052405/+subscriptions


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

[Bug 2052405] Re: Translation error in policykit-1 package

2024-06-30 Thread Dirk Su
** Description changed:

- policykit-1 package have translation error.
+ [ Impact ]
  
+ * policykit-1 package have translation error.
+ 
+ *
  
https://translations.launchpad.net/ubuntu/jammy/+source/policykit-1/+pots/polkit-1/ko/+translate
  
- `$(program)'을(를) 관리자 권한으로 실행려면 인증이 필요합니다. -> `$(program)'을(를) 관리자 권한으로
+ * `$(program)'을(를) 관리자 권한으로 실행려면 인증이 필요합니다. -> `$(program)'을(를) 관리자 권한으로
  실행하려면 인증이 필요합니다.
  
- `$(program)'을(를) $(user) 계정으로 실행려면 인증이 필요합니다. -> `$(program)'을(를)
+ * `$(program)'을(를) $(user) 계정으로 실행려면 인증이 필요합니다. -> `$(program)'을(를)
  $(user) 계정으로 실행하려면 인증이 필요합니다.
+ 
+ [ Test Plan ]
+ 
+ * Install the Korea translation package and switch language to Korea
+ * 
+ [ Where problems could occur ]
+ 
+ * This SRU only affect the Korea translation and there is no function change
+ [ Other Info ]

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

Title:
  Translation error in policykit-1 package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/2052405/+subscriptions


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

[Bug 2071296] [NEW] Mute/mic LEDs and speaker no function on EliteBook 645/665 G11

2024-06-26 Thread Dirk Su
Public bug reported:

[Impact]
The mic mute/audio mute LEDS are not work on EliteBook 645/665 G11

[Fix]
It needs the specific quirk for the hardware layout.
Thus, add the quirks to make it works.

[Test]
After applying the quirk, the audio/mic mute LEDs are working good.

[Where problems could occur]
If HP ships the different system boards design with the same subsystem ID of 
audio codec which is using different GPIO pins (different layout), then the 
quirk will not work (LEDs will not work when muting audio-output or microphone).

** Affects: oem-priority
 Importance: Critical
 Assignee: Dirk Su (dirksu)
 Status: Confirmed

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

** Affects: linux (Ubuntu Jammy)
 Importance: Undecided
 Status: New

** Affects: linux (Ubuntu Noble)
 Importance: Undecided
 Status: New

** Affects: linux (Ubuntu Oracular)
 Importance: Undecided
 Status: New


** Tags: oem-priority originate-from-2070155 stella

** Also affects: linux (Ubuntu Noble)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Oracular)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Tags added: oem-priority originate-from-2070155 stella

** Changed in: oem-priority
 Assignee: (unassigned) => Dirk Su (dirksu)

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

** Changed in: oem-priority
   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/2071296

Title:
  Mute/mic LEDs and speaker no function on EliteBook 645/665 G11

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


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

[Bug 2070352] Re: System Freezes with Disabled TV Connected via HDMI

2024-06-26 Thread Dirk Vantas
Could this be related to me using an HDMI->display port adapter cable?

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

Title:
  System Freezes with Disabled TV Connected via HDMI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-535/+bug/2070352/+subscriptions


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

[Bug 2070352] Re: System Freezes with Disabled TV Connected via HDMI

2024-06-26 Thread Dirk Vantas
I can trigger the freezing and supply the journal.txt file yes

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

Title:
  System Freezes with Disabled TV Connected via HDMI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-535/+bug/2070352/+subscriptions


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

[Bug 2070352] Re: System Freezes with Disabled TV Connected via HDMI

2024-06-26 Thread Dirk Vantas
yup, seems my SAMSUNG TV is breaking stuff with my mouse

** Attachment added: "journal.txt"
   
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-535/+bug/2070352/+attachment/5792550/+files/journal.txt

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

Title:
  System Freezes with Disabled TV Connected via HDMI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-535/+bug/2070352/+subscriptions


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

[Bug 2070352] [NEW] System Freezes with Disabled TV Connected via HDMI

2024-06-25 Thread Dirk Vantas
Public bug reported:

I am on 24.04

Expected behavior:
Connected TV to just be on and have stuff running without it affecting my 
system it is also connected to.

Actual behavior:
When my TV is connected to the system via an HDMI-to-DisplayPort cable through 
an NVIDIA RTX 3070 (using 335 stable drivers) and the TV is turned on but not 
enabled in the display settings, the system freezes for a split second every 5 
seconds. Turning off the disabled TV resolves the issue. I am using X11.

Additional Information:
I also have an unknown device listed in my display settings, which might be 
relevant to this issue.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xorg 1:7.7+23ubuntu3
ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
Uname: Linux 6.8.0-35-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus..01.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module  535.183.01  Sun May 12 
19:39:15 UTC 2024
 GCC version:
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 25 10:41:25 2024
DistUpgraded: Fresh install
DistroCodename: noble
DistroVariant: ubuntu
DkmsStatus: openrazer-driver/3.8.0, 6.8.0-35-generic, x86_64: installed
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 NVIDIA Corporation GA104 [GeForce RTX 3070] [10de:2484] (rev a1) (prog-if 00 
[VGA controller])
   Subsystem: ASUSTeK Computer Inc. GA104 [GeForce RTX 3070] [1043:87bc]
 Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c3) (prog-if 
00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd Raphael [1458:d000]
InstallationDate: Installed on 2024-06-05 (20 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
MachineType: Gigabyte Technology Co., Ltd. B650M DS3H
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-35-generic 
root=UUID=dc450764-c5c6-4f45-97e4-330191d003a1 ro
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/17/2023
dmi.bios.release: 5.26
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: F6
dmi.board.asset.tag: Default string
dmi.board.name: B650M DS3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF6:bd05/17/2023:br5.26:svnGigabyteTechnologyCo.,Ltd.:pnB650MDS3H:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB650MDS3H:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: B650 MB
dmi.product.name: B650M DS3H
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.120-2build1
version.libgl1-mesa-dri: libgl1-mesa-dri 24.0.5-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1build1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug noble ubuntu

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

Title:
  System Freezes with Disabled TV Connected via HDMI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/2070352/+subscriptions


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

[Bug 2052405] Re: Translation error in policykit-1 package

2024-06-24 Thread Dirk Su
** Changed in: language-pack-ko-base (Ubuntu)
   Importance: Undecided => Low

** Changed in: language-pack-ko-base (Ubuntu Jammy)
   Importance: Undecided => Low

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

Title:
  Translation error in policykit-1 package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/2052405/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-06-24 Thread Dirk Su
upload debdiff for noble

** Patch added: "lenovo-wwan-unlock_2.0.0_noble.debdiff"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5792132/+files/lenovo-wwan-unlock_2.0.0_noble.debdiff

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-06-24 Thread Dirk Su
upload debdiff for jammy

** Patch added: "lenovo-wwan-unlock_2.0.0_jammy.debdiff"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5792131/+files/lenovo-wwan-unlock_2.0.0_jammy.debdiff

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2052405] Re: Translation error in policykit-1 package

2024-06-24 Thread Dirk Su
Update polkit-1.po in jammy

** No longer affects: language-pack-ko-base (Ubuntu Noble)

** Patch added: "update_polkit-1_po_jammy.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/language-pack-ko-base/+bug/2052405/+attachment/5792128/+files/update_polkit-1_po_jammy.debdiff

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

Title:
  Translation error in policykit-1 package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/2052405/+subscriptions


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

[Bug 2052405] Re: Translation error in policykit-1 package

2024-06-24 Thread Dirk Su
** Also affects: language-pack-ko-base (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: language-support-translations-ko (Ubuntu)

** No longer affects: policykit-1 (Ubuntu)

** Also affects: language-pack-ko-base (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: language-pack-ko-base (Ubuntu Noble)
   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/2052405

Title:
  Translation error in policykit-1 package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/2052405/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-06-23 Thread Dirk Su
** Package changed: ubuntu => lenovo-wwan-unlock (Ubuntu)

** Also affects: lenovo-wwan-unlock (Ubuntu Noble)
   Importance: Undecided
   Status: New

** Also affects: lenovo-wwan-unlock (Ubuntu Oracular)
   Importance: Wishlist
   Status: New

** Also affects: lenovo-wwan-unlock (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Changed in: lenovo-wwan-unlock (Ubuntu Oracular)
   Importance: Wishlist => Undecided

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2067240] Re: [SRU] Add Quectel EM061K-GL/EM160/RM520N PID information to support WWAN LVFS

2024-06-23 Thread Dirk Su
** Also affects: modemmanager (Ubuntu Jammy)
   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/2067240

Title:
  [SRU] Add Quectel EM061K-GL/EM160/RM520N PID information to support
  WWAN LVFS

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


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

[Bug 2057491] Re: debsums for snapd 2.61.2 failed

2024-06-20 Thread Dirk Su
** Changed in: snapd (Ubuntu)
   Status: Confirmed => Fix Committed

** Tags added: jinju originate-from-2069970

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

Title:
  debsums for snapd 2.61.2 failed

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


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-05-26 Thread Dirk Su
** Changed in: oem-priority
   Importance: Undecided => Critical

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 1964100] Re: Cannot connect to open WLAN with 1.36.0-1ubuntu2 on Jammy

2024-05-13 Thread Dirk Rydvan
see Kubuntu Plasma Network Manager Bug:
https://bugs.kde.org/show_bug.cgi?id=486499

** Bug watch added: KDE Bug Tracking System #486499
   https://bugs.kde.org/show_bug.cgi?id=486499

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

Title:
  Cannot connect to open WLAN with 1.36.0-1ubuntu2 on Jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1964100/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-05-09 Thread Dirk Su
** Attachment added: "lenovo-wwan-unlock_2.0.0.orig.tar.gz"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5776882/+files/lenovo-wwan-unlock_2.0.0.orig.tar.gz

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-05-09 Thread Dirk Su
** Attachment added: "lenovo-wwan-unlock_2.0.0-0ubuntu1.debian.tar.xz"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5776881/+files/lenovo-wwan-unlock_2.0.0-0ubuntu1.debian.tar.xz

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-05-09 Thread Dirk Su
Hi,

I packed version v2.0.0 and upload to the git repo. The files under
debian folder are all created by Canonical, I think it should be no
problem using GPL-3 license.

** Attachment added: "lenovo-wwan-unlock_2.0.0-0ubuntu1.dsc"
   
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+attachment/5776880/+files/lenovo-wwan-unlock_2.0.0-0ubuntu1.dsc

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2063843] [NEW] feh crashes on right-click

2024-04-26 Thread Dirk Drinkuth
Public bug reported:

When I right-click on the opened window with the picture to get access to the 
context menu, the window closes with an error message:
*** buffer overflow detected ***: terminated

lsb_release -rd
No LSB modules are available.
Description:Ubuntu 24.04 LTS
Release:24.04

apt-cache policy feh
feh:
  Installiert:   3.10.1-1build3
  Installationskandidat: 3.10.1-1build3
  Versionstabelle:
 *** 3.10.1-1build3 500
500 http://de.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
100 /var/lib/dpkg/status

** Affects: 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/2063843

Title:
  feh crashes on right-click

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2063843/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-04-08 Thread Dirk Su
Hi Lucas Kanashiro,

The source git repo is at https://git.launchpad.net/lenovo-wwan-unlock.
This package been requested to go through normal review & sponsorship into 
multiverse. Will you suggest to use different template in the description.

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-04-08 Thread Dirk Su
** Tags added: needs-packaging

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058192] Re: [MIR][needs-packaging] lenovo-wwan-unlock

2024-03-27 Thread Dirk Su
** Changed in: oem-priority
 Assignee: (unassigned) => Dirk Su (dirksu)

** Changed in: oem-priority
   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/2058192

Title:
  [MIR][needs-packaging] lenovo-wwan-unlock

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


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-03-27 Thread Dirk Su
** Tags added: oem-priority originate-from-1956804 sutton

** Changed in: oem-priority
 Assignee: (unassigned) => Dirk Su (dirksu)

** Changed in: oem-priority
   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/2058622

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058622] Re: [needs-packaging] lenovo-wwan-unlock

2024-03-21 Thread Dirk Su
** Also affects: ubuntu
   Importance: Undecided
   Status: New

** Changed in: ubuntu
   Importance: Undecided => Wishlist

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

Title:
  [needs-packaging] lenovo-wwan-unlock

To manage notifications about this bug go to:
https://bugs.launchpad.net/lenovo-wwan-unlock/+bug/2058622/+subscriptions


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

[Bug 2058192] [NEW] [MIR][needs-packaging] lenovo-wwan-unlock

2024-03-17 Thread Dirk Su
Public bug reported:

[Availability]
The package lenovo-wwan-unlock build for the architectures it is designed to 
work on.
It currently builds and works for architectures: amd64
Link to package https://launchpad.net/ubuntu/+source/lenovo-wwan-unlock

[Rationale]
 - The package lenovo-wwan-unlock is required in Ubuntu restricted for WWAN 
hardware support
 - The package lenovo-wwan-unlock will generally be useful for a large part of
   our user base
 - There is no other/better way to solve this that is already in main or
   should go universe->main instead of this.
 - It would be great and useful to community/processes to have the
   package lenovo-fccunlock and lenovo-cfgservice in Ubuntu restricted, but 
there is no definitive deadline.

[Security]
 - No CVEs/security issues in this software in the past
 - no `suid` or `sgid` binaries
 - Binary configservice_lenovo and DPR_Fcc_unlock_service in /opt/fcc_lenovo/ 
is no problem because AppArmor constraints applied
 - Package does install services, timers or recurring jobs
   lenovo-fccunlock.service
   lenovo-cfgservice.service
 - Security has been kept in mind and common isolation/risk-mitigation
   patterns are in place utilizing the following features:
   AppArmor constraints had been included:
   - opt.fcc_lenovo.DPR_Fcc_unlock_service
   - opt.fcc_lenovo.configservice_lenovo
- Packages does not open privileged ports (ports < 1024).
- Packages does not expose any external endpoints
- Packages does not contain extensions to security-sensitive software
   (filters, scanners, plugins, UI skins, ...)

[Quality assurance - function/usage]
 - The package works well right after install

[Quality assurance - maintenance]
 - The package is maintained well in Debian/Ubuntu/Upstream and does
   not have too many, long-term & critical, open bugs
   - https://github.com/lenovo/lenovo-wwan-unlock/issues
 - The package does not deal with exotic hardware we cannot support

[Quality assurance - testing]
 - The package does not run a test at build time because it contains only 
binary files

 - The package can not be well tested at build or autopkgtest time
   because it will need real hardware for testing. To make up for that:
   - We have access to such hardware in the team
 - Based on that access outlined above, here are the details of the
   test plan
  execute service by systemd command
  sudo systemctl start lenovo-fccunlock
  sudo systemctl start lenovo-cfgservice
   and (if already possible) example output of a test run:
 - output of lenovo-fccunlock: https://pastebin.ubuntu.com/p/nsFBW3jXDk/
 - output ot lenovo-cfgservice: 
https://pastebin.ubuntu.com/p/8rCFqRHQ8V/
   We will execute that test plan
   on-uploads

[Quality assurance - packaging]
 - debian/watch is not present because it is a native package and need to add
   AppArmor configs
 - debian/control defines a correct Maintainer field

 - This package does not yield massive lintian Warnings, Errors
 - Please link to a recent build log of the package
   
https://launchpadlibrarian.net/719472309/buildlog_ubuntu-noble-amd64.lenovo-wwan-unlock_1.2ubuntu3-0~202403150905~ubuntu24.04.1_BUILDING.txt.gz
 - Please attach the full output you have got from
   `lintian --pedantic` log: https://pastebin.ubuntu.com/p/Mm6CX7QgFc/
 - Lintian overrides are not present

 - This package does not rely on obsolete or about to be demoted packages.
 - This package has no python2 or GTK2 dependencies
 - The package will not be installed by default

 - Packaging and build is easy, link to debian/rules
   
https://git.launchpad.net/~dirksu/+git/lenovo-fccunlock-sar/tree/debian/control

[UI standards]
 - Application is not end-user facing (does not need translation)

[Dependencies]
 - No further depends or recommends dependencies that are not yet in main

[Standards compliance]
 - This package correctly follows FHS and Debian Policy

[Maintenance/Owner]
 - The owning team will be canonical-mainstream and I have their 
acknowledgement for
   that commitment
 - The future owning team is already subscribed to the package

 - This does not use static builds
 - This does not use vendored code
 - This package is not rust based

- The package was test rebuilt in PPA or sbuild recently
  PPA: https://launchpad.net/~dirksu/+archive/ubuntu/fccunlock-test

[Background information]
 The Package description explains the package well
 Upstream Name is lenovo-wwan-unlock
 Link to upstream project https://github.com/lenovo/lenovo-wwan-unlock

** Affects: oem-priority
 Importance: Undecided
 Status: New

** Affects: ubuntu
 Importance: Wishlist
 Status: New


** Tags: oem-priority originate-from-1956804 sutton

** Changed in: ubuntu
   Importance: Undecided => Wishlist

** Tags added: oem-priority originate-from-1956804 sutton

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

Title:
  

[Bug 2054788] Re: "Can't find help", missing UserManual.qhc

2024-02-29 Thread Dirk Hagedorn
I can confirm that the package virtualbox_7.0.14-dfsg-4_amd64.deb
contains

/usr/share/doc/virtualbox/UserManual.qch
/usr/share/doc/virtualbox/UserManual.qhc

(examined file:
http://de.archive.ubuntu.com/ubuntu/pool/multiverse/v/virtualbox/virtualbox_7.0.14-dfsg-4_amd64.deb)

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

Title:
  "Can't find help", missing UserManual.qhc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2054788/+subscriptions


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

Re: updating mediawiki2latex

2024-02-18 Thread Dirk Hünniger

Hi Mechtilde,

thanks for the information. I will propose the update to the debian 
developer. But first I will wait for 3 more days, so the package can 
progress to debian testing.


Yours Dirk

On 18.02.24 17:55, Mechtilde wrote:

Hello Dirk,

You can change the lines in debian/contol as followed:

 chromium|chromium-browser [!armel !mips64el !s390x],

Is
 chromium-sandbox [!armel !mips64el !s390x],

really necessary to install mediawiki or does it works without it. so 
it can be recommends?


Kind regards
Mechtilde

Am 18.02.24 um 16:51 schrieb Dirk Hünniger:

Hi,

I am the developer of mediawiki2latex a software converting from 
MediaWiki to the LaTeX typesetting system.


I recently released the mediawiki2latex 8.7-3 Debian package.

Ubuntu is still at version 8.1-1

I would like to update it. Excuses say:

  * Migration status for mediawiki2latex (8.1-1 to 8.7-3): BLOCKED:
    Rejected/violates migration policy/introduces a regression
  * Issues preventing migration:
  * mediawiki2latex/amd64 has unsatisfiable dependency
  * mediawiki2latex/arm64 has unsatisfiable dependency
  * mediawiki2latex/armhf has unsatisfiable dependency
  * mediawiki2latex/ppc64el has unsatisfiable dependency
  * mediawiki2latex/riscv64 has unsatisfiable dependency
  * migrating mediawiki2latex/8.7-3/amd64 to testing makes
    mediawiki2latexguipyqt/1.8.2-1build1/amd64 uninstallable

I am not sure but I think its because of the new dependencies to 
chromium and  chromium-sandbox. I think they have to be removed and 
replaced by chromium-browser. How can I get that done?


Yours Dirk







--
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


updating mediawiki2latex

2024-02-18 Thread Dirk Hünniger

Hi,

I am the developer of mediawiki2latex a software converting from 
MediaWiki to the LaTeX typesetting system.


I recently released the mediawiki2latex 8.7-3 Debian package.

Ubuntu is still at version 8.1-1

I would like to update it. Excuses say:

 * Migration status for mediawiki2latex (8.1-1 to 8.7-3): BLOCKED:
   Rejected/violates migration policy/introduces a regression
 * Issues preventing migration:
 * mediawiki2latex/amd64 has unsatisfiable dependency
 * mediawiki2latex/arm64 has unsatisfiable dependency
 * mediawiki2latex/armhf has unsatisfiable dependency
 * mediawiki2latex/ppc64el has unsatisfiable dependency
 * mediawiki2latex/riscv64 has unsatisfiable dependency
 * migrating mediawiki2latex/8.7-3/amd64 to testing makes
   mediawiki2latexguipyqt/1.8.2-1build1/amd64 uninstallable

I am not sure but I think its because of the new dependencies to 
chromium and  chromium-sandbox. I think they have to be removed and 
replaced by chromium-browser. How can I get that done?


Yours Dirk
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


[Bug 1914949] Re: Resume from suspend not working with i915 driver and PulseAudio (linux 5.4 and 5.8)

2022-04-29 Thread Dirk Schulze
In the meantime, this seems to have been fixed. The latest 5.4.0 kernel
does not have the problem anymore.

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

Title:
  Resume from suspend not working with i915 driver and PulseAudio (linux
  5.4 and 5.8)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1914949/+subscriptions


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

[Bug 1963628] Re: Force IIO_SENSOR_PROXY_TYPE to iio-buffer-als for some Dell models

2022-04-13 Thread Dirk Su
Tested with Dell machine (202203-30028) which has problem ambient light
sensor. Import iio-sensor-proxy 2.8-1ubuntu2 from -proposed channel.
With iio-sensor-proxy debug turned on, iio-sensor-proxy use buffer ALS
to read light sensor value. Execute monitor-sensor can check ambient
light sensor working properly

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

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

Title:
  Force IIO_SENSOR_PROXY_TYPE to iio-buffer-als for some Dell models

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


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

[Bug 1946476] Re: New on-demand default causes RTD3 never to be enabled

2022-04-05 Thread Dirk Su
** Changed in: oem-priority
   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/1946476

Title:
  New on-demand default causes RTD3 never to be enabled

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


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2022-03-28 Thread Dirk Su
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

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

Title:
  On-demand and RTD3 need to be separated

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


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

[Bug 1942788] Re: Nvidia doesn't support RTD3 on non-laptops

2022-03-28 Thread Dirk Su
Install Focal on HP EliteOne 800 G6 All-in-One (202008-28167). Enable
focal-proposed channel, install nvidia with "sudo ubuntu-drivers install
nvidia" then reboot system. Check system is in on-demand with "prime-
select query". Since this machine has all-in-one in chassis type, only
enabled off-load mode and disabled RTD3.


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

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

Title:
  Nvidia doesn't support RTD3 on non-laptops

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


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

[Bug 1942307] Re: ubiquity uses performance mode for nvidia driver

2022-03-28 Thread Dirk Su
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

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

Title:
  ubiquity uses performance mode for nvidia driver

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


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

[Bug 1946476] Re: New on-demand default causes RTD3 never to be enabled

2022-03-28 Thread Dirk Su
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

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

Title:
  New on-demand default causes RTD3 never to be enabled

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


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

[Bug 1965520] Re: /usr/bin/prime-select:BrokenPipeError:/usr/bin/prime-select@374:enable_profile:_disable_nvidia:_update_initramfs

2022-03-28 Thread Dirk Su
Installed nvidia-prime 0.8.16~0.20.04.2 from proposed channel. Tested
with command "prime-select on-demand | false" won't get error and
traceback information.

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

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

Title:
  /usr/bin/prime-select:BrokenPipeError:/usr/bin/prime-
  select@374:enable_profile:_disable_nvidia:_update_initramfs

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


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

[Bug 1942307] Re: ubiquity uses performance mode for nvidia driver

2022-03-24 Thread Dirk Su
Install Focal on HP EliteOne 800 G6 All-in-One (202008-28167). Enable
focal-proposed channel, install nvidia with "sudo ubuntu-drivers install
nvidia" then reboot system. Check system is in on-demand with "prime-
select query". Since this machine has all-in-one in chassis type, only
enabled off-load mode and disabled RTD3.

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

Title:
  ubiquity uses performance mode for nvidia driver

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


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2022-03-24 Thread Dirk Su
Install Focal on HP EliteOne 800 G6 All-in-One (202008-28167). Enable
focal-proposed channel, install nvidia with "sudo ubuntu-drivers install
nvidia" then reboot system. Check system is in on-demand with "prime-
select query". Since this machine has all-in-one in chassis type, only
enabled off-load mode and disabled RTD3.

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

Title:
  On-demand and RTD3 need to be separated

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


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

[Bug 1946476] Re: New on-demand default causes RTD3 never to be enabled

2022-03-24 Thread Dirk Su
Install Focal on HP EliteOne 800 G6 All-in-One (202008-28167). Enable
focal-proposed channel, install nvidia with "sudo ubuntu-drivers install
nvidia" then reboot system. Check system is in on-demand with "prime-
select query". Since this machine has all-in-one in chassis type, only
enabled off-load mode and disabled RTD3.

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

Title:
  New on-demand default causes RTD3 never to be enabled

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


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

[Bug 1942307] Re: ubiquity uses performance mode for nvidia driver

2022-03-24 Thread Dirk Su
Install Focal on Dell notebook Precision 7750 (202004-27817). Enable
focal-proposed channel, install nvidia with "sudo ubuntu-drivers install
nvidia" then reboot system. Check system is in on-demand with "prime-
select query". Check nvidia module parameter with "cat
/proc/driver/nvidia/params | grep DynamicPowerManagement" and get result
2 which means GPU enabled with RTD3.

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

Title:
  ubiquity uses performance mode for nvidia driver

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


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2022-03-24 Thread Dirk Su
Install Focal on Dell notebook Precision 7750 (202004-27817). Enable
focal-proposed channel, install nvidia with "sudo ubuntu-drivers install
nvidia" then reboot system. Check system is in on-demand with "prime-
select query". Check nvidia module parameter with "cat
/proc/driver/nvidia/params | grep DynamicPowerManagement" and get result
2 which means GPU enabled with RTD3.

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

Title:
  On-demand and RTD3 need to be separated

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


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

[Bug 1946476] Re: New on-demand default causes RTD3 never to be enabled

2022-03-24 Thread Dirk Su
Install Focal on Dell notebook Precision 7750 (202004-27817). Enable
focal-proposed channel, install nvidia with "sudo ubuntu-drivers install
nvidia" then reboot system. Check system is in on-demand with "prime-
select query". Check nvidia module parameter with "cat
/proc/driver/nvidia/params | grep DynamicPowerManagement" and get result
2 which means GPU enabled with RTD3.

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

Title:
  New on-demand default causes RTD3 never to be enabled

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


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

[Bug 1948701] Re: Hard system lock under 5.* kernel on standard laptop

2022-03-23 Thread Dirk Eddelbuettel
It was a mirage. The system is still locking up, something that did not
happen with an older kernel, and also not with other systems booting off
USB.

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

Title:
  Hard system lock under 5.* kernel on standard laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1948701/+subscriptions


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2022-03-21 Thread Dirk Su
** Description changed:

  RTD3 is a nvidia GPU feature to support runtime suspend.
  
  On-demand would be a X offloading feature.
  
  They are independent, according to discussion on
  https://github.com/tseliot/ubuntu-drivers-common/issues/55.
  
  Some parts need to be adjusted, e.g.
  
  ```
- # If we are dealing with NVIDIA PRIME, and runtimepm
- # is supported, enable it
- if (os.path.isfile('/run/nvidia_runtimepm_supported') and
- os.path.isfile('/usr/bin/prime-select')):
- print('Trying to select the on-demand PRIME profile')
- try:
- subprocess.call(['prime-select', 'on-demand'])
- except:
- pass
+ # If we are dealing with NVIDIA PRIME, and runtimepm
+ # is supported, enable it
+ if (os.path.isfile('/run/nvidia_runtimepm_supported') and
+ os.path.isfile('/usr/bin/prime-select')):
+ print('Trying to select the on-demand PRIME profile')
+ try:
+ subprocess.call(['prime-select', 'on-demand'])
+ except:
+ pass
  
- # Create the override file for gpu-manager
- with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:
- f.write('# File created by ubuntu-drivers\n')
+ # Create the override file for gpu-manager
+ with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:
+ f.write('# File created by ubuntu-drivers\n')
  ```
- 
  
  ---
  
  [Impact]
  
   * Ubuntu will set GPU mode to performance as default which may use more power
   * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
   * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
   * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
   * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
   * On non-laptop machine. Can set GPU mode to on-demand
   * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
   * With GPU supported RTD3 not able enable runtime PM on non-laptop. But
  based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).
- - Catch BrokenPipeError.
- - Use bootvga detection when last_gfx_boot is
-   not available.
+ - Handle BrokenPipeError (LP: #1965520).

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

Title:
  On-demand and RTD3 need to be separated

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


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

[Bug 1946476] Re: New on-demand default causes RTD3 never to be enabled

2022-03-21 Thread Dirk Su
** Description changed:

  As per LP: #1942307 we now set on-demand as the default. This however,
  causes "prime-select on-demand", called by ubuntu-drivers, not to even
  try to detect RTD3 and to enable it, since "on-demand" is already set.
  
  We cannot make informed choices about RTD3 in the postinstallation
  script of nvidia-prime, therefore we should simply drop the check that
  prime-select makes to abort if the new profile is determined to be the
  same as the current profile.
- 
  
  ---
  
  [Impact]
  
   * Ubuntu will set GPU mode to performance as default which may use more power
   * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
   * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
   * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
   * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
   * On non-laptop machine. Can set GPU mode to on-demand
   * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
   * With GPU supported RTD3 not able enable runtime PM on non-laptop. But
  based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).
- - Catch BrokenPipeError.
- - Use bootvga detection when last_gfx_boot is
-   not available.
+ - Handle BrokenPipeError (LP: #1965520).

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

Title:
  New on-demand default causes RTD3 never to be enabled

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


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

[Bug 1948701] Re: Hard system lock under 5.* kernel on standard laptop

2022-03-20 Thread Dirk Eddelbuettel
Update. And I don't want to jinx it but ... it seems like 22.04 (to be)
has this fixed. Updated to it two days ago, and it seems fine with its
kernel 5.15.0-23-generic.

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

Title:
  Hard system lock under 5.* kernel on standard laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1948701/+subscriptions


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2022-03-04 Thread Dirk Su
** Description changed:

- [Steps to reproduce]
- 1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
- 2. After the installation, press enter to reboot system
- 3. prime-select query
+ RTD3 is a nvidia GPU feature to support runtime suspend.
  
- [Expected result]
- on-demand
+ On-demand would be a X offloading feature.
  
- [Actual result]
- performance
+ They are independent, according to discussion on
+ https://github.com/tseliot/ubuntu-drivers-common/issues/55.
  
- ---
+ Some parts need to be adjusted, e.g.
  
- It's because ubiquity launches `ubuntu-drivers install --packages-list
- ...` in live system but install each package to target storage.
+ ```
+ # If we are dealing with NVIDIA PRIME, and runtimepm
+ # is supported, enable it
+ if (os.path.isfile('/run/nvidia_runtimepm_supported') and
+ os.path.isfile('/usr/bin/prime-select')):
+ print('Trying to select the on-demand PRIME profile')
+ try:
+ subprocess.call(['prime-select', 'on-demand'])
+ except:
+ pass
  
- When installing nvidia-prime, the preinst set "on" to "/etc/prime-
- discrete" which will be referred by gpu-manager. The gpu-manager will
- set to performance mode.
+ # Create the override file for gpu-manager
+ with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:
+ f.write('# File created by ubuntu-drivers\n')
+ ```
  
- After confirming with Alberto on Mattermost, since we don't have a
- nvidia driver which lower than 450 version since focal.
- 
- I think we are ok to switch to on-demand mode.
  
  ---
  
  [Impact]
  
   * Ubuntu will set GPU mode to performance as default which may use more power
   * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
   * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
   * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
-  * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
+  * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
   * On non-laptop machine. Can set GPU mode to on-demand
   * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
   * With GPU supported RTD3 not able enable runtime PM on non-laptop. But
  based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).
  - Catch BrokenPipeError.
  - Use bootvga detection when last_gfx_boot is
    not available.
- 
- nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
- 
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
- 
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).

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

Title:
  On-demand and RTD3 need to be separated

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


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

[Bug 1942307] Re: ubiquity uses performance mode for nvidia driver

2022-03-04 Thread Dirk Su
** Description changed:

  [Steps to reproduce]
  1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
  2. After the installation, press enter to reboot system
  3. prime-select query
  
  [Expected result]
  on-demand
  
  [Actual result]
  performance
  
  ---
  
  It's because ubiquity launches `ubuntu-drivers install --packages-list
  ...` in live system but install each package to target storage.
  
  When installing nvidia-prime, the preinst set "on" to "/etc/prime-
  discrete" which will be referred by gpu-manager. The gpu-manager will
  set to performance mode.
  
  After confirming with Alberto on Mattermost, since we don't have a
  nvidia driver which lower than 450 version since focal.
  
  I think we are ok to switch to on-demand mode.
  
+ 
  ---
  
  [Impact]
  
-  * Ubuntu will set GPU mode to performance as default which may use more power
-  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
-  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
+  * Ubuntu will set GPU mode to performance as default which may use more power
+  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
+  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
-  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
-  * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
-  * On non-laptop machine. Can set GPU mode to on-demand
-  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
+  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
+  * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
+  * On non-laptop machine. Can set GPU mode to on-demand
+  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
-  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But
+  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But
  based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
+   [ Jeremy Szu ]
+   * Set on-demand mode as default nvidia mode (LP: #1942307)
  
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).
- - Catch BrokenPipeError.
- - Use bootvga detection when last_gfx_boot is
-   not available.
- 
- nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
- 
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
- 
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).
+   [ Alberto Milone ]
+   * prime-select:
+ - Detect chassis type and enable RTD3 only
+   on laptops (LP: #1942788).
+ - on-demand mode doesn't need to depend on
+   RTD3 (LP: #1942789).
+ - Use bootvga detection when last_gfx_boot
+   is not available.
+ - Don't check the current profile when setting
+   a profile (LP: #1946476).
+ - Catch BrokenPipeError.
+ - Use bootvga detection when last_gfx_boot is
+   not available.

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

Title:
  ubiquity uses performance mode for nvidia driver

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


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

[Bug 1946476] Re: New on-demand default causes RTD3 never to be enabled

2022-03-04 Thread Dirk Su
** Description changed:

- [Steps to reproduce]
- 1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
- 2. After the installation, press enter to reboot system
- 3. prime-select query
+ As per LP: #1942307 we now set on-demand as the default. This however,
+ causes "prime-select on-demand", called by ubuntu-drivers, not to even
+ try to detect RTD3 and to enable it, since "on-demand" is already set.
  
- [Expected result]
- on-demand
+ We cannot make informed choices about RTD3 in the postinstallation
+ script of nvidia-prime, therefore we should simply drop the check that
+ prime-select makes to abort if the new profile is determined to be the
+ same as the current profile.
  
- [Actual result]
- performance
- 
- ---
- 
- It's because ubiquity launches `ubuntu-drivers install --packages-list
- ...` in live system but install each package to target storage.
- 
- When installing nvidia-prime, the preinst set "on" to "/etc/prime-
- discrete" which will be referred by gpu-manager. The gpu-manager will
- set to performance mode.
- 
- After confirming with Alberto on Mattermost, since we don't have a
- nvidia driver which lower than 450 version since focal.
- 
- I think we are ok to switch to on-demand mode.
  
  ---
  
  [Impact]
  
-  * Ubuntu will set GPU mode to performance as default which may use more power
-  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
-  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
+  * Ubuntu will set GPU mode to performance as default which may use more power
+  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
+  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
-  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
-  * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
-  * On non-laptop machine. Can set GPU mode to on-demand
-  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
+  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
+  * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
+  * On non-laptop machine. Can set GPU mode to on-demand
+  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
-  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But
+  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But
  based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
+   [ Jeremy Szu ]
+   * Set on-demand mode as default nvidia mode (LP: #1942307)
  
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).
- - Catch BrokenPipeError.
- - Use bootvga detection when last_gfx_boot is
-   not available.
- 
- nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
- 
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
- 
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).
+   [ Alberto Milone ]
+   * prime-select:
+ - Detect chassis type and enable RTD3 only
+   on laptops (LP: #1942788).
+ - on-demand mode doesn't need to depend on
+   RTD3 (LP: #1942789).
+ - Use bootvga detection when last_gfx_boot
+   is not available.
+ - Don't check the current profile when setting
+   a profile (LP: #1946476).
+ - Catch BrokenPipeError.
+ - Use bootvga detection when last_gfx_boot is
+   not available.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

[Bug 1962731] Re: No SYS%LPI residency in suspend when ethernet is connected

2022-03-03 Thread Dirk Su
** Tags added: oem-priority originate-from-1954400 somerville

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

Title:
  No SYS%LPI residency in suspend when ethernet is connected

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


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2022-02-15 Thread Dirk Su
Test plan had been updated to cover the nvidia-driver-390 case.

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

Title:
  On-demand and RTD3 need to be separated

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


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

[Bug 1957094] Re: on-demand mode doesn't work with nvidia-390

2022-02-14 Thread Dirk Su
Setup impish on 201606-22344 in cert pool, this system's GPU can
supported both with nvidia-driver-390 and nvidia-driver-470. Installed
ubuntu-drivers-common, nvidia-settings from impish-proposed repository.
With nvidia-driver-390, try to setup on-demand mode with "prime-select
on-demand", system will fall back to nvidia mode after reboot. With
nvidia-driver-470, setup on-demand mode with "prime-select on-demand",
system will change to on-demand mode after system reboot. The behaviour
of nvidia-drivers-common and nvidia-settings in impish-proposed is as
expected.


** Tags removed: verification-needed verification-needed-impish
** Tags added: verification-done verification-done-impish

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

Title:
  on-demand mode doesn't work with nvidia-390

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


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

[Bug 1957094] Re: on-demand mode doesn't work with nvidia-390

2022-02-14 Thread Dirk Su
Setup focal on 201606-22344 in cert pool, this system's GPU can
supported both with nvidia-driver-390 and nvidia-driver-470. Installed
ubuntu-drivers-common, nvidia-settings from focal-proposed repository.
With nvidia-driver-390, try to setup on-demand mode with "prime-select
on-demand", system will fall back to nvidia mode after reboot. With
nvidia-driver-470, setup on-demand mode with "prime-select on-demand",
system will change to on-demand mode after system reboot. The behaviour
of nvidia-drivers-common and nvidia-settings in focal-proposed is as
expected.

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

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

Title:
  on-demand mode doesn't work with nvidia-390

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


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2022-02-13 Thread Dirk Su
** Description changed:

  [Steps to reproduce]
  1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
  2. After the installation, press enter to reboot system
  3. prime-select query
  
  [Expected result]
  on-demand
  
  [Actual result]
  performance
  
  ---
  
  It's because ubiquity launches `ubuntu-drivers install --packages-list
  ...` in live system but install each package to target storage.
  
  When installing nvidia-prime, the preinst set "on" to "/etc/prime-
  discrete" which will be referred by gpu-manager. The gpu-manager will
  set to performance mode.
  
  After confirming with Alberto on Mattermost, since we don't have a
  nvidia driver which lower than 450 version since focal.
  
  I think we are ok to switch to on-demand mode.
  
  ---
  
  [Impact]
  
-  * Ubuntu will set GPU mode to performance as default which may use more power
-  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
-  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
+  * Ubuntu will set GPU mode to performance as default which may use more power
+  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
+  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
-  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
-  * On non-laptop machine. Can set GPU mode to on-demand
-  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
+  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
+  * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
+  * On non-laptop machine. Can set GPU mode to on-demand
+  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
-  * on-demand mode combined two features which are GPU offloading and RTD3. 
Nvidia driver lower then 450 (nvidia-driver-390) does not supported RTD3 and 
only have GPU offloading feature.
-  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
+  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But
+ based on the Nvidia README, this case shall not happened.
  
  [Other Info]
- 
- X-HWE-Bug: Bug #1946434
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
+   [ Jeremy Szu ]
+   * Set on-demand mode as default nvidia mode (LP: #1942307)
  
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).
- - Catch BrokenPipeError.
- - Use bootvga detection when last_gfx_boot is
-   not available.
+   [ Alberto Milone ]
+   * prime-select:
+ - Detect chassis type and enable RTD3 only
+   on laptops (LP: #1942788).
+ - on-demand mode doesn't need to depend on
+   RTD3 (LP: #1942789).
+ - Use bootvga detection when last_gfx_boot
+   is not available.
+ - Don't check the current profile when setting
+   a profile (LP: #1946476).
+ - Catch BrokenPipeError.
+ - Use bootvga detection when last_gfx_boot is
+   not available.
  
  nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
  
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
+   [ Jeremy Szu ]
+   * Set on-demand mode as default nvidia mode (LP: #1942307)
  
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).
+   [ Alberto Milone ]
+   * prime-select:
+ - Detect chassis type and enable RTD3 only
+   on laptops (LP: #1942788).
+ - on-demand mode doesn't need to depend on
+   RTD3 (LP: #1942789).
+ - Use bootvga detection when last_gfx_boot
+   is not available.
+ - Don't check the current profile when setting
+   a profile (LP: #1946476).

** Changed 

[Bug 1942307] Re: ubiquity uses performance mode for nvidia driver

2022-02-13 Thread Dirk Su
** Description changed:

  [Steps to reproduce]
  1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
  2. After the installation, press enter to reboot system
  3. prime-select query
  
  [Expected result]
  on-demand
  
  [Actual result]
  performance
  
  ---
  
  It's because ubiquity launches `ubuntu-drivers install --packages-list
  ...` in live system but install each package to target storage.
  
  When installing nvidia-prime, the preinst set "on" to "/etc/prime-
  discrete" which will be referred by gpu-manager. The gpu-manager will
  set to performance mode.
  
  After confirming with Alberto on Mattermost, since we don't have a
  nvidia driver which lower than 450 version since focal.
  
  I think we are ok to switch to on-demand mode.
  
  ---
  
  [Impact]
  
-  * Ubuntu will set GPU mode to performance as default which may use more power
-  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
-  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
+  * Ubuntu will set GPU mode to performance as default which may use more power
+  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
+  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
-  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
-  * On non-laptop machine. Can set GPU mode to on-demand
-  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
+  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
+  * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
+  * On non-laptop machine. Can set GPU mode to on-demand
+  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
-  * on-demand mode combined two features which are GPU offloading and RTD3. 
Nvidia driver lower then 450 (nvidia-driver-390) does not supported RTD3 and 
only have GPU offloading feature.
-  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
+  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But
+ based on the Nvidia README, this case shall not happened.
  
  [Other Info]
- 
- X-HWE-Bug: Bug #1946434
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
+   [ Jeremy Szu ]
+   * Set on-demand mode as default nvidia mode (LP: #1942307)
  
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).
- - Catch BrokenPipeError.
- - Use bootvga detection when last_gfx_boot is
-   not available.
+   [ Alberto Milone ]
+   * prime-select:
+ - Detect chassis type and enable RTD3 only
+   on laptops (LP: #1942788).
+ - on-demand mode doesn't need to depend on
+   RTD3 (LP: #1942789).
+ - Use bootvga detection when last_gfx_boot
+   is not available.
+ - Don't check the current profile when setting
+   a profile (LP: #1946476).
+ - Catch BrokenPipeError.
+ - Use bootvga detection when last_gfx_boot is
+   not available.
  
  nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
  
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
+   [ Jeremy Szu ]
+   * Set on-demand mode as default nvidia mode (LP: #1942307)
  
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).
+   [ Alberto Milone ]
+   * prime-select:
+ - Detect chassis type and enable RTD3 only
+   on laptops (LP: #1942788).
+ - on-demand mode doesn't need to depend on
+   RTD3 (LP: #1942789).
+ - Use bootvga detection when last_gfx_boot
+   is not available.
+ - Don't check the current profile when setting
+   a profile (LP: #1946476).

-- 
You 

[Bug 1946476] Re: New on-demand default causes RTD3 never to be enabled

2022-02-13 Thread Dirk Su
** Description changed:

  [Steps to reproduce]
  1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
  2. After the installation, press enter to reboot system
  3. prime-select query
  
  [Expected result]
  on-demand
  
  [Actual result]
  performance
  
  ---
  
  It's because ubiquity launches `ubuntu-drivers install --packages-list
  ...` in live system but install each package to target storage.
  
  When installing nvidia-prime, the preinst set "on" to "/etc/prime-
  discrete" which will be referred by gpu-manager. The gpu-manager will
  set to performance mode.
  
  After confirming with Alberto on Mattermost, since we don't have a
  nvidia driver which lower than 450 version since focal.
  
  I think we are ok to switch to on-demand mode.
  
  ---
  
  [Impact]
  
   * Ubuntu will set GPU mode to performance as default which may use more power
   * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
   * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
   * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
+  * Old GPU (which supported by nvidia-390 only) will keep in performance 
mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
   * On non-laptop machine. Can set GPU mode to on-demand
   * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
-  * on-demand mode combined two features which are GPU offloading and RTD3. 
Nvidia driver lower then 450 (nvidia-driver-390) does not supported RTD3 and 
only have GPU offloading feature.
-  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
+  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But
+ based on the Nvidia README, this case shall not happened.
  
  [Other Info]
- 
- X-HWE-Bug: Bug #1946434
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
[ Jeremy Szu ]
* Set on-demand mode as default nvidia mode (LP: #1942307)
  
[ Alberto Milone ]
* prime-select:
  - Detect chassis type and enable RTD3 only
on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
is not available.
  - Don't check the current profile when setting
a profile (LP: #1946476).
  - Catch BrokenPipeError.
  - Use bootvga detection when last_gfx_boot is
not available.
  
  nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
  
[ Jeremy Szu ]
* Set on-demand mode as default nvidia mode (LP: #1942307)
  
[ Alberto Milone ]
* prime-select:
  - Detect chassis type and enable RTD3 only
on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
is not available.
  - Don't check the current profile when setting
a profile (LP: #1946476).

** Changed in: oem-priority
   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/1946476

Title:
  New on-demand default causes RTD3 never to be enabled

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


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

[Bug 1957094] Re: on-demand mode doesn't work with nvidia-390

2022-01-14 Thread Dirk Su
Setup impish on 201606-22459 in cert pool. Then doing same test as #3,
test result is positive. GPU will keep in nvidia mode, and glxinfo works
normally.

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

Title:
  on-demand mode doesn't work with nvidia-390

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


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

[Bug 1957094] Re: on-demand mode doesn't work with nvidia-390

2022-01-13 Thread Dirk Su
Installed nvidia-driver-390 on target system (201606-22459 in cert.
poll). Then install nvidia-settings and ubuntu-drivers-common mentioned
in #2. Try to switch on-demand mode with "prime-select on-demand" and
nvidia-settings UI. After system reboot, GPU will keep in nvidia mode.
And glxinfo works normally.

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

Title:
  on-demand mode doesn't work with nvidia-390

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


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2022-01-07 Thread Dirk Su
With test on Dell Vostro 5568 witch got GPU can be supported by nvidia-
driver-390 package. Install nvidia-driver-390 via ubuntu-drivers install
nvidia:390. The default GPU mode will be nvidia. Manually switch GPU
mode to on-demand, and running glxinfo will get "Error: couldn't find
RGB GLX visual or fbconfig". It seems on-demand mode not work with
nvidia-driver-390.

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

Title:
  On-demand and RTD3 need to be separated

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


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

[Bug 1948701] Re: Hard system lock under 5.* kernel on standard laptop

2022-01-04 Thread Dirk Eddelbuettel
Bump.  This bug is still open AFAICT.  And I just realized that the real
cost to me on this machine (which otherwise runs great with the old 4.*
kernel) is that I cannot launch Docker containers any more.  Which
stinks.

Machine otherwise happy and stable under 21.10 *provided I run the
ancient kernel*. If there is something I could or should test, please
let me know and I will.

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

Title:
  Hard system lock under 5.* kernel on standard laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1948701/+subscriptions


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

[Bug 1955566] Re: iris driver doesn't load correctly on intel pci_id 0x4688

2021-12-23 Thread Dirk Su
** Tags added: originate-from-1954392 somerville

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

Title:
  iris driver doesn't load correctly on intel pci_id 0x4688

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


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

[Bug 1946434] Re: SRU: Set on-demand as default, enable RTD3 only on laptops and decouple on-demand with RTD3

2021-12-21 Thread Dirk Su
** Changed in: oem-priority
   Status: Confirmed => Invalid

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

Title:
  SRU: Set on-demand as default, enable RTD3 only on laptops and
  decouple on-demand with RTD3

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


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

[Bug 1946440] Re: SRU: enable RTD3 only on laptops

2021-12-21 Thread Dirk Su
** Changed in: oem-priority
   Status: New => Invalid

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

Title:
  SRU: enable RTD3 only on laptops

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


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

[Bug 1943561] Re: Add ACCEL_LOCATION=base property for 6 Dell clamshell models

2021-12-20 Thread Dirk Su
Tested on SKU 0B11 with focal and impish. After upgrade udev from focal-
proposed and impish-propsed, monitor-sensor show there is no
accelerometer. The results are as expected.

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

Title:
  Add ACCEL_LOCATION=base property for 6 Dell clamshell models

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


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

[Bug 1926547] Re: Add Dell Privacy Mic Mute Key mapping

2021-12-20 Thread Dirk Su
Test with machine which supports Dell privacy. Mic mute key works well
in Impish

[kernel version]
linux-image-5.14.0-1011-oem

[systemd version]
248.3-1ubuntu8.1


** Tags removed: verification-needed verification-needed-impish
** Tags added: verification-done verification-done-impish

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

Title:
  Add Dell Privacy Mic Mute Key mapping

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


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

[Bug 1942788] Re: Nvidia doesn't support RTD3 on non-laptops

2021-12-16 Thread Dirk Su
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

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

Title:
  Nvidia doesn't support RTD3 on non-laptops

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


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

[Bug 1943816] Re: "ubuntu-drivers install" needs to be used when installing nvidia-driver if enabling "third-party packages"

2021-12-15 Thread Dirk Su
Create iso with live-build and import ubuntu-drivers-common
0.9.0~0.20.04.4 from focal-proposed. Install Ubuntu with "third-party
packages" enabled. After installation finished,
'/run/nvidia_runtimepm_supported' had been created and use 'prime-select
query' get 'on-demand'

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

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

Title:
  "ubuntu-drivers install" needs to be used when installing nvidia-
  driver if enabling "third-party packages"

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


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

[Bug 1943816] Re: "ubuntu-drivers install" needs to be used when installing nvidia-driver if enabling "third-party packages"

2021-12-07 Thread Dirk Su
Tested with iso built from live-build and import ubuntu-drivers-common
from focal-proposed. After installation finished, check
/var/log/installer/syslog can see error log as attachment. It says
"ubiquity: chroot: failed to run command ‘prime-select’: No such file or
directory", because 31ubuntu_driver_packages is called by target config
hook which is run before target install stage. Also tested with 21.10
iso file and will got same error message in log.

** Attachment added: "syslog"
   
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1943816/+attachment/5546087/+files/syslog

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

Title:
  "ubuntu-drivers install" needs to be used when installing nvidia-
  driver if enabling "third-party packages"

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


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

[Bug 1925013] Re: [MIR] oem-stella.cmit-camerupt-meta

2021-12-02 Thread Dirk Su
Tested with 202106-29207 in Cert pool. It works fine with proposed
channel and pull in linux-oem-20.04b

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

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

Title:
  [MIR] oem-stella.cmit-camerupt-meta

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


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

[Bug 1942307] Re: ubiquity uses performance mode for nvidia driver

2021-11-30 Thread Dirk Su
@Brian

I updated the description. Do you think the information in description is 
enough to continue the SRU process?
And the packages is uploaded to queue.
Focal: 
https://launchpad.net/ubuntu/focal/+upload/27068997/+files/nvidia-prime_0.8.16~0.20.04.2_source.changes
Hirsute: 
https://launchpad.net/ubuntu/hirsute/+upload/27068995/+files/nvidia-prime_0.8.16.2~0.21.04.1_source.changes

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

Title:
  ubiquity uses performance mode for nvidia driver

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


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2021-11-30 Thread Dirk Su
@Brian

I updated the description. Do you think the information in description is 
enough to continue the SRU process?
And the packages is uploaded to queue.
Focal: 
https://launchpad.net/ubuntu/focal/+upload/27068997/+files/nvidia-prime_0.8.16~0.20.04.2_source.changes
Hirsute: 
https://launchpad.net/ubuntu/hirsute/+upload/27068995/+files/nvidia-prime_0.8.16.2~0.21.04.1_source.changes

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

Title:
  On-demand and RTD3 need to be separated

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


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

[Bug 1946476] Re: New on-demand default causes RTD3 never to be enabled

2021-11-30 Thread Dirk Su
@Brian

I updated the description. Do you think the information in description is 
enough to continue the SRU process?
And the packages is uploaded to queue.
Focal: 
https://launchpad.net/ubuntu/focal/+upload/27068997/+files/nvidia-prime_0.8.16~0.20.04.2_source.changes
Hirsute: 
https://launchpad.net/ubuntu/hirsute/+upload/27068995/+files/nvidia-prime_0.8.16.2~0.21.04.1_source.changes

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

Title:
  New on-demand default causes RTD3 never to be enabled

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


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

[Bug 1942307] Re: ubiquity uses performance mode for nvidia driver

2021-11-30 Thread Dirk Su
** Description changed:

  [Steps to reproduce]
  1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
  2. After the installation, press enter to reboot system
  3. prime-select query
  
  [Expected result]
  on-demand
  
  [Actual result]
  performance
  
  ---
  
  It's because ubiquity launches `ubuntu-drivers install --packages-list
  ...` in live system but install each package to target storage.
  
  When installing nvidia-prime, the preinst set "on" to "/etc/prime-
  discrete" which will be referred by gpu-manager. The gpu-manager will
  set to performance mode.
  
  After confirming with Alberto on Mattermost, since we don't have a
  nvidia driver which lower than 450 version since focal.
  
  I think we are ok to switch to on-demand mode.
  
  ---
  
  [Impact]
  
   * Ubuntu will set GPU mode to performance as default which may use more power
   * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
   * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
   * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
   * On non-laptop machine. Can set GPU mode to on-demand
   * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
-  * on-demand mode combined offloading and RTD3. Nvidia driver lower then 450 
(nvidia-driver-390) does not supported RTD3 and only have offloading feature.
+  * on-demand mode combined two features which are GPU offloading and RTD3. 
Nvidia driver lower then 450 (nvidia-driver-390) does not supported RTD3 and 
only have GPU offloading feature.
   * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  X-HWE-Bug: Bug #1946434
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).
  - Catch BrokenPipeError.
  - Use bootvga detection when last_gfx_boot is
    not available.
  
  nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).

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

Title:
  ubiquity uses performance mode for nvidia driver

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


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2021-11-30 Thread Dirk Su
** Description changed:

- RTD3 is a nvidia GPU feature to support runtime suspend.
+ [Steps to reproduce]
+ 1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
+ 2. After the installation, press enter to reboot system
+ 3. prime-select query
  
- On-demand would be a X offloading feature.
+ [Expected result]
+ on-demand
  
- They are independent, according to discussion on
- https://github.com/tseliot/ubuntu-drivers-common/issues/55.
+ [Actual result]
+ performance
  
- Some parts need to be adjusted, e.g.
+ ---
  
- ```
- # If we are dealing with NVIDIA PRIME, and runtimepm
- # is supported, enable it
- if (os.path.isfile('/run/nvidia_runtimepm_supported') and
- os.path.isfile('/usr/bin/prime-select')):
- print('Trying to select the on-demand PRIME profile')
- try:
- subprocess.call(['prime-select', 'on-demand'])
- except:
- pass
+ It's because ubiquity launches `ubuntu-drivers install --packages-list
+ ...` in live system but install each package to target storage.
  
- # Create the override file for gpu-manager
- with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:
- f.write('# File created by ubuntu-drivers\n')
- ```
+ When installing nvidia-prime, the preinst set "on" to "/etc/prime-
+ discrete" which will be referred by gpu-manager. The gpu-manager will
+ set to performance mode.
+ 
+ After confirming with Alberto on Mattermost, since we don't have a
+ nvidia driver which lower than 450 version since focal.
+ 
+ I think we are ok to switch to on-demand mode.
  
  ---
  
  [Impact]
  
-  * Ubuntu will set GPU mode to performance as default which may use more power
-  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
-  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
+  * Ubuntu will set GPU mode to performance as default which may use more power
+  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
+  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
-  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
-  * On non-laptop machine. Can set GPU mode to on-demand
-  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
+  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
+  * On non-laptop machine. Can set GPU mode to on-demand
+  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
-  * on-demand mode supported after nvidia driver 450. And focal does not have 
nvidia driver lower than 450.
-  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
+  * on-demand mode combined offloading and RTD3. Nvidia driver lower then 450 
(nvidia-driver-390) does not supported RTD3 and only have offloading feature.
+  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  X-HWE-Bug: Bug #1946434
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
+   [ Jeremy Szu ]
+   * Set on-demand mode as default nvidia mode (LP: #1942307)
  
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).
- - Catch BrokenPipeError.
- - Use bootvga detection when last_gfx_boot is
-   not available.
+   [ Alberto Milone ]
+   * prime-select:
+ - Detect chassis type and enable RTD3 only
+   on laptops (LP: #1942788).
+ - on-demand mode doesn't need to depend on
+   RTD3 (LP: #1942789).
+ - Use bootvga detection when last_gfx_boot
+   is not available.
+ - Don't check the current profile when setting
+   a profile (LP: #1946476).
+ - Catch BrokenPipeError.
+ - Use bootvga detection when last_gfx_boot is
+   not available.
  
  nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
  
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
+   [ Jeremy Szu ]
+   * Set on-demand mode as default nvidia mode 

[Bug 1946476] Re: New on-demand default causes RTD3 never to be enabled

2021-11-30 Thread Dirk Su
** Description changed:

- As per LP: #1942307 we now set on-demand as the default. This however,
- causes "prime-select on-demand", called by ubuntu-drivers, not to even
- try to detect RTD3 and to enable it, since "on-demand" is already set.
+ [Steps to reproduce]
+ 1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
+ 2. After the installation, press enter to reboot system
+ 3. prime-select query
  
- We cannot make informed choices about RTD3 in the postinstallation
- script of nvidia-prime, therefore we should simply drop the check that
- prime-select makes to abort if the new profile is determined to be the
- same as the current profile.
+ [Expected result]
+ on-demand
+ 
+ [Actual result]
+ performance
+ 
+ ---
+ 
+ It's because ubiquity launches `ubuntu-drivers install --packages-list
+ ...` in live system but install each package to target storage.
+ 
+ When installing nvidia-prime, the preinst set "on" to "/etc/prime-
+ discrete" which will be referred by gpu-manager. The gpu-manager will
+ set to performance mode.
+ 
+ After confirming with Alberto on Mattermost, since we don't have a
+ nvidia driver which lower than 450 version since focal.
+ 
+ I think we are ok to switch to on-demand mode.
  
  ---
  
  [Impact]
  
-  * Ubuntu will set GPU mode to performance as default which may use more power
-  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
-  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
+  * Ubuntu will set GPU mode to performance as default which may use more power
+  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
+  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
-  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
-  * On non-laptop machine. Can set GPU mode to on-demand
-  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
+  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
+  * On non-laptop machine. Can set GPU mode to on-demand
+  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
-  * on-demand mode supported after nvidia driver 450. And focal does not have 
nvidia driver lower than 450.
-  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
+  * on-demand mode combined offloading and RTD3. Nvidia driver lower then 450 
(nvidia-driver-390) does not supported RTD3 and only have offloading feature.
+  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  X-HWE-Bug: Bug #1946434
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
+   [ Jeremy Szu ]
+   * Set on-demand mode as default nvidia mode (LP: #1942307)
  
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile (LP: #1946476).
- - Catch BrokenPipeError.
- - Use bootvga detection when last_gfx_boot is
-   not available.
+   [ Alberto Milone ]
+   * prime-select:
+ - Detect chassis type and enable RTD3 only
+   on laptops (LP: #1942788).
+ - on-demand mode doesn't need to depend on
+   RTD3 (LP: #1942789).
+ - Use bootvga detection when last_gfx_boot
+   is not available.
+ - Don't check the current profile when setting
+   a profile (LP: #1946476).
+ - Catch BrokenPipeError.
+ - Use bootvga detection when last_gfx_boot is
+   not available.
  
  nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
  
-   [ Jeremy Szu ]
-   * Set on-demand mode as default nvidia mode (LP: #1942307)
+   [ Jeremy Szu ]
+   * Set on-demand mode as default nvidia mode (LP: #1942307)
  
-   [ Alberto Milone ]
-   * prime-select:
- - Detect chassis type and enable RTD3 only
-   on laptops (LP: #1942788).
- - on-demand mode doesn't need to depend on
-   RTD3 (LP: #1942789).
- - Use bootvga detection when last_gfx_boot
-   is not available.
- - Don't check the current profile when setting
-   a profile 

[Bug 1942307] Re: ubiquity uses performance mode for nvidia driver

2021-11-30 Thread Dirk Su
** Description changed:

  [Steps to reproduce]
  1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
  2. After the installation, press enter to reboot system
  3. prime-select query
  
  [Expected result]
  on-demand
  
  [Actual result]
  performance
  
  ---
  
  It's because ubiquity launches `ubuntu-drivers install --packages-list
  ...` in live system but install each package to target storage.
  
  When installing nvidia-prime, the preinst set "on" to "/etc/prime-
  discrete" which will be referred by gpu-manager. The gpu-manager will
  set to performance mode.
  
  After confirming with Alberto on Mattermost, since we don't have a
  nvidia driver which lower than 450 version since focal.
  
  I think we are ok to switch to on-demand mode.
  
  ---
  
  [Impact]
  
   * Ubuntu will set GPU mode to performance as default which may use more power
   * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
   * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
   * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
   * On non-laptop machine. Can set GPU mode to on-demand
   * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
-  * on-demand mode supported after nvidia driver 450. And focal does not have 
nvidia driver lower than 450.
+  * on-demand mode combined offloading and RTD3. Nvidia driver lower then 450 
(nvidia-driver-390) does not supported RTD3 and only have offloading feature.
   * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  X-HWE-Bug: Bug #1946434
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).
  - Catch BrokenPipeError.
  - Use bootvga detection when last_gfx_boot is
    not available.
  
  nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).

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

Title:
  ubiquity uses performance mode for nvidia driver

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


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

[Bug 1943816] Re: "ubuntu-drivers install" needs to be used when installing nvidia-driver if enabling "third-party packages"

2021-11-22 Thread Dirk Su
Previous discussion was at
https://chat.canonical.com/canonical/pl/1mgrhibwpj8ojxk89tbpztjdar. Due
to the design of ubiquity, it only use ubuntu-driver to get package list
and install package in 31ubuntu_driver_packages. But ubuntu-driver not
only install packages but also create configurations of Nvidia GPU. This
patch will copy configurations and calling prime-select to make sure it
get same result as calling "ubuntu-driver install" directly.

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

Title:
  "ubuntu-drivers install" needs to be used when installing nvidia-
  driver if enabling "third-party packages"

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


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

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-22 Thread Dirk F
For historical interest, I note that I don't see (2) in ocrfeeder 0.8.1
under Xenial. Fixing (1) by reverting gs to 9.25 or replacing with a
patched 9.50 solved my issue with ocrfeeder in that configuration. I
presume it's running under Python 2.7.17.

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

Title:
  ocrfeeder PDF import systematically fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocrfeeder/+bug/1890013/+subscriptions


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

[Bug 1942307] Re: ubiquity uses performance mode for nvidia driver

2021-11-21 Thread Dirk Su
** Changed in: oem-priority
   Status: Triaged => Confirmed

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

Title:
  ubiquity uses performance mode for nvidia driver

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


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

[Bug 1913656] Re: `gs [options] -- ` fails with "permission denied"

2021-11-18 Thread Dirk F
My kind back-porter
(https://launchpad.net/~savoury1/+archive/ubuntu/graphics) applied the
GS commit
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=24ec06a27df63297796a379c95ee5d4b39040410
to his PPA GS 9.50 build (Focal -> Xenial) and that has worked fine.
Thanks for pushing this.

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

Title:
  `gs [options] -- ` fails with "permission denied"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1913656/+subscriptions


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

[Bug 1943816] Re: "ubuntu-drivers install" needs to be used when installing nvidia-driver if enabling "third-party packages"

2021-11-18 Thread Dirk Su
** Description changed:

  ubiquity calls
  ```
  ubuntu-drivers install $FREEONLY $NOOEM --package-list 
/run/ubuntu-drivers.autoinstall
  ```
  to generate package list during live system but "ubuntu-drivers install" not 
only install packages but also create some config files for switching nvidia 
mode (e.g. on-demand) and change the runtime config as well (e.g. modify the 
iniramfs).
  
  Thus, not only package list needs to be referred but also the
  configuration.
  
  ---
  
  In ubuntu-drivers-common, which read the "/run/ubuntu-drivers.autoinstall" to 
install package. It also skipping the nvidia-mode changing (made by 
ubuntu-drivers install).
  ```
  $ cat ubiquity/target-config/31ubuntu_driver_packages
  #!/bin/sh
  set -e
  
  # install all packages that "ubuntu-drivers autoinstall" installed into the
  # live system. Ubiquity calls this with --package-list 
/run/ubuntu-drivers.autoinstall
  
  PKGLIST=/run/ubuntu-drivers.autoinstall
  [ -e $PKGLIST ] || exit 0
  
  for p in `cat $PKGLIST`; do
  apt-install $p
  done
  ```
  
  ---
  
  We need to use a same approach to make sure the nvidia mode is same on a
  same system (either all handing by ubuntu-drivers install or change the
  logic to maintainer script in each package).
  
  ---
  
  [Impact]
  
   * According to Nvidia README, the RTD3 (Runtime D3) doesn't support on 
non-laptop machine
-  * Patch make system not enable RTD3 unless it's a laptop
   * Install Ubuntu with "third-party packages" enabled, will not get same
     GPU configuration by running "ubuntu-drivers install"
+  * Patch make system not enable RTD3 unless it's a laptop and set default GPU 
mode to "on-demand"
  
  [Test Plan]
  
-  * Install Ubuntu on machine with "third-party packages" enabled
+  * Create Focal iso with live-build and import ubuntu-drivers-common from 
-proposed
+  * Install Ubuntu on machine, in "Updates and other software" page select 
"Install third-party software for graphics and Wi-Fi hardware and additional 
media formats"
   * On laptop with Nvidia RTD3 supported GPU. The configuration file 
'/run/nvidia_runtimepm_supported' will be created.
-  * Execute "prime-select query" should get "on-demand"
+  * Call "prime-select query" to make sure the default mode is "on-demand"
  
  [Where problems could occur]
  
   * With non-laptop machine use RTD3 supported GPU may use more power
  
  [Other Info]
  
-  * For RTD3 (Runtime D3) doesn't support on non-laptop machine, refer to
+  * For RTD3 (Runtime D3) doesn't support on non-laptop machine, refer to
  https://bugs.launchpad.net/oem-priority/+bug/1942788

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

Title:
  "ubuntu-drivers install" needs to be used when installing nvidia-
  driver if enabling "third-party packages"

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


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

[Bug 1943816] Re: "ubuntu-drivers install" needs to be used when installing nvidia-driver if enabling "third-party packages"

2021-11-16 Thread Dirk Su
** Description changed:

  ubiquity calls
  ```
  ubuntu-drivers install $FREEONLY $NOOEM --package-list 
/run/ubuntu-drivers.autoinstall
  ```
  to generate package list during live system but "ubuntu-drivers install" not 
only install packages but also create some config files for switching nvidia 
mode (e.g. on-demand) and change the runtime config as well (e.g. modify the 
iniramfs).
  
  Thus, not only package list needs to be referred but also the
  configuration.
  
  ---
  
  In ubuntu-drivers-common, which read the "/run/ubuntu-drivers.autoinstall" to 
install package. It also skipping the nvidia-mode changing (made by 
ubuntu-drivers install).
  ```
  $ cat ubiquity/target-config/31ubuntu_driver_packages
  #!/bin/sh
  set -e
  
  # install all packages that "ubuntu-drivers autoinstall" installed into the
  # live system. Ubiquity calls this with --package-list 
/run/ubuntu-drivers.autoinstall
  
  PKGLIST=/run/ubuntu-drivers.autoinstall
  [ -e $PKGLIST ] || exit 0
  
  for p in `cat $PKGLIST`; do
  apt-install $p
  done
  ```
  
  ---
  
  We need to use a same approach to make sure the nvidia mode is same on a
  same system (either all handing by ubuntu-drivers install or change the
  logic to maintainer script in each package).
  
  ---
  
  [Impact]
  
-  * According to Nvidia README, the RTD3 (Runtime D3) doesn't support on 
non-laptop machine
-  * Patch make system not enable RTD3 unless it's a laptop
-  * Install Ubuntu with "third-party packages" enabled, will not get same
-GPU configuration by running "ubuntu-drivers install"
+  * According to Nvidia README, the RTD3 (Runtime D3) doesn't support on 
non-laptop machine
+  * Patch make system not enable RTD3 unless it's a laptop
+  * Install Ubuntu with "third-party packages" enabled, will not get same
+    GPU configuration by running "ubuntu-drivers install"
  
  [Test Plan]
  
-  * Install Ubuntu on machine with "third-party packages" enabled
-  * On laptop with Nvidia RTD3 supported GPU. The configuration file 
'/run/nvidia_runtimepm_supported' will be created.
-  * Execute "prime-select query" should get "on-demand"
+  * Install Ubuntu on machine with "third-party packages" enabled
+  * On laptop with Nvidia RTD3 supported GPU. The configuration file 
'/run/nvidia_runtimepm_supported' will be created.
+  * Execute "prime-select query" should get "on-demand"
  
  [Where problems could occur]
  
-  * With non-laptop machine use RTD3 supported GPU may use more power
+  * With non-laptop machine use RTD3 supported GPU may use more power
  
  [Other Info]
+ 
+  * For RTD3 (Runtime D3) doesn't support on non-laptop machine, refer to
+ https://bugs.launchpad.net/oem-priority/+bug/1942788

** Changed in: ubuntu-drivers-common (Ubuntu Focal)
 Assignee: (unassigned) => Dirk Su (dirksu)

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

Title:
  "ubuntu-drivers install" needs to be used when installing nvidia-
  driver if enabling "third-party packages"

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


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

[Bug 1942788] Re: Nvidia doesn't support RTD3 on non-laptops

2021-11-16 Thread Dirk Su
** Changed in: ubuntu-drivers-common (Ubuntu Hirsute)
 Assignee: (unassigned) => Dirk Su (dirksu)

** Changed in: ubuntu-drivers-common (Ubuntu Focal)
 Assignee: (unassigned) => Dirk Su (dirksu)

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

Title:
  Nvidia doesn't support RTD3 on non-laptops

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


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

[Bug 1942788] Re: Nvidia doesn't support RTD3 on non-laptops

2021-11-16 Thread Dirk Su
** Description changed:

  According to Nvidia README, the RTD3 doesn't support on non-laptop
  machine.
  
  https://github.com/tseliot/ubuntu-drivers-common/issues/55
  
  We need to check chassis type before enabling RTD3.
  
  ---
  
  [Impact]
  
   * According to Nvidia README, the RTD3 (Runtime D3) doesn't support on 
non-laptop machine
   * Patch make system not enable RTD3 unless it's a laptop
  
  [Test Plan]
  
   * Install Ubuntu on machine
   * Install GPU driver via 'ubuntu-drivers install'
   * On laptop with Nvidia RTD3 supported GPU. The configuration file 
'/run/nvidia_runtimepm_supported' will be created
  
  [Where problems could occur]
  
   * With non-laptop machine use RTD3 supported GPU may use more power
  
  [Other Info]
  
- X-HWE-Bug: Bug #1946440
+ Information for Focal, refer to LP#1943816

** Description changed:

  According to Nvidia README, the RTD3 doesn't support on non-laptop
  machine.
  
  https://github.com/tseliot/ubuntu-drivers-common/issues/55
  
  We need to check chassis type before enabling RTD3.
  
  ---
  
  [Impact]
  
   * According to Nvidia README, the RTD3 (Runtime D3) doesn't support on 
non-laptop machine
   * Patch make system not enable RTD3 unless it's a laptop
  
  [Test Plan]
  
   * Install Ubuntu on machine
   * Install GPU driver via 'ubuntu-drivers install'
   * On laptop with Nvidia RTD3 supported GPU. The configuration file 
'/run/nvidia_runtimepm_supported' will be created
  
  [Where problems could occur]
  
   * With non-laptop machine use RTD3 supported GPU may use more power
  
  [Other Info]
  
- Information for Focal, refer to LP#1943816
+ Information for Focal, refer to
+ [LP#1943816](https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1943816)

** Description changed:

  According to Nvidia README, the RTD3 doesn't support on non-laptop
  machine.
  
  https://github.com/tseliot/ubuntu-drivers-common/issues/55
  
  We need to check chassis type before enabling RTD3.
  
  ---
  
  [Impact]
  
   * According to Nvidia README, the RTD3 (Runtime D3) doesn't support on 
non-laptop machine
   * Patch make system not enable RTD3 unless it's a laptop
  
  [Test Plan]
  
   * Install Ubuntu on machine
   * Install GPU driver via 'ubuntu-drivers install'
   * On laptop with Nvidia RTD3 supported GPU. The configuration file 
'/run/nvidia_runtimepm_supported' will be created
  
  [Where problems could occur]
  
   * With non-laptop machine use RTD3 supported GPU may use more power
  
  [Other Info]
  
  Information for Focal, refer to
- [LP#1943816](https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1943816)
+ https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1943816

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

Title:
  Nvidia doesn't support RTD3 on non-laptops

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


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

[Bug 1942788] Re: Nvidia doesn't support RTD3 on non-laptops

2021-11-15 Thread Dirk Su
Tested on desktop and notebook machine with Nvidia graphic card. On
notebook machine (chassis type 10), configuration file
'/run/nvidia_runtimepm_supported' is created. On desktop (chassis type
3) machine did not generate the configuration file. Only notebook
machine will enable runtime PM.

** Tags removed: verification-needed verification-needed-hirsute
** Tags added: verification-done verification-done-hirsute

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

Title:
  Nvidia doesn't support RTD3 on non-laptops

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


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

[Bug 1942788] Re: Nvidia doesn't support RTD3 on non-laptops

2021-11-10 Thread Dirk Su
** Changed in: oem-priority
   Status: Triaged => Confirmed

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

Title:
  Nvidia doesn't support RTD3 on non-laptops

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


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

[Bug 1925013] Re: [MIR] oem-stella.cmit-camerupt-meta

2021-11-10 Thread Dirk Su
** Tags added: oem-needs-upload

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

Title:
  [MIR] oem-stella.cmit-camerupt-meta

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


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

[Bug 1943816] Re: "ubuntu-drivers install" needs to be used when installing nvidia-driver if enabling "third-party packages"

2021-11-08 Thread Dirk Su
** Description changed:

  ubiquity calls
  ```
  ubuntu-drivers install $FREEONLY $NOOEM --package-list 
/run/ubuntu-drivers.autoinstall
  ```
  to generate package list during live system but "ubuntu-drivers install" not 
only install packages but also create some config files for switching nvidia 
mode (e.g. on-demand) and change the runtime config as well (e.g. modify the 
iniramfs).
  
  Thus, not only package list needs to be referred but also the
  configuration.
  
  ---
  
  In ubuntu-drivers-common, which read the "/run/ubuntu-drivers.autoinstall" to 
install package. It also skipping the nvidia-mode changing (made by 
ubuntu-drivers install).
  ```
  $ cat ubiquity/target-config/31ubuntu_driver_packages
  #!/bin/sh
  set -e
  
  # install all packages that "ubuntu-drivers autoinstall" installed into the
  # live system. Ubiquity calls this with --package-list 
/run/ubuntu-drivers.autoinstall
  
  PKGLIST=/run/ubuntu-drivers.autoinstall
  [ -e $PKGLIST ] || exit 0
  
  for p in `cat $PKGLIST`; do
  apt-install $p
  done
  ```
  
  ---
  
  We need to use a same approach to make sure the nvidia mode is same on a
  same system (either all handing by ubuntu-drivers install or change the
  logic to maintainer script in each package).
+ 
+ ---
+ 
+ [Impact]
+ 
+  * According to Nvidia README, the RTD3 (Runtime D3) doesn't support on 
non-laptop machine
+  * Patch make system not enable RTD3 unless it's a laptop
+  * Install Ubuntu with "third-party packages" enabled, will not get same
+GPU configuration by running "ubuntu-drivers install"
+ 
+ [Test Plan]
+ 
+  * Install Ubuntu on machine with "third-party packages" enabled
+  * On laptop with Nvidia RTD3 supported GPU. The configuration file 
'/run/nvidia_runtimepm_supported' will be created.
+  * Execute "prime-select query" should get "on-demand"
+ 
+ [Where problems could occur]
+ 
+  * With non-laptop machine use RTD3 supported GPU may use more power
+ 
+ [Other Info]

** Changed in: oem-priority
 Assignee: jeremyszu (os369510) => Dirk Su (dirksu)

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

Title:
  "ubuntu-drivers install" needs to be used when installing nvidia-
  driver if enabling "third-party packages"

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


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

[Bug 1943816] Re: "ubuntu-drivers install" needs to be used when installing nvidia-driver if enabling "third-party packages"

2021-11-03 Thread Dirk Su
debdiff for focal

** Patch added: "ubuntu-drivers-common_0.9.0~0.20.04.3.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1943816/+attachment/5537831/+files/ubuntu-drivers-common_0.9.0~0.20.04.3.debdiff

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

Title:
  "ubuntu-drivers install" needs to be used when installing nvidia-
  driver if enabling "third-party packages"

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


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

[Bug 1942307] Re: ubiquity uses performance mode for nvidia driver

2021-11-03 Thread Dirk Su
** Description changed:

  [Steps to reproduce]
  1. Install 20.04.3 with "Third-party packages" on a system which containing a 
RTD3 supported nvidia card.
  2. After the installation, press enter to reboot system
  3. prime-select query
  
  [Expected result]
  on-demand
  
  [Actual result]
  performance
  
  ---
  
  It's because ubiquity launches `ubuntu-drivers install --packages-list
  ...` in live system but install each package to target storage.
  
  When installing nvidia-prime, the preinst set "on" to "/etc/prime-
  discrete" which will be referred by gpu-manager. The gpu-manager will
  set to performance mode.
  
  After confirming with Alberto on Mattermost, since we don't have a
  nvidia driver which lower than 450 version since focal.
  
  I think we are ok to switch to on-demand mode.
  
  ---
  
  [Impact]
  
   * Ubuntu will set GPU mode to performance as default which may use more power
   * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
   * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
-  * Install 20.04.3 with "Third-party packages". After the installation, 
reboot the system. Execute "prime-select query" should get "on-demand"
+  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
   * On non-laptop machine. Can set GPU mode to on-demand
   * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
   * on-demand mode supported after nvidia driver 450. And focal does not have 
nvidia driver lower than 450.
   * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  X-HWE-Bug: Bug #1946434
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).
  - Catch BrokenPipeError.
  - Use bootvga detection when last_gfx_boot is
    not available.
  
  nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).

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

Title:
  ubiquity uses performance mode for nvidia driver

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


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

[Bug 1942789] Re: On-demand and RTD3 need to be separated

2021-11-03 Thread Dirk Su
** Description changed:

  RTD3 is a nvidia GPU feature to support runtime suspend.
  
  On-demand would be a X offloading feature.
  
  They are independent, according to discussion on
  https://github.com/tseliot/ubuntu-drivers-common/issues/55.
  
  Some parts need to be adjusted, e.g.
  
  ```
  # If we are dealing with NVIDIA PRIME, and runtimepm
  # is supported, enable it
  if (os.path.isfile('/run/nvidia_runtimepm_supported') and
  os.path.isfile('/usr/bin/prime-select')):
  print('Trying to select the on-demand PRIME profile')
  try:
  subprocess.call(['prime-select', 'on-demand'])
  except:
  pass
  
  # Create the override file for gpu-manager
  with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:
  f.write('# File created by ubuntu-drivers\n')
  ```
  
  ---
  
  [Impact]
  
   * Ubuntu will set GPU mode to performance as default which may use more power
   * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not 
supported
   * According to Nvidia README, the RTD3 doesn't support on non-laptop machine
  
  [Test Plan]
  
-  * Install 20.04.3 with "Third-party packages". After the installation, 
reboot the system. Execute "prime-select query" should get "on-demand"
+  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU 
driver. After the installation, reboot the system. Execute "prime-select query" 
should get "on-demand"
   * On non-laptop machine. Can set GPU mode to on-demand
   * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand 
and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02"
  
  [Where problems could occur]
  
   * on-demand mode supported after nvidia driver 450. And focal does not have 
nvidia driver lower than 450.
   * With GPU supported RTD3 not able enable runtime PM on non-laptop. But 
based on the Nvidia README, this case shall not happened.
  
  [Other Info]
  
  X-HWE-Bug: Bug #1946434
  
  Changelogs:
  
  nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).
  - Catch BrokenPipeError.
  - Use bootvga detection when last_gfx_boot is
    not available.
  
  nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium
  
    [ Jeremy Szu ]
    * Set on-demand mode as default nvidia mode (LP: #1942307)
  
    [ Alberto Milone ]
    * prime-select:
  - Detect chassis type and enable RTD3 only
    on laptops (LP: #1942788).
  - on-demand mode doesn't need to depend on
    RTD3 (LP: #1942789).
  - Use bootvga detection when last_gfx_boot
    is not available.
  - Don't check the current profile when setting
    a profile (LP: #1946476).

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

Title:
  On-demand and RTD3 need to be separated

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


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

  1   2   3   4   5   6   7   8   9   10   >