Public bug reported:

The device is Lenovo Legion 7. This laptop has a mux switch to switch
between dynamic/hybrid or discrete graphics mode. This laptop has a high
resolution with high pixel density than the other displays out there,
but I don't know the exact number. Additionally, this laptop can adjust
the display refresh rate between 60 and 165 Hz.

---

There were 2 problems I encountered in dynamic/hybrid graphics mode:

- The widgets shown were too small.

Details:

The resolution was correct, at 2560x1600, but all widgets shown were too
small. I suspected this was due to the laptop screen high pixel density
and the widget size calculation didn't make use of physical dimension,
but in terms of pixel.

I thought installing NVIDIA driver would fix this, but no; this worked
in OpenSUSE Leap with KDE Plasma and I think it was because of the
inclusion of NVIDIA OpenGL driver.

The current workaround was to scale by 200% in "Display Settings",
although this make some widgets pixelated or blurred and the login
screen isn't affected by the scaling at all.

- The DE seemed to use wrong screen refresh rate.

The refresh rate I usually used is 165 Hz, but the "Display Settings"
showed 93 Hz.

Changing the refresh rate between 60 Hz and 165 Hz didn't update the 93
Hz in the "Display Settings".

OpenSUSE Leap with KDE Plasma properly detected 60 and 165 Hz, so I
think it may be either GNOME DE or xorg misconfigurations.

---

There were 3 problems I encountered in discrete graphics mode:

- The widgets were are too small.
- The DE seemed to use wrong screen refresh rate.

Details:

The above 2 problems were the same issue as encountered in the hybrid
graphics mode.

- Screen brightness was fixed at 100%.

Details:

Screen brightness could be adjusted by the keyboard fn keys, but the
brightness was fixed at 100%.

This is the most annoying problem and have forced me to use the hybrid
graphics mode which I don't like.

My first thought was a specific NVIDIA issue.

So I tried adding "acpi_backlight=vendor" and
"nvdia.NVreg_RegistryDwords=EnableBrightnessControl=1" to GRUB, but
didn't work at all.

---

In discrete graphics mode, a quick "sudo journalctl -p3 -b0" showed
below:

Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI BIOS Error (bug): Could 
not resolve symbol [\_SB.PCI0.PB2], AE_NOT_FOUND (20210730/dswload2-162)
Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI Error: AE_NOT_FOUND, 
During name lookup/catalog (20210730/psobject-220)
Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: integrity: Problem loading 
X.509 certificate -65
Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI BIOS Error (bug): Could 
not resolve symbol [\_SB.PCI0.GP17.VGA.LCD._BCM.AFN7], AE_NOT_FOUND 
(20210730/psargs-330)
Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI Error: Aborting method 
\_SB.PCI0.GP17.VGA.LCD._BCM due to previous error (AE_NOT_FOUND) 
(20210730/psparse-529)

In hybrid graphics mode, "sudo journalctl -p3 -b0" output like above
except that there was no:

Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI BIOS Error (bug): Could 
not resolve symbol [\_SB.PCI0.GP17.VGA.LCD._BCM.AFN7], AE_NOT_FOUND 
(20210730/psargs-330)
Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI Error: Aborting method 
\_SB.PCI0.GP17.VGA.LCD._BCM due to previous error (AE_NOT_FOUND) 
(20210730/psparse-529)

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
Uname: Linux 5.15.0-52-generic x86_64
.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.0000.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 Open Kernel Module for x86_64  520.56.06  Release 
Build  (dvs-builder@U16-T12-10-2)  Thu Oct  6 21:33:54 UTC 2022
 GCC version:  gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 29 18:50:17 2022
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus: nvidia/520.56.06, 5.15.0-52-generic, x86_64: installed
ExtraDebuggingInterest: Yes, including running git bisection searches
GraphicsCard:
 NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2560] (rev 
a1) (prog-if 00 [VGA controller])
   Subsystem: Lenovo GA106M [GeForce RTX 3060 Mobile / Max-Q] [17aa:3aa6]
