Public bug reported:

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

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


** Tags: acpi graphics grub hybrid

** Attachment added: "outputs of 'cat /proc/version_signature', 'sudo lspci 
-vnvn', 'less /boot/grub/grub.cfg', 'sudo apt list | grep -i gpu', 'sh 
get-acpi-info.sh' (see https://launchpad.net/~hybrid-graphics-linux)"
   
https://bugs.launchpad.net/bugs/1973633/+attachment/5590120/+files/version_lscpi_grub.sfg_aptlist_get-acpi-info.zip

-- 
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

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