[Desktop-packages] [Bug 1960747] Re: [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but on X

2022-10-05 Thread Gavin Graham
There may be more detail with these two bug reports:
The issue is the upstream changes for the screen auto-rotation impacts the 
touchpad on majority of 2-in-1 laptops.
See https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1846 and 
https://gitlab.gnome.org/GNOME/mutter/-/issues/1686#note_1271723.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1960747

Title:
  [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but
  on X

Status in Mutter:
  New
Status in mutter package in Ubuntu:
  Confirmed

Bug description:
  When physically rotating my 2-in-1 laptop Lenovo Yoga 7 Gen 6 AMD - 14ACN6, 
screen rotates properly under X, but not under Wayland.
  Also the lock screen rotation option is missing in the top-right menu under 
Wayland. It exists in X.

  iio-sensor-proxy is being loaded correctly:

  ---
  $ systemctl status iio-sensor-proxy.service
  ● iio-sensor-proxy.service - IIO Sensor Proxy service
   Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static)
   Active: active (running) since Sun 2022-02-13 15:43:37 CET; 2h 12min ago
     Main PID: 787 (iio-sensor-prox)
    Tasks: 3 (limit: 16544)
   Memory: 1.4M
  CPU: 5.688s
   CGroup: /system.slice/iio-sensor-proxy.service
   └─787 /usr/libexec/iio-sensor-proxy

  Feb 13 15:43:36 michaels-yoga systemd[1]: Starting IIO Sensor Proxy service...
  Feb 13 15:43:37 michaels-yoga systemd[1]: Started IIO Sensor Proxy service.
  ---

  monitor-sensor detects the physical rotation:

  ---
  $ monitor-sensor
  Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === Has accelerometer (orientation: normal)
  === Has ambient light sensor (value: 70,29, unit: lux)
  === No proximity sensor
  Light changed: 65,27 (lux)
  Light changed: 160,66 (lux)
  Accelerometer orientation changed: right-up
  Light changed: 40,16 (lux)
  Light changed: 45,18 (lux)
  Light changed: 40,16 (lux)
  Light changed: 25,10 (lux)
  Accelerometer orientation changed: left-up
  Light changed: 20,08 (lux)
  Light changed: 25,10 (lux)
  Light changed: 35,14 (lux)
  Accelerometer orientation changed: normal
  Light changed: 155,64 (lux)
  Accelerometer orientation changed: bottom-up
  Light changed: 30,12 (lux)
  Light changed: 40,16 (lux)
  Light changed: 30,12 (lux)
  Light changed: 145,60 (lux)
  Accelerometer orientation changed: normal
  ---

  Putting the laptop in tablet mode disables keyboard and touchpad
  correctly both under Wayland and X.

  So obviously the sensors are working correctly, but signals are not
  being interpreted correctly in Wayland?

  ---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: xorg 1:7.7+22ubuntu2
  Uname: Linux 5.15.0-051500-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 13 17:46:51 2022
  DistUpgraded: Fresh install
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c1) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Cezanne [17aa:3813]
  InstallationDate: Installed on 2022-02-11 (1 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 82N7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-051500-generic 
root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet 
splash mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2021
  dmi.bios.release: 1.25
  dmi.bios.vendor: LENOVO
  dmi.bios.version: H9CN25WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76463 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ACN6
  dmi.ec.firmware.release: 1.25
  dmi.modalias: 
dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
  dmi.product.family: Yoga 7 14ACN6
  dmi.product.name: 82N7
  dmi.product.sku: LENOVO_MT_82N7_BU_idea_FM_Yoga 7 14ACN6
  dmi.product.version: Yoga 7 14ACN6
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.107-8ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.

[Desktop-packages] [Bug 1960747] Re: [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but on X

2022-10-05 Thread Gavin Graham
I have a Lenovo Yoga 7 Gen7 (14ial7) 12thGen Intel CPU and I am having
the exact same issue.  Monitor-sensor reports everything is correct and
yet the rotation doesn't work under Wayland but it does with X.

Only adding a comment here are this is another model number of a 2-in-1
exhibiting this issue.  I can collect hardware info but I have attached
the output of lshw.

** Attachment added: "Yoga7Gen7.txt"
   
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1960747/+attachment/5621470/+files/Yoga7Gen7.txt

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1960747

Title:
  [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but
  on X

Status in Mutter:
  New
Status in mutter package in Ubuntu:
  Confirmed

Bug description:
  When physically rotating my 2-in-1 laptop Lenovo Yoga 7 Gen 6 AMD - 14ACN6, 
screen rotates properly under X, but not under Wayland.
  Also the lock screen rotation option is missing in the top-right menu under 
Wayland. It exists in X.

  iio-sensor-proxy is being loaded correctly:

  ---
  $ systemctl status iio-sensor-proxy.service
  ● iio-sensor-proxy.service - IIO Sensor Proxy service
   Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static)
   Active: active (running) since Sun 2022-02-13 15:43:37 CET; 2h 12min ago
     Main PID: 787 (iio-sensor-prox)
    Tasks: 3 (limit: 16544)
   Memory: 1.4M
  CPU: 5.688s
   CGroup: /system.slice/iio-sensor-proxy.service
   └─787 /usr/libexec/iio-sensor-proxy

  Feb 13 15:43:36 michaels-yoga systemd[1]: Starting IIO Sensor Proxy service...
  Feb 13 15:43:37 michaels-yoga systemd[1]: Started IIO Sensor Proxy service.
  ---

  monitor-sensor detects the physical rotation:

  ---
  $ monitor-sensor
  Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === Has accelerometer (orientation: normal)
  === Has ambient light sensor (value: 70,29, unit: lux)
  === No proximity sensor
  Light changed: 65,27 (lux)
  Light changed: 160,66 (lux)
  Accelerometer orientation changed: right-up
  Light changed: 40,16 (lux)
  Light changed: 45,18 (lux)
  Light changed: 40,16 (lux)
  Light changed: 25,10 (lux)
  Accelerometer orientation changed: left-up
  Light changed: 20,08 (lux)
  Light changed: 25,10 (lux)
  Light changed: 35,14 (lux)
  Accelerometer orientation changed: normal
  Light changed: 155,64 (lux)
  Accelerometer orientation changed: bottom-up
  Light changed: 30,12 (lux)
  Light changed: 40,16 (lux)
  Light changed: 30,12 (lux)
  Light changed: 145,60 (lux)
  Accelerometer orientation changed: normal
  ---

  Putting the laptop in tablet mode disables keyboard and touchpad
  correctly both under Wayland and X.

  So obviously the sensors are working correctly, but signals are not
  being interpreted correctly in Wayland?

  ---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: xorg 1:7.7+22ubuntu2
  Uname: Linux 5.15.0-051500-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 13 17:46:51 2022
  DistUpgraded: Fresh install
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c1) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Cezanne [17aa:3813]
  InstallationDate: Installed on 2022-02-11 (1 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 82N7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-051500-generic 
root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet 
splash mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2021
  dmi.bios.release: 1.25
  dmi.bios.vendor: LENOVO
  dmi.bios.version: H9CN25WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76463 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ACN6
  dmi.ec.firmware.release: 1.25
  dmi.modalias: 
dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
  dmi.product.family: Yoga 7 14ACN6
  dmi.product.name: 82N7
  dmi.product.sku: LENOVO_M

[Desktop-packages] [Bug 1960747] Re: [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but on X

2022-07-13 Thread Daniel van Vugt
** Tags removed: impish

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1960747

Title:
  [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but
  on X

Status in Mutter:
  New
Status in mutter package in Ubuntu:
  Confirmed

Bug description:
  When physically rotating my 2-in-1 laptop Lenovo Yoga 7 Gen 6 AMD - 14ACN6, 
screen rotates properly under X, but not under Wayland.
  Also the lock screen rotation option is missing in the top-right menu under 
Wayland. It exists in X.

  iio-sensor-proxy is being loaded correctly:

  ---
  $ systemctl status iio-sensor-proxy.service
  ● iio-sensor-proxy.service - IIO Sensor Proxy service
   Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static)
   Active: active (running) since Sun 2022-02-13 15:43:37 CET; 2h 12min ago
     Main PID: 787 (iio-sensor-prox)
    Tasks: 3 (limit: 16544)
   Memory: 1.4M
  CPU: 5.688s
   CGroup: /system.slice/iio-sensor-proxy.service
   └─787 /usr/libexec/iio-sensor-proxy

  Feb 13 15:43:36 michaels-yoga systemd[1]: Starting IIO Sensor Proxy service...
  Feb 13 15:43:37 michaels-yoga systemd[1]: Started IIO Sensor Proxy service.
  ---

  monitor-sensor detects the physical rotation:

  ---
  $ monitor-sensor
  Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === Has accelerometer (orientation: normal)
  === Has ambient light sensor (value: 70,29, unit: lux)
  === No proximity sensor
  Light changed: 65,27 (lux)
  Light changed: 160,66 (lux)
  Accelerometer orientation changed: right-up
  Light changed: 40,16 (lux)
  Light changed: 45,18 (lux)
  Light changed: 40,16 (lux)
  Light changed: 25,10 (lux)
  Accelerometer orientation changed: left-up
  Light changed: 20,08 (lux)
  Light changed: 25,10 (lux)
  Light changed: 35,14 (lux)
  Accelerometer orientation changed: normal
  Light changed: 155,64 (lux)
  Accelerometer orientation changed: bottom-up
  Light changed: 30,12 (lux)
  Light changed: 40,16 (lux)
  Light changed: 30,12 (lux)
  Light changed: 145,60 (lux)
  Accelerometer orientation changed: normal
  ---

  Putting the laptop in tablet mode disables keyboard and touchpad
  correctly both under Wayland and X.

  So obviously the sensors are working correctly, but signals are not
  being interpreted correctly in Wayland?

  ---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: xorg 1:7.7+22ubuntu2
  Uname: Linux 5.15.0-051500-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 13 17:46:51 2022
  DistUpgraded: Fresh install
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c1) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Cezanne [17aa:3813]
  InstallationDate: Installed on 2022-02-11 (1 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 82N7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-051500-generic 
root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet 
splash mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2021
  dmi.bios.release: 1.25
  dmi.bios.vendor: LENOVO
  dmi.bios.version: H9CN25WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76463 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ACN6
  dmi.ec.firmware.release: 1.25
  dmi.modalias: 
dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
  dmi.product.family: Yoga 7 14ACN6
  dmi.product.name: 82N7
  dmi.product.sku: LENOVO_MT_82N7_BU_idea_FM_Yoga 7 14ACN6
  dmi.product.version: Yoga 7 14ACN6
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.107-8ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2build1
  version.x

[Desktop-packages] [Bug 1960747] Re: [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but on X

2022-05-20 Thread Bug Watch Updater
** Changed in: mutter
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1960747

Title:
  [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but
  on X

Status in Mutter:
  New
Status in mutter package in Ubuntu:
  Confirmed

Bug description:
  When physically rotating my 2-in-1 laptop Lenovo Yoga 7 Gen 6 AMD - 14ACN6, 
screen rotates properly under X, but not under Wayland.
  Also the lock screen rotation option is missing in the top-right menu under 
Wayland. It exists in X.

  iio-sensor-proxy is being loaded correctly:

  ---
  $ systemctl status iio-sensor-proxy.service
  ● iio-sensor-proxy.service - IIO Sensor Proxy service
   Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static)
   Active: active (running) since Sun 2022-02-13 15:43:37 CET; 2h 12min ago
     Main PID: 787 (iio-sensor-prox)
    Tasks: 3 (limit: 16544)
   Memory: 1.4M
  CPU: 5.688s
   CGroup: /system.slice/iio-sensor-proxy.service
   └─787 /usr/libexec/iio-sensor-proxy

  Feb 13 15:43:36 michaels-yoga systemd[1]: Starting IIO Sensor Proxy service...
  Feb 13 15:43:37 michaels-yoga systemd[1]: Started IIO Sensor Proxy service.
  ---

  monitor-sensor detects the physical rotation:

  ---
  $ monitor-sensor
  Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === Has accelerometer (orientation: normal)
  === Has ambient light sensor (value: 70,29, unit: lux)
  === No proximity sensor
  Light changed: 65,27 (lux)
  Light changed: 160,66 (lux)
  Accelerometer orientation changed: right-up
  Light changed: 40,16 (lux)
  Light changed: 45,18 (lux)
  Light changed: 40,16 (lux)
  Light changed: 25,10 (lux)
  Accelerometer orientation changed: left-up
  Light changed: 20,08 (lux)
  Light changed: 25,10 (lux)
  Light changed: 35,14 (lux)
  Accelerometer orientation changed: normal
  Light changed: 155,64 (lux)
  Accelerometer orientation changed: bottom-up
  Light changed: 30,12 (lux)
  Light changed: 40,16 (lux)
  Light changed: 30,12 (lux)
  Light changed: 145,60 (lux)
  Accelerometer orientation changed: normal
  ---

  Putting the laptop in tablet mode disables keyboard and touchpad
  correctly both under Wayland and X.

  So obviously the sensors are working correctly, but signals are not
  being interpreted correctly in Wayland?

  ---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: xorg 1:7.7+22ubuntu2
  Uname: Linux 5.15.0-051500-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 13 17:46:51 2022
  DistUpgraded: Fresh install
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c1) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Cezanne [17aa:3813]
  InstallationDate: Installed on 2022-02-11 (1 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 82N7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-051500-generic 
root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet 
splash mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2021
  dmi.bios.release: 1.25
  dmi.bios.vendor: LENOVO
  dmi.bios.version: H9CN25WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76463 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ACN6
  dmi.ec.firmware.release: 1.25
  dmi.modalias: 
dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
  dmi.product.family: Yoga 7 14ACN6
  dmi.product.name: 82N7
  dmi.product.sku: LENOVO_MT_82N7_BU_idea_FM_Yoga 7 14ACN6
  dmi.product.version: Yoga 7 14ACN6
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.107-8ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 

[Desktop-packages] [Bug 1960747] Re: [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but on X

2022-03-18 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: mutter (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1960747

Title:
  [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but
  on X

Status in Mutter:
  Unknown
Status in mutter package in Ubuntu:
  Confirmed

Bug description:
  When physically rotating my 2-in-1 laptop Lenovo Yoga 7 Gen 6 AMD - 14ACN6, 
screen rotates properly under X, but not under Wayland.
  Also the lock screen rotation option is missing in the top-right menu under 
Wayland. It exists in X.

  iio-sensor-proxy is being loaded correctly:

  ---
  $ systemctl status iio-sensor-proxy.service
  ● iio-sensor-proxy.service - IIO Sensor Proxy service
   Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static)
   Active: active (running) since Sun 2022-02-13 15:43:37 CET; 2h 12min ago
     Main PID: 787 (iio-sensor-prox)
    Tasks: 3 (limit: 16544)
   Memory: 1.4M
  CPU: 5.688s
   CGroup: /system.slice/iio-sensor-proxy.service
   └─787 /usr/libexec/iio-sensor-proxy

  Feb 13 15:43:36 michaels-yoga systemd[1]: Starting IIO Sensor Proxy service...
  Feb 13 15:43:37 michaels-yoga systemd[1]: Started IIO Sensor Proxy service.
  ---

  monitor-sensor detects the physical rotation:

  ---
  $ monitor-sensor
  Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === Has accelerometer (orientation: normal)
  === Has ambient light sensor (value: 70,29, unit: lux)
  === No proximity sensor
  Light changed: 65,27 (lux)
  Light changed: 160,66 (lux)
  Accelerometer orientation changed: right-up
  Light changed: 40,16 (lux)
  Light changed: 45,18 (lux)
  Light changed: 40,16 (lux)
  Light changed: 25,10 (lux)
  Accelerometer orientation changed: left-up
  Light changed: 20,08 (lux)
  Light changed: 25,10 (lux)
  Light changed: 35,14 (lux)
  Accelerometer orientation changed: normal
  Light changed: 155,64 (lux)
  Accelerometer orientation changed: bottom-up
  Light changed: 30,12 (lux)
  Light changed: 40,16 (lux)
  Light changed: 30,12 (lux)
  Light changed: 145,60 (lux)
  Accelerometer orientation changed: normal
  ---

  Putting the laptop in tablet mode disables keyboard and touchpad
  correctly both under Wayland and X.

  So obviously the sensors are working correctly, but signals are not
  being interpreted correctly in Wayland?

  ---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: xorg 1:7.7+22ubuntu2
  Uname: Linux 5.15.0-051500-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 13 17:46:51 2022
  DistUpgraded: Fresh install
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c1) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Cezanne [17aa:3813]
  InstallationDate: Installed on 2022-02-11 (1 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 82N7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-051500-generic 
root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet 
splash mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2021
  dmi.bios.release: 1.25
  dmi.bios.vendor: LENOVO
  dmi.bios.version: H9CN25WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76463 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ACN6
  dmi.ec.firmware.release: 1.25
  dmi.modalias: 
dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
  dmi.product.family: Yoga 7 14ACN6
  dmi.product.name: 82N7
  dmi.product.sku: LENOVO_MT_82N7_BU_idea_FM_Yoga 7 14ACN6
  dmi.product.version: Yoga 7 14ACN6
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.107-8ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1.1
  version.xserver-xorg-input-evdev: 

[Desktop-packages] [Bug 1960747] Re: [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but on X

2022-02-20 Thread Daniel van Vugt
** Also affects: mutter via
   https://gitlab.gnome.org/GNOME/mutter/-/issues/1686
   Importance: Unknown
   Status: Unknown

** Tags added: jammy

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1960747

Title:
  [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but
  on X

Status in Mutter:
  Unknown
Status in mutter package in Ubuntu:
  New

Bug description:
  When physically rotating my 2-in-1 laptop Lenovo Yoga 7 Gen 6 AMD - 14ACN6, 
screen rotates properly under X, but not under Wayland.
  Also the lock screen rotation option is missing in the top-right menu under 
Wayland. It exists in X.

  iio-sensor-proxy is being loaded correctly:

  ---
  $ systemctl status iio-sensor-proxy.service
  ● iio-sensor-proxy.service - IIO Sensor Proxy service
   Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static)
   Active: active (running) since Sun 2022-02-13 15:43:37 CET; 2h 12min ago
     Main PID: 787 (iio-sensor-prox)
    Tasks: 3 (limit: 16544)
   Memory: 1.4M
  CPU: 5.688s
   CGroup: /system.slice/iio-sensor-proxy.service
   └─787 /usr/libexec/iio-sensor-proxy

  Feb 13 15:43:36 michaels-yoga systemd[1]: Starting IIO Sensor Proxy service...
  Feb 13 15:43:37 michaels-yoga systemd[1]: Started IIO Sensor Proxy service.
  ---

  monitor-sensor detects the physical rotation:

  ---
  $ monitor-sensor
  Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === Has accelerometer (orientation: normal)
  === Has ambient light sensor (value: 70,29, unit: lux)
  === No proximity sensor
  Light changed: 65,27 (lux)
  Light changed: 160,66 (lux)
  Accelerometer orientation changed: right-up
  Light changed: 40,16 (lux)
  Light changed: 45,18 (lux)
  Light changed: 40,16 (lux)
  Light changed: 25,10 (lux)
  Accelerometer orientation changed: left-up
  Light changed: 20,08 (lux)
  Light changed: 25,10 (lux)
  Light changed: 35,14 (lux)
  Accelerometer orientation changed: normal
  Light changed: 155,64 (lux)
  Accelerometer orientation changed: bottom-up
  Light changed: 30,12 (lux)
  Light changed: 40,16 (lux)
  Light changed: 30,12 (lux)
  Light changed: 145,60 (lux)
  Accelerometer orientation changed: normal
  ---

  Putting the laptop in tablet mode disables keyboard and touchpad
  correctly both under Wayland and X.

  So obviously the sensors are working correctly, but signals are not
  being interpreted correctly in Wayland?

  ---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: xorg 1:7.7+22ubuntu2
  Uname: Linux 5.15.0-051500-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 13 17:46:51 2022
  DistUpgraded: Fresh install
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c1) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Cezanne [17aa:3813]
  InstallationDate: Installed on 2022-02-11 (1 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 82N7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-051500-generic 
root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet 
splash mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2021
  dmi.bios.release: 1.25
  dmi.bios.vendor: LENOVO
  dmi.bios.version: H9CN25WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76463 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ACN6
  dmi.ec.firmware.release: 1.25
  dmi.modalias: 
dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
  dmi.product.family: Yoga 7 14ACN6
  dmi.product.name: 82N7
  dmi.product.sku: LENOVO_MT_82N7_BU_idea_FM_Yoga 7 14ACN6
  dmi.product.version: Yoga 7 14ACN6
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.107-8ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1.1
  version.xserver-xorg-in

[Desktop-packages] [Bug 1960747] Re: [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but on X

2022-02-19 Thread MichaelE
I think this relates to this discussion on GNOME:
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1846 and
https://gitlab.gnome.org/GNOME/mutter/-/issues/1686.

My Laptop also does not report SW_TABLET_MODE, while disabling of
keyboard and Touchpad is done properly by the HW (?) when folding into
tablet mode.

Obviously, the way X is deciding on the sensor input is the better one,
as there the behavior is as expected, when folding the laptop.

** Bug watch added: gitlab.gnome.org/GNOME/mutter/-/issues #1686
   https://gitlab.gnome.org/GNOME/mutter/-/issues/1686

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1960747

Title:
  [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but
  on X

Status in mutter package in Ubuntu:
  New

Bug description:
  When physically rotating my 2-in-1 laptop Lenovo Yoga 7 Gen 6 AMD - 14ACN6, 
screen rotates properly under X, but not under Wayland.
  Also the lock screen rotation option is missing in the top-right menu under 
Wayland. It exists in X.

  iio-sensor-proxy is being loaded correctly:

  ---
  $ systemctl status iio-sensor-proxy.service
  ● iio-sensor-proxy.service - IIO Sensor Proxy service
   Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static)
   Active: active (running) since Sun 2022-02-13 15:43:37 CET; 2h 12min ago
     Main PID: 787 (iio-sensor-prox)
    Tasks: 3 (limit: 16544)
   Memory: 1.4M
  CPU: 5.688s
   CGroup: /system.slice/iio-sensor-proxy.service
   └─787 /usr/libexec/iio-sensor-proxy

  Feb 13 15:43:36 michaels-yoga systemd[1]: Starting IIO Sensor Proxy service...
  Feb 13 15:43:37 michaels-yoga systemd[1]: Started IIO Sensor Proxy service.
  ---

  monitor-sensor detects the physical rotation:

  ---
  $ monitor-sensor
  Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === Has accelerometer (orientation: normal)
  === Has ambient light sensor (value: 70,29, unit: lux)
  === No proximity sensor
  Light changed: 65,27 (lux)
  Light changed: 160,66 (lux)
  Accelerometer orientation changed: right-up
  Light changed: 40,16 (lux)
  Light changed: 45,18 (lux)
  Light changed: 40,16 (lux)
  Light changed: 25,10 (lux)
  Accelerometer orientation changed: left-up
  Light changed: 20,08 (lux)
  Light changed: 25,10 (lux)
  Light changed: 35,14 (lux)
  Accelerometer orientation changed: normal
  Light changed: 155,64 (lux)
  Accelerometer orientation changed: bottom-up
  Light changed: 30,12 (lux)
  Light changed: 40,16 (lux)
  Light changed: 30,12 (lux)
  Light changed: 145,60 (lux)
  Accelerometer orientation changed: normal
  ---

  Putting the laptop in tablet mode disables keyboard and touchpad
  correctly both under Wayland and X.

  So obviously the sensors are working correctly, but signals are not
  being interpreted correctly in Wayland?

  ---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: xorg 1:7.7+22ubuntu2
  Uname: Linux 5.15.0-051500-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 13 17:46:51 2022
  DistUpgraded: Fresh install
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c1) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Cezanne [17aa:3813]
  InstallationDate: Installed on 2022-02-11 (1 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 82N7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-051500-generic 
root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet 
splash mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2021
  dmi.bios.release: 1.25
  dmi.bios.vendor: LENOVO
  dmi.bios.version: H9CN25WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76463 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ACN6
  dmi.ec.firmware.release: 1.25
  dmi.modalias: 
dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
  dmi.product.family: Yoga 7 14ACN6
  dmi.product.name: 82N7

[Desktop-packages] [Bug 1960747] Re: [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but on X

2022-02-19 Thread MichaelE
Ok, moved to 22.04 early (5.15.0-18-generic) and am still seeing the
same behavior. It works with X, but not with Wayland.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1960747

Title:
  [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but
  on X

Status in mutter package in Ubuntu:
  New

Bug description:
  When physically rotating my 2-in-1 laptop Lenovo Yoga 7 Gen 6 AMD - 14ACN6, 
screen rotates properly under X, but not under Wayland.
  Also the lock screen rotation option is missing in the top-right menu under 
Wayland. It exists in X.

  iio-sensor-proxy is being loaded correctly:

  ---
  $ systemctl status iio-sensor-proxy.service
  ● iio-sensor-proxy.service - IIO Sensor Proxy service
   Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static)
   Active: active (running) since Sun 2022-02-13 15:43:37 CET; 2h 12min ago
     Main PID: 787 (iio-sensor-prox)
    Tasks: 3 (limit: 16544)
   Memory: 1.4M
  CPU: 5.688s
   CGroup: /system.slice/iio-sensor-proxy.service
   └─787 /usr/libexec/iio-sensor-proxy

  Feb 13 15:43:36 michaels-yoga systemd[1]: Starting IIO Sensor Proxy service...
  Feb 13 15:43:37 michaels-yoga systemd[1]: Started IIO Sensor Proxy service.
  ---

  monitor-sensor detects the physical rotation:

  ---
  $ monitor-sensor
  Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === Has accelerometer (orientation: normal)
  === Has ambient light sensor (value: 70,29, unit: lux)
  === No proximity sensor
  Light changed: 65,27 (lux)
  Light changed: 160,66 (lux)
  Accelerometer orientation changed: right-up
  Light changed: 40,16 (lux)
  Light changed: 45,18 (lux)
  Light changed: 40,16 (lux)
  Light changed: 25,10 (lux)
  Accelerometer orientation changed: left-up
  Light changed: 20,08 (lux)
  Light changed: 25,10 (lux)
  Light changed: 35,14 (lux)
  Accelerometer orientation changed: normal
  Light changed: 155,64 (lux)
  Accelerometer orientation changed: bottom-up
  Light changed: 30,12 (lux)
  Light changed: 40,16 (lux)
  Light changed: 30,12 (lux)
  Light changed: 145,60 (lux)
  Accelerometer orientation changed: normal
  ---

  Putting the laptop in tablet mode disables keyboard and touchpad
  correctly both under Wayland and X.

  So obviously the sensors are working correctly, but signals are not
  being interpreted correctly in Wayland?

  ---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: xorg 1:7.7+22ubuntu2
  Uname: Linux 5.15.0-051500-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 13 17:46:51 2022
  DistUpgraded: Fresh install
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c1) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Cezanne [17aa:3813]
  InstallationDate: Installed on 2022-02-11 (1 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 82N7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-051500-generic 
root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet 
splash mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2021
  dmi.bios.release: 1.25
  dmi.bios.vendor: LENOVO
  dmi.bios.version: H9CN25WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76463 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ACN6
  dmi.ec.firmware.release: 1.25
  dmi.modalias: 
dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
  dmi.product.family: Yoga 7 14ACN6
  dmi.product.name: 82N7
  dmi.product.sku: LENOVO_MT_82N7_BU_idea_FM_Yoga 7 14ACN6
  dmi.product.version: Yoga 7 14ACN6
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.107-8ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserve

[Desktop-packages] [Bug 1960747] Re: [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but on X

2022-02-13 Thread Daniel van Vugt
If you are able to wipe the machine and test 22.04 early then it can be 
downloaded here:
http://cdimage.ubuntu.com/daily-live/current/

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1960747

Title:
  [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but
  on X

Status in mutter package in Ubuntu:
  New

Bug description:
  When physically rotating my 2-in-1 laptop Lenovo Yoga 7 Gen 6 AMD - 14ACN6, 
screen rotates properly under X, but not under Wayland.
  Also the lock screen rotation option is missing in the top-right menu under 
Wayland. It exists in X.

  iio-sensor-proxy is being loaded correctly:

  ---
  $ systemctl status iio-sensor-proxy.service
  ● iio-sensor-proxy.service - IIO Sensor Proxy service
   Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static)
   Active: active (running) since Sun 2022-02-13 15:43:37 CET; 2h 12min ago
     Main PID: 787 (iio-sensor-prox)
    Tasks: 3 (limit: 16544)
   Memory: 1.4M
  CPU: 5.688s
   CGroup: /system.slice/iio-sensor-proxy.service
   └─787 /usr/libexec/iio-sensor-proxy

  Feb 13 15:43:36 michaels-yoga systemd[1]: Starting IIO Sensor Proxy service...
  Feb 13 15:43:37 michaels-yoga systemd[1]: Started IIO Sensor Proxy service.
  ---

  monitor-sensor detects the physical rotation:

  ---
  $ monitor-sensor
  Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === Has accelerometer (orientation: normal)
  === Has ambient light sensor (value: 70,29, unit: lux)
  === No proximity sensor
  Light changed: 65,27 (lux)
  Light changed: 160,66 (lux)
  Accelerometer orientation changed: right-up
  Light changed: 40,16 (lux)
  Light changed: 45,18 (lux)
  Light changed: 40,16 (lux)
  Light changed: 25,10 (lux)
  Accelerometer orientation changed: left-up
  Light changed: 20,08 (lux)
  Light changed: 25,10 (lux)
  Light changed: 35,14 (lux)
  Accelerometer orientation changed: normal
  Light changed: 155,64 (lux)
  Accelerometer orientation changed: bottom-up
  Light changed: 30,12 (lux)
  Light changed: 40,16 (lux)
  Light changed: 30,12 (lux)
  Light changed: 145,60 (lux)
  Accelerometer orientation changed: normal
  ---

  Putting the laptop in tablet mode disables keyboard and touchpad
  correctly both under Wayland and X.

  So obviously the sensors are working correctly, but signals are not
  being interpreted correctly in Wayland?

  ---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: xorg 1:7.7+22ubuntu2
  Uname: Linux 5.15.0-051500-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 13 17:46:51 2022
  DistUpgraded: Fresh install
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c1) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Cezanne [17aa:3813]
  InstallationDate: Installed on 2022-02-11 (1 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 82N7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-051500-generic 
root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet 
splash mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2021
  dmi.bios.release: 1.25
  dmi.bios.vendor: LENOVO
  dmi.bios.version: H9CN25WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76463 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ACN6
  dmi.ec.firmware.release: 1.25
  dmi.modalias: 
dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
  dmi.product.family: Yoga 7 14ACN6
  dmi.product.name: 82N7
  dmi.product.sku: LENOVO_MT_82N7_BU_idea_FM_Yoga 7 14ACN6
  dmi.product.version: Yoga 7 14ACN6
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.107-8ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  v

[Desktop-packages] [Bug 1960747] Re: [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but on X

2022-02-13 Thread Daniel van Vugt
It looks like there were a few rotation fixes upstream in mutter in the
past year or so, so maybe this has been fixed already.

Unfortunately you can't test it in a live session because live sessions
use Xorg still. We'll need to wait until you are able and willing to try
Ubuntu 22.04, which will be formally released in April.

** Tags added: amdgpu

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1960747

Title:
  [Lenovo Yoga 7] Autorotation of screen does not work on wayland, but
  on X

Status in mutter package in Ubuntu:
  New

Bug description:
  When physically rotating my 2-in-1 laptop Lenovo Yoga 7 Gen 6 AMD - 14ACN6, 
screen rotates properly under X, but not under Wayland.
  Also the lock screen rotation option is missing in the top-right menu under 
Wayland. It exists in X.

  iio-sensor-proxy is being loaded correctly:

  ---
  $ systemctl status iio-sensor-proxy.service
  ● iio-sensor-proxy.service - IIO Sensor Proxy service
   Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static)
   Active: active (running) since Sun 2022-02-13 15:43:37 CET; 2h 12min ago
     Main PID: 787 (iio-sensor-prox)
    Tasks: 3 (limit: 16544)
   Memory: 1.4M
  CPU: 5.688s
   CGroup: /system.slice/iio-sensor-proxy.service
   └─787 /usr/libexec/iio-sensor-proxy

  Feb 13 15:43:36 michaels-yoga systemd[1]: Starting IIO Sensor Proxy service...
  Feb 13 15:43:37 michaels-yoga systemd[1]: Started IIO Sensor Proxy service.
  ---

  monitor-sensor detects the physical rotation:

  ---
  $ monitor-sensor
  Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === Has accelerometer (orientation: normal)
  === Has ambient light sensor (value: 70,29, unit: lux)
  === No proximity sensor
  Light changed: 65,27 (lux)
  Light changed: 160,66 (lux)
  Accelerometer orientation changed: right-up
  Light changed: 40,16 (lux)
  Light changed: 45,18 (lux)
  Light changed: 40,16 (lux)
  Light changed: 25,10 (lux)
  Accelerometer orientation changed: left-up
  Light changed: 20,08 (lux)
  Light changed: 25,10 (lux)
  Light changed: 35,14 (lux)
  Accelerometer orientation changed: normal
  Light changed: 155,64 (lux)
  Accelerometer orientation changed: bottom-up
  Light changed: 30,12 (lux)
  Light changed: 40,16 (lux)
  Light changed: 30,12 (lux)
  Light changed: 145,60 (lux)
  Accelerometer orientation changed: normal
  ---

  Putting the laptop in tablet mode disables keyboard and touchpad
  correctly both under Wayland and X.

  So obviously the sensors are working correctly, but signals are not
  being interpreted correctly in Wayland?

  ---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: xorg 1:7.7+22ubuntu2
  Uname: Linux 5.15.0-051500-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 13 17:46:51 2022
  DistUpgraded: Fresh install
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c1) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Cezanne [17aa:3813]
  InstallationDate: Installed on 2022-02-11 (1 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  MachineType: LENOVO 82N7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-051500-generic 
root=UUID=d1796991-349c-4784-b8c3-e0a2eb2fc132 ro rootflags=subvol=@ quiet 
splash mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2021
  dmi.bios.release: 1.25
  dmi.bios.vendor: LENOVO
  dmi.bios.version: H9CN25WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76463 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ACN6
  dmi.ec.firmware.release: 1.25
  dmi.modalias: 
dmi:bvnLENOVO:bvrH9CN25WW:bd11/12/2021:br1.25:efr1.25:svnLENOVO:pn82N7:pvrYoga714ACN6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct31:cvrYoga714ACN6:skuLENOVO_MT_82N7_BU_idea_FM_Yoga714ACN6:
  dmi.product.family: Yoga 7 14ACN6
  dmi.product.name: 82N7
  dmi.product.sku: LENOVO_MT_82N7_BU_idea_FM_Yoga 7 14ACN6
  dmi.product.version: Yoga 7 14ACN6
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.107-8ubuntu1
  version.libgl1-mesa-dri: l