← Back to team overview

bumblebee team mailing list archive

[Bug 752542] Re: ACPI DSDT info

 

https://www.asus.com/Laptops/ROG-Zephyrus-G14/

This model of laptop currently has a few issues with power management.
We have tried using bbswitch (with patch to count AMD gpu as iGPU) to
power the dGPU off which succeeds, but then it fails to turn back on:


[  147.284814] bbswitch: enabling discrete graphics
[  147.284822] pci 0000:01:\xe9+P\x86
                                     \xe2;\xe9AMDI0010:00: can't change power state from D3cold to D0 (config space inaccessible)
[  147.284852] general protection fault, probably for non-canonical address 0x2f827cc29389362: 0000 [#1] PREEMPT SMP NOPTI
[  147.284857] CPU: 2 PID: 3452 Comm: fish Tainted: P           OE     5.8.0-xanmod1-1-xanmod #1
[  147.284859] Hardware name: ASUSTeK COMPUTER INC. ROG Zephyrus G14 GA401IU_GA401IU/GA401IU, BIOS GA401IU.212 05/08/2020
[  147.284867] RIP: 0010:pci_restore_state.part.0+0x3d/0x430
[  147.284870] Code: 08 00 00 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 48 85 ed 0f 84 d0 03 00 00 49 89 ec eb 09 4d 8b 24 24 4d 85 e4 74 66 <41> 80 7c 24 12 00 74 ef 66 41 83 7c 24 10 18 75 e6 81 bb a0 03 00
[  147.284872] RSP: 0018:ffffaa3e8294fe30 EFLAGS: 00010202
[  147.284875] RAX: 0000000000000000 RBX: ffff9a19109de000 RCX: 0000000000000000
[  147.284876] RDX: 0000000000000000 RSI: 0000000000000027 RDI: ffff9a19109de000
[  147.284878] RBP: ffff9a1910916380 R08: 0000000000000001 R09: 000000000000053f
[  147.284880] R10: 0000000000000004 R11: ffffaa3e8294fb7f R12: 02f827cc29389362
[  147.284881] R13: 0000000000000003 R14: ffffaa3e8294ff08 R15: 0000556ca9eb20a8
[  147.284884] FS:  00007fdeb89af700(0000) GS:ffff9a1915480000(0000) knlGS:0000000000000000
[  147.284886] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  147.284888] CR2: 00007fdec277f590 CR3: 00000005e7cd6000 CR4: 0000000000350ee0
[  147.284889] Call Trace:
[  147.284900]  bbswitch_on.part.0+0xa6/0x101 [bbswitch]
[  147.284905]  bbswitch_proc_write.cold+0x16/0x22 [bbswitch]
[  147.284910]  ? ima_post_key_create_or_update+0x5f/0x70
[  147.284914]  proc_reg_write+0x4c/0x90
[  147.284919]  vfs_write+0xc2/0x1f0
[  147.284922]  ksys_write+0x5a/0xd0
[  147.284927]  do_syscall_64+0x4d/0xd0
[  147.284931]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  147.284934] RIP: 0033:0x7fdeb91b87df
[  147.284937] Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 29 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 5c fd ff ff 48
[  147.284939] RSP: 002b:00007fdeb89aeda0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
[  147.284941] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fdeb91b87df
[  147.284942] RDX: 0000000000000003 RSI: 0000556ca9eb20a8 RDI: 0000000000000009
[  147.284944] RBP: 0000000000000003 R08: 0000000000000000 R09: 00000000ffffffff
[  147.284945] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000009
[  147.284947] R13: 0000556ca9eb20a8 R14: 0000556ca9e3e400 R15: 00007fdeb91b62e0
[  147.284950] Modules linked in: bbswitch(OE) rfcomm ccm snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device mc cmac algif_hash algif_skcipher af_alg bnep btusb btrtl btbcm btintel bluetooth ecdh_generic ecc cdc_ether input_leds usbnet joydev r8152 hid_multitouch hid_asus mii nls_iso8859_1 iwlmvm edac_mce_amd mac80211 kvm_amd amdgpu snd_hda_codec_realtek hid_generic snd_hda_codec_generic kvm usbmouse usbkbd ledtrig_audio libarc4 snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_dmic crct10dif_pclmul snd_hda_codec_hdmi iommu_v2 crc32_pclmul ghash_clmulni_intel snd_soc_core gpu_sched snd_hda_intel aesni_intel ttm snd_intel_dspcfg crypto_simd snd_compress iwlwifi snd_hda_codec drm_kms_helper ac97_bus cryptd snd_pcm_dmaengine snd_hda_core glue_helper usbhid rapl pcspkr wmi_bmof efi_pstore snd_hwdep cec cfg80211 snd_pcm rc_core sp5100_tco i2c_piix4 fb_sys_fops snd_timer snd_rn_pci_acp3x syscopyarea sysfillrect nvidiafb snd ccp sysimgblt snd_pci_acp3x vgastate soundcore ucsi_acpi fb_ddc typec_ucsi
[  147.284995]  i2c_algo_bit typec i2c_hid hid asus_wireless mac_hid crypto_user asus_nb_wmi asus_wmi binfmt_misc sparse_keymap k10temp acpi_call(OE) drm ip_tables x_tables autofs4 serio_raw nvme ahci nvme_core libahci xhci_pci xhci_pci_renesas wmi video [last unloaded: nvidia]

** Attachment added: "ASUSTeK_COMPUTER_INC.-ROG_Zephyrus_G14_GA401II.tar.gz"
   https://bugs.launchpad.net/lpbugreporter/+bug/752542/+attachment/5400026/+files/ASUSTeK_COMPUTER_INC.-ROG_Zephyrus_G14_GA401II.tar.gz

-- 
You received this bug notification because you are a member of Bumblebee
Project, which is subscribed to Bumblebee.
Matching subscriptions: Bumblebee Team
https://bugs.launchpad.net/bugs/752542

Title:
  ACPI DSDT info

Status in Bumblebee:
  Confirmed
Status in bumblebee-project:
  New
Status in Launchpad Bug Reporter:
  Confirmed
Status in Ubuntu:
  Confirmed
Status in Debian:
  New
Status in Fedora:
  New
Status in Gentoo Linux:
  New
Status in openSUSE:
  Confirmed
Status in zUbuntu:
  New

Bug description:
  This is for people with a hybrid graphics configuration to be able to
  submit the DSDT information: This includes nVidia Optimus and AMD
  Hybrid Graphics.

  To gather information about the laptop model, install dmidecode. For the DSDT/SSDT
  files, install the acpidump and iasl tools:

      sudo apt-get install acpidump iasl dmidecode

  or (on Fedora):

      sudo yum install pmtools iasl dmidecode

  Then use the script from http://lekensteyn.nl/files/get-acpi-info.sh to create the
  tarball containing information about the laptop model, PCI hardware and ACPI tables.
  To do so, run the following commands in a terminal:

  
      wget http://lekensteyn.nl/files/get-acpi-info.sh
      sh get-acpi-info.sh

  This will create a tar.gz file that you can attach to the bug report. In the comment
  itself, please include a link to the product page of the model (if available).

  This information will allow the full development of hybrid graphics
  features for Linux. Thanks for your help!

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