InstallationDate: Installed on 2022-10-29 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
MachineType: LENOVO 82N6
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-52-generic 
root=UUID=755b225e-e7d8-439f-a685-8ab759683ed6 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/16/2022
dmi.bios.release: 1.57
dmi.bios.vendor: LENOVO
dmi.bios.version: GKCN57WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0R32862 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Legion 7 16ACHg6
dmi.ec.firmware.release: 1.57
dmi.modalias: 
dmi:bvnLENOVO:bvrGKCN57WW:bd06/16/2022:br1.57:efr1.57:svnLENOVO:pn82N6:pvrLegion716ACHg6:rvnLENOVO:rnLNVNB161216:rvrSDK0R32862WIN:cvnLENOVO:ct10:cvrLegion716ACHg6:skuLENOVO_MT_82N6_BU_idea_FM_Legion716ACHg6:
dmi.product.family: Legion 7 16ACHg6
dmi.product.name: 82N6
dmi.product.sku: LENOVO_MT_82N6_BU_idea_FM_Legion 7 16ACHg6
dmi.product.version: Legion 7 16ACHg6
dmi.sys.vendor: LENOVO
nvidia-settings: ERROR: A supplied argument is invalid
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.110-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.5-0ubuntu0.1
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.3-2ubuntu2.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1
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 jammy ubuntu

** Attachment added: "journalctl_discrete_graphics_errors"
   
https://bugs.launchpad.net/bugs/1995173/+attachment/5627691/+files/journalctl_discrete_graphics_errors

** Summary changed:

- Display Issues : Cannot Control Display Brightness, High Pixel Density Issue, 
and Resolution Issue
+ Lenovo Legion 7 Display Issues : Cannot Control Display Brightness, High 
Pixel Density Issue, and Resolution Issue

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1995173

Title:
  Lenovo Legion 7 Display Issues : Cannot Control Display Brightness,
  High Pixel Density Issue, and Resolution Issue

Status in xorg package in Ubuntu:
  New

Bug description:
  The device is Lenovo Legion 7. This laptop has a mux switch to switch
  between dynamic/hybrid or discrete graphics mode. This laptop has a
  high resolution with high pixel density than the other displays out
  there, but I don't know the exact number. Additionally, this laptop
  can adjust the display refresh rate between 60 and 165 Hz.

  ---

  There were 2 problems I encountered in dynamic/hybrid graphics mode:

  - The widgets shown were too small.

  Details:

  The resolution was correct, at 2560x1600, but all widgets shown were
  too small. I suspected this was due to the laptop screen high pixel
  density and the widget size calculation didn't make use of physical
  dimension, but in terms of pixel.

  I thought installing NVIDIA driver would fix this, but no; this worked
  in OpenSUSE Leap with KDE Plasma and I think it was because of the
  inclusion of NVIDIA OpenGL driver.

  The current workaround was to scale by 200% in "Display Settings",
  although this make some widgets pixelated or blurred and the login
  screen isn't affected by the scaling at all.

  - The DE seemed to use wrong screen refresh rate.

  The refresh rate I usually used is 165 Hz, but the "Display Settings"
  showed 93 Hz.

  Changing the refresh rate between 60 Hz and 165 Hz didn't update the
  93 Hz in the "Display Settings".

  OpenSUSE Leap with KDE Plasma properly detected 60 and 165 Hz, so I
  think it may be either GNOME DE or xorg misconfigurations.

  ---

  There were 3 problems I encountered in discrete graphics mode:

  - The widgets were are too small.
  - The DE seemed to use wrong screen refresh rate.

  Details:

  The above 2 problems were the same issue as encountered in the hybrid
  graphics mode.

  - Screen brightness was fixed at 100%.

  Details:

  Screen brightness could be adjusted by the keyboard fn keys, but the
  brightness was fixed at 100%.

  This is the most annoying problem and have forced me to use the hybrid
  graphics mode which I don't like.

  My first thought was a specific NVIDIA issue.

  So I tried adding "acpi_backlight=vendor" and
  "nvdia.NVreg_RegistryDwords=EnableBrightnessControl=1" to GRUB, but
  didn't work at all.

  ---

  In discrete graphics mode, a quick "sudo journalctl -p3 -b0" showed
  below:

  Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI BIOS Error (bug): 
