This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1973633

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

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

Title:
  wrong acpi_call sent at boot, how to disable discrete graphic card?

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hi to the Ubuntu team,

  --------------------
  Key info:
  MSI Delta 15 A5EFK laptop
  dual boot Ubuntu 22.04 LTS/Windows 11
  Ubuntu 5.15.0-27.28-generic 5.15.30
  hybrid graphic cards: AMD RX6700M + AMD Radeon 8 Graphics Renoir (in AMD 
Ryzen 9 5900HX)
  open source amdgpu drivers
  --------------------

  I tried to combined one bug report with one related question hoping
  this is fine.

  -The bug-
  I've noticed the following error when booting on my ubuntu partition:

  [    0.649628] ACPI BIOS Error (bug): Could not resolve symbol 
[\_SB.PCIO.GP17.MP2], AE_NOT_FOUND (20210730/psargs-330)
  [    0.650162] ACPI Error: Aborting method \_SB.GPIO._EVT due to previous 
error (AE_NOT_FOUND) (20210730/psparse-529) /dev/nvme0n1p6: clean, 
219896/6725632 files, 3948761/26880000 blocks

  I did not really worried about that first. But then when I wanted to
  reduce my battery draining on my ubuntu partition (half of the battery
  life on my windows partition for similar usage) I've seen that
  disabling my discrete graphic card could be one thing to try to reduce
  power consumption. So I thought about using (i) acpi_call as stated or
  (ii) vga_switcheroo as stated in
  https://help.ubuntu.com/community/HybridGraphics . However, for (i) I
  need to know the correct calls to send to ACPI and my latptop is not
  listed here: https://hybrid-graphics-
  linux.tuxfamily.org/index.php?title=ACPI_calls and obviously the call
  that the kernel is trying to send at boot (for whatever reason) is
  also wrong. For (ii) I think that vga_switcheroo is also using
  acpi_call under the hood to disable the discrete graphic card. Which
  leads now to:

  -Question-
  Can I use vga_switcheroo knowing that my kernel is sending false acpi_call? I 
just want to be really sure about what I'm doing here because the doc states to 
modifiy the grub config and I'm really not confortable with dealing with the 
boot manager knowing the above bug. Is there a way to find the correct ACPI 
call?
  Adittional output asked by the doc:
  mustang@MSI:~$ sudo grep -i switcheroo /boot/config-*
  /boot/config-5.15.0-25-generic:CONFIG_VGA_SWITCHEROO=y
  /boot/config-5.15.0-27-generic:CONFIG_VGA_SWITCHEROO=y

  Thank you for you help,
  Best regards,
  Jeremy
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2022-05-08 (8 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  MachineType: Micro-Star International Co., Ltd. Delta 15 A5EFK
  Package: linux (not installed)
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic 
root=UUID=78719e21-6069-4e4d-b5a1-a64916f89efe ro quiet splash 
acpi_backlight=vendor vt.handoff=7
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-27-generic N/A
   linux-backports-modules-5.15.0-27-generic  N/A
   linux-firmware                             20220329.git681281e4-0ubuntu3
  Tags:  jammy
  Uname: Linux 5.15.0-27-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 10/28/2021
  dmi.bios.release: 1.5
  dmi.bios.vendor: American Megatrends International, LLC.
  dmi.bios.version: E15CKAMS.105
  dmi.board.asset.tag: Default string
  dmi.board.name: MS-15CK
  dmi.board.vendor: Micro-Star International Co., Ltd.
  dmi.board.version: REV:1.0
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 10
  dmi.chassis.vendor: Micro-Star International Co., Ltd.
  dmi.chassis.version: Default string
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrE15CKAMS.105:bd10/28/2021:br1.5:svnMicro-StarInternationalCo.,Ltd.:pnDelta15A5EFK:pvrREV1.0:rvnMicro-StarInternationalCo.,Ltd.:rnMS-15CK:rvrREV1.0:cvnMicro-StarInternationalCo.,Ltd.:ct10:cvrDefaultstring:sku15CK.1:
  dmi.product.family: Delta
  dmi.product.name: Delta 15 A5EFK
  dmi.product.sku: 15CK.1
  dmi.product.version: REV:1.0
  dmi.sys.vendor: Micro-Star International Co., Ltd.

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


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

Reply via email to