Could not resolve symbol [\_SB.PCI0.PB2], AE_NOT_FOUND (20210730/dswload2-162)
  Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI Error: AE_NOT_FOUND, 
During name lookup/catalog (20210730/psobject-220)
  Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: integrity: Problem loading 
X.509 certificate -65
  Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI BIOS Error (bug): 
Could not resolve symbol [\_SB.PCI0.GP17.VGA.LCD._BCM.AFN7], AE_NOT_FOUND 
(20210730/psargs-330)
  Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI Error: Aborting method 
\_SB.PCI0.GP17.VGA.LCD._BCM due to previous error (AE_NOT_FOUND) 
(20210730/psparse-529)

  In hybrid graphics mode, "sudo journalctl -p3 -b0" output like above
  except that there was no:

  Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI BIOS Error (bug): 
Could not resolve symbol [\_SB.PCI0.GP17.VGA.LCD._BCM.AFN7], AE_NOT_FOUND 
(20210730/psargs-330)
  Okt 29 18:48:04 jiazhang-Legion-7-16ACHg6 kernel: ACPI Error: Aborting method 
\_SB.PCI0.GP17.VGA.LCD._BCM due to previous error (AE_NOT_FOUND) 
(20210730/psparse-529)

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: xorg 1:7.7+23ubuntu2
  ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
  Uname: Linux 5.15.0-52-generic x86_64
  .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.0000.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 Open Kernel Module for x86_64  520.56.06  Release 
Build  (dvs-builder@U16-T12-10-2)  Thu Oct  6 21:33:54 UTC 2022
   GCC version:  gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Oct 29 18:50:17 2022
  DistUpgraded: Fresh install
  DistroCodename: jammy
  DistroVariant: ubuntu
  DkmsStatus: nvidia/520.56.06, 5.15.0-52-generic, x86_64: installed
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GraphicsCard:
   NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2560] (rev 
a1) (prog-if 00 [VGA controller])
     Subsystem: Lenovo GA106M [GeForce RTX 3060 Mobile / Max-Q] [17aa:3aa6]
  InstallationDate: Installed on 2022-10-29 (0 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  MachineType: LENOVO 82N6
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-52-generic 
root=UUID=755b225e-e7d8-439f-a685-8ab759683ed6 ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/16/2022
  dmi.bios.release: 1.57
  dmi.bios.vendor: LENOVO
  dmi.bios.version: GKCN57WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0R32862 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Legion 7 16ACHg6
  dmi.ec.firmware.release: 1.57
  dmi.modalias: 
dmi:bvnLENOVO:bvrGKCN57WW:bd06/16/2022:br1.57:efr1.57:svnLENOVO:pn82N6:pvrLegion716ACHg6:rvnLENOVO:rnLNVNB161216:rvrSDK0R32862WIN:cvnLENOVO:ct10:cvrLegion716ACHg6:skuLENOVO_MT_82N6_BU_idea_FM_Legion716ACHg6:
  dmi.product.family: Legion 7 16ACHg6
  dmi.product.name: 82N6
  dmi.product.sku: LENOVO_MT_82N6_BU_idea_FM_Legion 7 16ACHg6
  dmi.product.version: Legion 7 16ACHg6
  dmi.sys.vendor: LENOVO
  nvidia-settings: ERROR: A supplied argument is invalid
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.110-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.5-0ubuntu0.1
  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.3-2ubuntu2.2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2build1

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to