2019-12-28 20:02:55 |
Sahaj |
bug |
|
|
added bug |
2019-12-28 20:02:55 |
Sahaj |
attachment added |
|
Acer-Predator_PH315-52.tar.gz https://bugs.launchpad.net/bugs/1857777/+attachment/5316135/+files/Acer-Predator_PH315-52.tar.gz |
|
2019-12-28 20:10:15 |
Sahaj |
description |
Problem : Unable to turn discrete graphics off after running sudo tee /proc/acpi/bbswitch <<<OFF
when i run -
--> sudo tee /proc/acpi/bbswitch <<<OFF
Output: OFF
--> cat /proc/acpi/bbswitch
Output : 0000:01:00.0 ON
-----------------------------------------Laptop Details------------------------------------------
Laptop: Acer Predator PH315-52
OS : UBUNTU 18.04.2 LTS
Nvidia Driver : 418.87
Kernel : 5.0.0-37-generic
Processors : Intel UHD 630 and Nvidia 1660 Ti
Installation instructions followed:
Mostly from here: https://gist.github.com/whizzzkid/37c0d365f1c7aa555885d102ec61c048
----------------------------------Exact instructions i followed----------------------------------
$ bash -c "$(curl -fsSL http://bit.ly/IGFWL-install)"
$ sudo apt update
# Installed Cuda 10.1 .deb package from nvidia website and driver 418.87 was automatically
installed with the package(also prime-select was also installed with it)
$ sudo nano /etc/default/grub
# changed - GRUB_CMDLINE_LINUX_DEFAULT='pcie_port_pm=off acpi_backlight=none acpi_osi=Linux acpi_osi=! acpi_osi=\"Windows 2009\"'
$ sudo add-apt-repository ppa:bumblebee/testing
$ sudo apt update
# Installed synaptics package manager and then through it installed bumblebee,bumblebee-nvidia
and primus(and all others which by default get installed with them like bbswitch)
$ sudo nano /etc/bumblebee/bumblebee.conf
# Changed 'Driver=' to 'Driver=nvidia'
Bridge=primus
KernelDriver=nvidia
PMMethod=bbswitch
LibraryPath=/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
XorgModulePath=/usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
$ sudo nano /etc/modprobe.d/bumblebee.conf
# blacklist nvidia
blacklist nvidia-current
blacklist nvidia-current-updates
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
blacklist nvidiafb
blacklist i2c-nvidia-gpu
blacklist i2c-nvidia-gpu
blacklist nouveau
blacklist nvidia-current
$ sudo nano /etc/modules-load.d/modules.conf
# added following:
i915
bbswitch
#selected intel as prime profile
#Restarted laptop
-------------------------------------------Results-----------------------------------------------
Afer fresh restart:
$ grep bumblebeed /var/log/syslog
Output:
Predator bumblebeed[3353]: Received Terminated signal.
Predator bumblebeed[3353]: Unable to disable discrete card.
Predator bumblebeed[7981]: /usr/sbin/bumblebeed started
Predator bumblebeed[7981]: Unable to disable discrete card.
$ lsmod | grep -i nouveau
Output: (Blank output) ## showing nouveau is not loaded
$ lsmod | grep nvidia
Output:
i2c_nvidia_gpu ## Handled it via "$ modprobe -r i2c_nvidia_gpu" but the problem still remains
## and the outputs of all too remains the same
## Blank output of "lsmod | grep nvidia" after unloading it using ablove command
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON
$ sudo tee /proc/acpi/bbswitch <<<OFF
Output:OFF
$ dmesg | grep bbswitch
[ 6.659422] bbswitch: loading out-of-tree module taints kernel.
[ 6.660407] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 6.661578] bbswitch: version 0.8
[ 6.662580] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6.663575] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6.665690] bbswitch: detected an Optimus _DSM function
[ 6.667873] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 18.818552] bbswitch: disabling discrete graphics
[ 114.697607] bbswitch: disabling discrete graphics
[ 114.697852] acpi_thermal_rel intel_pch_thermal wmi_bmof acer_wmi acer_wireless intel_lpss mac_hid soundcore sparse_keymap acpi_pad sch_fq_codel parport_pc ppdev lp parport bbswitch(OE) ip_tables x_tables autofs4 hid_generic usbhid i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm alx ahci mdio i2c_hid libahci i2c_nvidia_gpu hid wmi video pinctrl_cannonlake pinctrl_intel
[ 114.697897] bbswitch_off+0xbb/0x230 [bbswitch]
[ 114.697898] bbswitch_proc_write+0xb5/0xcc [bbswitch]
[ 446.444365] bbswitch: disabling discrete graphics
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON #############This is the problem,it should display OFF
$ optirun --status
Output: Bumblebee status: Ready (). X inactive. Discrete video card is on.
$ sudo bumblebeed --debug
[ 5280.409506] [DEBUG]Found card: 01:00.0 (discrete)
[ 5280.409517] [DEBUG]Found card: 00:02.0 (integrated)
[ 5280.409822] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 5280.409966] [INFO]Configured driver: nvidia
[ 5280.409972] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 5280.410011] [DEBUG]bbswitch has been detected.
[ 5280.410016] [INFO]Switching method 'bbswitch' is available and will be used.
[ 5280.410019] [DEBUG]Active configuration:
[ 5280.410022] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 5280.410024] [DEBUG] X display: :8
[ 5280.410027] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
[ 5280.410046] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 5280.410048] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 5280.410049] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 5280.410051] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 5280.410053] [DEBUG] Xorg binary: /usr/lib/xorg/Xorg
[ 5280.410076] [DEBUG] ModulePath: /usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
[ 5280.410078] [DEBUG] GID name: bumblebee
[ 5280.410081] [DEBUG] Power method: bbswitch
[ 5280.410084] [DEBUG] Stop X on exit: 1
[ 5280.410088] [DEBUG] Driver: nvidia
[ 5280.410091] [DEBUG] Driver module: nvidia
[ 5280.410094] [DEBUG] Card shutdown state: 0
[ 5280.410099] [DEBUG]Configuration test passed.
[ 5280.410114] [ERROR]Daemon already running, pid 8219
-------------------------------------------Optional Commands-------------------------------------
$ dmesg | grep -C8 bbswitch
Output:
[ 6.450965] systemd[1]: Reached target Remote File Systems.
[ 6.453769] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 6.456636] systemd[1]: Reached target User and Group Name Lookups.
[ 6.459634] systemd[1]: Created slice System Slice.
[ 6.462549] systemd[1]: Listening on Journal Socket.
[ 6.465415] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 6.590344] EXT4-fs (sda8): re-mounted. Opts: errors=remount-ro
[ 6.658460] PKCS#7 signature not signed with a trusted key
[ 6.659422] bbswitch: loading out-of-tree module taints kernel.
[ 6.660407] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 6.661578] bbswitch: version 0.8
[ 6.662580] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6.663575] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6.664597] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20181213/nsarguments-66)
[ 6.665690] bbswitch: detected an Optimus _DSM function
[ 6.666795] pci 0000:01:00.0: enabling device (0106 -> 0107)
[ 6.667873] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 6.874527] lp: driver loaded but no devices found
[ 6.880360] ppdev: user-space parallel port driver
[ 7.121333] systemd-journald[360]: Received request to flush runtime journal from PID 1
[ 7.306387] Adding 2097148k swap on /swapfile. Priority:-2 extents:6 across:2260988k FS
[ 8.572066] input: Acer Wireless Radio Control as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:20/PNP0C09:00/10251229:00/input/input12
[ 8.572600] acer_wmi: Acer Laptop ACPI-WMI Extras
[ 8.572617] acer_wmi: Function bitmap for Communication Button: 0x801
[ 8.584604] input: Acer WMI hotkeys as /devices/virtual/input/input13
--
[ 16.497477] audit: type=1400 audit(1577557862.940:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=816 comm="apparmor_parser"
[ 16.497478] audit: type=1400 audit(1577557862.940:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=816 comm="apparmor_parser"
[ 16.503991] audit: type=1400 audit(1577557862.948:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=813 comm="apparmor_parser"
[ 16.503993] audit: type=1400 audit(1577557862.948:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=813 comm="apparmor_parser"
[ 16.503994] audit: type=1400 audit(1577557862.948:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=813 comm="apparmor_parser"
[ 16.503995] audit: type=1400 audit(1577557862.948:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=813 comm="apparmor_parser"
[ 16.517562] audit: type=1400 audit(1577557862.960:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=822 comm="apparmor_parser"
[ 16.538992] audit: type=1400 audit(1577557862.984:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=818 comm="apparmor_parser"
[ 18.818552] bbswitch: disabling discrete graphics
[ 18.838343] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 18.838347] No Local Variables are initialized for Method [_PS3]
[ 18.838348] No Arguments are initialized for method [_PS3]
[ 18.838349] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 18.838353] video LNXVIDEO:00: Failed to change power state to D3hot
[ 18.992819] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 18.992838] Bluetooth: BNEP filters: protocol multicast
[ 18.992841] Bluetooth: BNEP socket layer initialized
--
[ 106.070871] ACPI Error: Method parse/execution failed \_SB.GINF, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070882] ACPI Error: Method parse/execution failed \_SB.GADR, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070889] ACPI Error: Method parse/execution failed \_SB.SGOV, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070896] ACPI Error: Method parse/execution failed \_SB.CGWR, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070902] ACPI Error: Method parse/execution failed \_SB.TBFP, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070909] ACPI Error: Method parse/execution failed \_SB.WMTF.WMTF, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 108.811343] ucsi_ccg 0-0008: failed to reset PPM!
[ 108.811357] ucsi_ccg 0-0008: PPM init failed (-110)
[ 114.697607] bbswitch: disabling discrete graphics
[ 114.697824] ------------[ cut here ]------------
[ 114.697825] pci 0000:01:00.0: disabling already-disabled device
[ 114.697833] WARNING: CPU: 5 PID: 2517 at /build/linux-hwe-FLYqTt/linux-hwe-5.0.0/drivers/pci/pci.c:1914 pci_disable_device+0x9c/0xc0
[ 114.697833] Modules linked in: rfcomm cmac bnep nls_iso8859_1 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 intel_rapl videobuf2_common videodev media joydev x86_pkg_temp_thermal snd_soc_skl snd_soc_hdac_hda intel_powerclamp coretemp snd_hda_ext_core kvm_intel snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel snd_hda_codec_hdmi snd_soc_core snd_compress ac97_bus aes_x86_64 crypto_simd cryptd glue_helper btusb intel_cstate intel_rapl_perf snd_hda_codec_realtek snd_hda_codec_generic btrtl btbcm snd_pcm_dmaengine intel_wmi_thunderbolt btintel snd_seq_midi snd_seq_midi_event ledtrig_audio input_leds serio_raw snd_hda_intel snd_hda_codec snd_hda_core bluetooth ucsi_ccg snd_rawmidi snd_hwdep typec_ucsi ecdh_generic snd_seq snd_pcm snd_seq_device processor_thermal_device int340x_thermal_zone typec intel_soc_dts_iosf snd_timer mei_me mei snd idma64 virt_dma intel_lpss_pci int3400_thermal
[ 114.697852] acpi_thermal_rel intel_pch_thermal wmi_bmof acer_wmi acer_wireless intel_lpss mac_hid soundcore sparse_keymap acpi_pad sch_fq_codel parport_pc ppdev lp parport bbswitch(OE) ip_tables x_tables autofs4 hid_generic usbhid i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm alx ahci mdio i2c_hid libahci i2c_nvidia_gpu hid wmi video pinctrl_cannonlake pinctrl_intel
[ 114.697884] CPU: 5 PID: 2517 Comm: tee Tainted: G OE 5.0.0-37-generic #40~18.04.1-Ubuntu
[ 114.697884] Hardware name: Acer Predator PH315-52/Covini_CFS, BIOS V1.04 06/19/2019
[ 114.697886] RIP: 0010:pci_disable_device+0x9c/0xc0
[ 114.697887] Code: c6 05 15 04 2c 01 01 4d 85 e4 74 36 48 8d bb b0 00 00 00 e8 f6 df 16 00 4c 89 e2 48 89 c6 48 c7 c7 50 05 14 8e e8 d4 6e b5 ff <0f> 0b eb 82 48 89 df e8 d8 fe ff ff 80 a3 f1 07 00 00 fb 5b 41 5c
[ 114.697888] RSP: 0018:ffffb3dfc47a7df8 EFLAGS: 00010282
[ 114.697889] RAX: 0000000000000000 RBX: ffff90dadb021000 RCX: 0000000000000000
[ 114.697889] RDX: 0000000000000033 RSI: ffffffff8e9608f3 RDI: 0000000000000246
[ 114.697890] RBP: ffffb3dfc47a7e08 R08: 0000000000000000 R09: ffffffff8e9608c0
[ 114.697890] R10: 0000000000000000 R11: 0000000000000001 R12: ffff90dadb7e0b10
[ 114.697891] R13: 00007ffc638909a0 R14: 00007ffc638909a0 R15: ffff90da872eaa00
[ 114.697892] FS: 00007f3bda935540(0000) GS:ffff90dade340000(0000) knlGS:0000000000000000
[ 114.697892] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 114.697893] CR2: 00007f3bda94e000 CR3: 0000000407238005 CR4: 00000000003606e0
[ 114.697893] Call Trace:
[ 114.697897] bbswitch_off+0xbb/0x230 [bbswitch]
[ 114.697898] bbswitch_proc_write+0xb5/0xcc [bbswitch]
[ 114.697900] proc_reg_write+0x3e/0x60
[ 114.697902] __vfs_write+0x1b/0x40
[ 114.697903] vfs_write+0xb1/0x1a0
[ 114.697905] ksys_write+0x5c/0xe0
[ 114.697906] __x64_sys_write+0x1a/0x20
[ 114.697908] do_syscall_64+0x5a/0x120
[ 114.697910] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 114.697911] RIP: 0033:0x7f3bda447154
--
[ 114.697915] R13: 0000000000000004 R14: 00007f3bda71e760 R15: 0000000000000004
[ 114.697916] ---[ end trace 0643126d5d0b3614 ]---
[ 114.714486] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 114.714496] No Local Variables are initialized for Method [_PS3]
[ 114.714498] No Arguments are initialized for method [_PS3]
[ 114.714499] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 114.714508] video LNXVIDEO:00: Failed to change power state to D3hot
[ 283.640937] ucsi_ccg 0-0008: PPM NOT RESPONDING
[ 446.444365] bbswitch: disabling discrete graphics
[ 446.444725] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 446.444732] No Local Variables are initialized for Method [_PS3]
[ 446.444734] No Arguments are initialized for method [_PS3]
[ 446.444735] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 446.444748] video LNXVIDEO:00: Failed to change power state to D3hot
[ 446.449570] bbswitch: disabling discrete graphics
[ 446.449980] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 446.449989] No Local Variables are initialized for Method [_PS3]
[ 446.449991] No Arguments are initialized for method [_PS3]
[ 446.449992] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 446.450001] video LNXVIDEO:00: Failed to change power state to D3hot
[ 565.457943] bbswitch: disabling discrete graphics
[ 565.458187] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 565.458193] No Local Variables are initialized for Method [_PS3]
[ 565.458193] No Arguments are initialized for method [_PS3]
[ 565.458194] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 565.458199] video LNXVIDEO:00: Failed to change power state to D3hot
[ 781.322362] acer_wmi: Unknown function number - 11 - 0
[ 783.019955] acer_wmi: Unknown function number - 11 - 0
[ 783.119518] acer_wmi: Unknown function number - 11 - 0
--
[ 1730.331486] acer_wmi: Unknown function number - 11 - 0
[ 1780.845673] acer_wmi: Unknown function number - 11 - 0
[ 1833.156915] acer_wmi: Unknown function number - 11 - 0
[ 1890.883485] acer_wmi: Unknown function number - 11 - 0
[ 1950.409896] acer_wmi: Unknown function number - 11 - 0
[ 2011.744265] acer_wmi: Unknown function number - 11 - 0
[ 2065.862915] acer_wmi: Unknown function number - 11 - 0
[ 2118.176138] acer_wmi: Unknown function number - 11 - 0
[ 2134.251467] bbswitch: disabling discrete graphics
[ 2134.251722] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 2134.251727] No Local Variables are initialized for Method [_PS3]
[ 2134.251728] No Arguments are initialized for method [_PS3]
[ 2134.251729] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 2134.251733] video LNXVIDEO:00: Failed to change power state to D3hot
[ 2172.292982] acer_wmi: Unknown function number - 11 - 0
[ 2230.021724] acer_wmi: Unknown function number - 11 - 0
[ 2289.550406] acer_wmi: Unknown function number - 11 - 0
--
[ 3579.348413] acer_wmi: Unknown function number - 11 - 0
[ 3635.267451] acer_wmi: Unknown function number - 11 - 0
[ 3689.382743] acer_wmi: Unknown function number - 11 - 0
[ 3747.105173] acer_wmi: Unknown function number - 11 - 0
[ 3801.220080] acer_wmi: Unknown function number - 11 - 0
[ 3858.942921] acer_wmi: Unknown function number - 11 - 0
[ 3914.865797] acer_wmi: Unknown function number - 11 - 0
[ 3970.784109] acer_wmi: Unknown function number - 11 - 0
[ 3996.612058] bbswitch: disabling discrete graphics
[ 3996.612287] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 3996.612293] No Local Variables are initialized for Method [_PS3]
[ 3996.612293] No Arguments are initialized for method [_PS3]
[ 3996.612294] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 3996.612299] video LNXVIDEO:00: Failed to change power state to D3hot
[ 3996.616296] bbswitch: disabling discrete graphics
[ 3996.616524] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 3996.616530] No Local Variables are initialized for Method [_PS3]
[ 3996.616531] No Arguments are initialized for method [_PS3]
[ 3996.616532] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 3996.616537] video LNXVIDEO:00: Failed to change power state to D3hot
[ 4028.507491] acer_wmi: Unknown function number - 11 - 0
[ 4084.426273] acer_wmi: Unknown function number - 11 - 0
[ 4134.934606] acer_wmi: Unknown function number - 11 - 0
[ 4185.440115] acer_wmi: Unknown function number - 11 - 0
[ 4241.357665] acer_wmi: Unknown function number - 11 - 0
[ 4297.073664] acer_wmi: Unknown function number - 9 - 0
[ 4297.279172] acer_wmi: Unknown function number - 11 - 0
[ 4351.391894] acer_wmi: Unknown function number - 11 - 0
[ 4405.504675] acer_wmi: Unknown function number - 11 - 0
[ 4456.013302] acer_wmi: Unknown function number - 11 - 0
[ 4510.125831] acer_wmi: Unknown function number - 11 - 0
[ 4527.021980] bbswitch: disabling discrete graphics
[ 4527.022409] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 4527.022420] No Local Variables are initialized for Method [_PS3]
[ 4527.022421] No Arguments are initialized for method [_PS3]
[ 4527.022423] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 4527.022432] video LNXVIDEO:00: Failed to change power state to D3hot
[ 4527.028385] bbswitch: disabling discrete graphics
[ 4527.028703] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 4527.028711] No Local Variables are initialized for Method [_PS3]
[ 4527.028711] No Arguments are initialized for method [_PS3]
[ 4527.028713] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 4527.028720] video LNXVIDEO:00: Failed to change power state to D3hot
[ 4558.830038] acer_wmi: Unknown function number - 11 - 0
[ 4611.138576] acer_wmi: Unknown function number - 11 - 0
[ 4667.054725] acer_wmi: Unknown function number - 11 - 0 |
Problem : Unable to turn discrete graphics off after running sudo tee /proc/acpi/bbswitch <<<OFF
when i run -
--> sudo tee /proc/acpi/bbswitch <<<OFF
Output: OFF
--> cat /proc/acpi/bbswitch
Output : 0000:01:00.0 ON
--------------------------Laptop Details--------------------------------
Laptop: Acer Predator PH315-52
OS : UBUNTU 18.04.2 LTS
Nvidia Driver : 418.87
Kernel : 5.0.0-37-generic
Processors : Intel UHD 630 and Nvidia 1660 Ti
bbswitch version: 0.8-4ubuntu1
bumblebee version: 3.2.1+git20181231-103~bionicppa1
Installation instructions followed:
Mostly from here: https://gist.github.com/whizzzkid/37c0d365f1c7aa555885d102ec61c048
---------------------Exact instructions i followed----------------------
$ bash -c "$(curl -fsSL http://bit.ly/IGFWL-install)"
$ sudo apt update
# Installed Cuda 10.1 .deb package from nvidia website and driver 418.87 was automatically
installed with the package(also prime-select was also installed with it)
$ sudo nano /etc/default/grub
# changed - GRUB_CMDLINE_LINUX_DEFAULT='pcie_port_pm=off acpi_backlight=none acpi_osi=Linux acpi_osi=! acpi_osi=\"Windows 2009\"'
$ sudo add-apt-repository ppa:bumblebee/testing
$ sudo apt update
# Installed synaptics package manager and then through it installed bumblebee,bumblebee-nvidia
and primus(and all others which by default get installed with them like bbswitch)
$ sudo nano /etc/bumblebee/bumblebee.conf
# Changed 'Driver=' to 'Driver=nvidia'
Bridge=primus
KernelDriver=nvidia
PMMethod=bbswitch
LibraryPath=/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
XorgModulePath=/usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
$ sudo nano /etc/modprobe.d/bumblebee.conf
# blacklist nvidia
blacklist nvidia-current
blacklist nvidia-current-updates
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
blacklist nvidiafb
blacklist i2c-nvidia-gpu
blacklist i2c-nvidia-gpu
blacklist nouveau
blacklist nvidia-current
$ sudo nano /etc/modules-load.d/modules.conf
# added following:
i915
bbswitch
#selected intel as prime profile
#Restarted laptop
----------------------------Results-------------------------------------
Afer fresh restart:
$ grep bumblebeed /var/log/syslog
Output:
Predator bumblebeed[3353]: Received Terminated signal.
Predator bumblebeed[3353]: Unable to disable discrete card.
Predator bumblebeed[7981]: /usr/sbin/bumblebeed started
Predator bumblebeed[7981]: Unable to disable discrete card.
$ lsmod | grep -i nouveau
Output: (Blank output) ## showing nouveau is not loaded
$ lsmod | grep nvidia
Output:
i2c_nvidia_gpu ## Handled it via "$ modprobe -r i2c_nvidia_gpu" but the problem still remains
## and the outputs of all too remains the same
## Blank output of "lsmod | grep nvidia" after unloading it using ablove command
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON
$ sudo tee /proc/acpi/bbswitch <<<OFF
Output:OFF
$ dmesg | grep bbswitch
[ 6.659422] bbswitch: loading out-of-tree module taints kernel.
[ 6.660407] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 6.661578] bbswitch: version 0.8
[ 6.662580] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6.663575] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6.665690] bbswitch: detected an Optimus _DSM function
[ 6.667873] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 18.818552] bbswitch: disabling discrete graphics
[ 114.697607] bbswitch: disabling discrete graphics
[ 114.697852] acpi_thermal_rel intel_pch_thermal wmi_bmof acer_wmi acer_wireless intel_lpss mac_hid soundcore sparse_keymap acpi_pad sch_fq_codel parport_pc ppdev lp parport bbswitch(OE) ip_tables x_tables autofs4 hid_generic usbhid i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm alx ahci mdio i2c_hid libahci i2c_nvidia_gpu hid wmi video pinctrl_cannonlake pinctrl_intel
[ 114.697897] bbswitch_off+0xbb/0x230 [bbswitch]
[ 114.697898] bbswitch_proc_write+0xb5/0xcc [bbswitch]
[ 446.444365] bbswitch: disabling discrete graphics
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON #############This is the problem,it should display OFF
$ optirun --status
Output: Bumblebee status: Ready (). X inactive. Discrete video card is on.
$ sudo bumblebeed --debug
[ 5280.409506] [DEBUG]Found card: 01:00.0 (discrete)
[ 5280.409517] [DEBUG]Found card: 00:02.0 (integrated)
[ 5280.409822] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 5280.409966] [INFO]Configured driver: nvidia
[ 5280.409972] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 5280.410011] [DEBUG]bbswitch has been detected.
[ 5280.410016] [INFO]Switching method 'bbswitch' is available and will be used.
[ 5280.410019] [DEBUG]Active configuration:
[ 5280.410022] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 5280.410024] [DEBUG] X display: :8
[ 5280.410027] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
[ 5280.410046] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 5280.410048] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 5280.410049] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 5280.410051] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 5280.410053] [DEBUG] Xorg binary: /usr/lib/xorg/Xorg
[ 5280.410076] [DEBUG] ModulePath: /usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
[ 5280.410078] [DEBUG] GID name: bumblebee
[ 5280.410081] [DEBUG] Power method: bbswitch
[ 5280.410084] [DEBUG] Stop X on exit: 1
[ 5280.410088] [DEBUG] Driver: nvidia
[ 5280.410091] [DEBUG] Driver module: nvidia
[ 5280.410094] [DEBUG] Card shutdown state: 0
[ 5280.410099] [DEBUG]Configuration test passed.
[ 5280.410114] [ERROR]Daemon already running, pid 8219
--------------------------Optional Commands-----------------------------
$ dmesg | grep -C8 bbswitch
Output:
[ 6.450965] systemd[1]: Reached target Remote File Systems.
[ 6.453769] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 6.456636] systemd[1]: Reached target User and Group Name Lookups.
[ 6.459634] systemd[1]: Created slice System Slice.
[ 6.462549] systemd[1]: Listening on Journal Socket.
[ 6.465415] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 6.590344] EXT4-fs (sda8): re-mounted. Opts: errors=remount-ro
[ 6.658460] PKCS#7 signature not signed with a trusted key
[ 6.659422] bbswitch: loading out-of-tree module taints kernel.
[ 6.660407] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 6.661578] bbswitch: version 0.8
[ 6.662580] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6.663575] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6.664597] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20181213/nsarguments-66)
[ 6.665690] bbswitch: detected an Optimus _DSM function
[ 6.666795] pci 0000:01:00.0: enabling device (0106 -> 0107)
[ 6.667873] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 6.874527] lp: driver loaded but no devices found
[ 6.880360] ppdev: user-space parallel port driver
[ 7.121333] systemd-journald[360]: Received request to flush runtime journal from PID 1
[ 7.306387] Adding 2097148k swap on /swapfile. Priority:-2 extents:6 across:2260988k FS
[ 8.572066] input: Acer Wireless Radio Control as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:20/PNP0C09:00/10251229:00/input/input12
[ 8.572600] acer_wmi: Acer Laptop ACPI-WMI Extras
[ 8.572617] acer_wmi: Function bitmap for Communication Button: 0x801
[ 8.584604] input: Acer WMI hotkeys as /devices/virtual/input/input13
--
[ 16.497477] audit: type=1400 audit(1577557862.940:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=816 comm="apparmor_parser"
[ 16.497478] audit: type=1400 audit(1577557862.940:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=816 comm="apparmor_parser"
[ 16.503991] audit: type=1400 audit(1577557862.948:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=813 comm="apparmor_parser"
[ 16.503993] audit: type=1400 audit(1577557862.948:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=813 comm="apparmor_parser"
[ 16.503994] audit: type=1400 audit(1577557862.948:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=813 comm="apparmor_parser"
[ 16.503995] audit: type=1400 audit(1577557862.948:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=813 comm="apparmor_parser"
[ 16.517562] audit: type=1400 audit(1577557862.960:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=822 comm="apparmor_parser"
[ 16.538992] audit: type=1400 audit(1577557862.984:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=818 comm="apparmor_parser"
[ 18.818552] bbswitch: disabling discrete graphics
[ 18.838343] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 18.838347] No Local Variables are initialized for Method [_PS3]
[ 18.838348] No Arguments are initialized for method [_PS3]
[ 18.838349] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 18.838353] video LNXVIDEO:00: Failed to change power state to D3hot
[ 18.992819] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 18.992838] Bluetooth: BNEP filters: protocol multicast
[ 18.992841] Bluetooth: BNEP socket layer initialized
--
[ 106.070871] ACPI Error: Method parse/execution failed \_SB.GINF, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070882] ACPI Error: Method parse/execution failed \_SB.GADR, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070889] ACPI Error: Method parse/execution failed \_SB.SGOV, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070896] ACPI Error: Method parse/execution failed \_SB.CGWR, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070902] ACPI Error: Method parse/execution failed \_SB.TBFP, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070909] ACPI Error: Method parse/execution failed \_SB.WMTF.WMTF, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 108.811343] ucsi_ccg 0-0008: failed to reset PPM!
[ 108.811357] ucsi_ccg 0-0008: PPM init failed (-110)
[ 114.697607] bbswitch: disabling discrete graphics
[ 114.697824] ------------[ cut here ]------------
[ 114.697825] pci 0000:01:00.0: disabling already-disabled device
[ 114.697833] WARNING: CPU: 5 PID: 2517 at /build/linux-hwe-FLYqTt/linux-hwe-5.0.0/drivers/pci/pci.c:1914 pci_disable_device+0x9c/0xc0
[ 114.697833] Modules linked in: rfcomm cmac bnep nls_iso8859_1 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 intel_rapl videobuf2_common videodev media joydev x86_pkg_temp_thermal snd_soc_skl snd_soc_hdac_hda intel_powerclamp coretemp snd_hda_ext_core kvm_intel snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel snd_hda_codec_hdmi snd_soc_core snd_compress ac97_bus aes_x86_64 crypto_simd cryptd glue_helper btusb intel_cstate intel_rapl_perf snd_hda_codec_realtek snd_hda_codec_generic btrtl btbcm snd_pcm_dmaengine intel_wmi_thunderbolt btintel snd_seq_midi snd_seq_midi_event ledtrig_audio input_leds serio_raw snd_hda_intel snd_hda_codec snd_hda_core bluetooth ucsi_ccg snd_rawmidi snd_hwdep typec_ucsi ecdh_generic snd_seq snd_pcm snd_seq_device processor_thermal_device int340x_thermal_zone typec intel_soc_dts_iosf snd_timer mei_me mei snd idma64 virt_dma intel_lpss_pci int3400_thermal
[ 114.697852] acpi_thermal_rel intel_pch_thermal wmi_bmof acer_wmi acer_wireless intel_lpss mac_hid soundcore sparse_keymap acpi_pad sch_fq_codel parport_pc ppdev lp parport bbswitch(OE) ip_tables x_tables autofs4 hid_generic usbhid i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm alx ahci mdio i2c_hid libahci i2c_nvidia_gpu hid wmi video pinctrl_cannonlake pinctrl_intel
[ 114.697884] CPU: 5 PID: 2517 Comm: tee Tainted: G OE 5.0.0-37-generic #40~18.04.1-Ubuntu
[ 114.697884] Hardware name: Acer Predator PH315-52/Covini_CFS, BIOS V1.04 06/19/2019
[ 114.697886] RIP: 0010:pci_disable_device+0x9c/0xc0
[ 114.697887] Code: c6 05 15 04 2c 01 01 4d 85 e4 74 36 48 8d bb b0 00 00 00 e8 f6 df 16 00 4c 89 e2 48 89 c6 48 c7 c7 50 05 14 8e e8 d4 6e b5 ff <0f> 0b eb 82 48 89 df e8 d8 fe ff ff 80 a3 f1 07 00 00 fb 5b 41 5c
[ 114.697888] RSP: 0018:ffffb3dfc47a7df8 EFLAGS: 00010282
[ 114.697889] RAX: 0000000000000000 RBX: ffff90dadb021000 RCX: 0000000000000000
[ 114.697889] RDX: 0000000000000033 RSI: ffffffff8e9608f3 RDI: 0000000000000246
[ 114.697890] RBP: ffffb3dfc47a7e08 R08: 0000000000000000 R09: ffffffff8e9608c0
[ 114.697890] R10: 0000000000000000 R11: 0000000000000001 R12: ffff90dadb7e0b10
[ 114.697891] R13: 00007ffc638909a0 R14: 00007ffc638909a0 R15: ffff90da872eaa00
[ 114.697892] FS: 00007f3bda935540(0000) GS:ffff90dade340000(0000) knlGS:0000000000000000
[ 114.697892] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 114.697893] CR2: 00007f3bda94e000 CR3: 0000000407238005 CR4: 00000000003606e0
[ 114.697893] Call Trace:
[ 114.697897] bbswitch_off+0xbb/0x230 [bbswitch]
[ 114.697898] bbswitch_proc_write+0xb5/0xcc [bbswitch]
[ 114.697900] proc_reg_write+0x3e/0x60
[ 114.697902] __vfs_write+0x1b/0x40
[ 114.697903] vfs_write+0xb1/0x1a0
[ 114.697905] ksys_write+0x5c/0xe0
[ 114.697906] __x64_sys_write+0x1a/0x20
[ 114.697908] do_syscall_64+0x5a/0x120
[ 114.697910] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 114.697911] RIP: 0033:0x7f3bda447154
--
[ 114.697915] R13: 0000000000000004 R14: 00007f3bda71e760 R15: 0000000000000004
[ 114.697916] ---[ end trace 0643126d5d0b3614 ]---
[ 114.714486] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 114.714496] No Local Variables are initialized for Method [_PS3]
[ 114.714498] No Arguments are initialized for method [_PS3]
[ 114.714499] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 114.714508] video LNXVIDEO:00: Failed to change power state to D3hot
[ 283.640937] ucsi_ccg 0-0008: PPM NOT RESPONDING
[ 446.444365] bbswitch: disabling discrete graphics
[ 446.444725] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 446.444732] No Local Variables are initialized for Method [_PS3]
[ 446.444734] No Arguments are initialized for method [_PS3]
[ 446.444735] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 446.444748] video LNXVIDEO:00: Failed to change power state to D3hot
[ 446.449570] bbswitch: disabling discrete graphics
[ 446.449980] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 446.449989] No Local Variables are initialized for Method [_PS3]
[ 446.449991] No Arguments are initialized for method [_PS3]
[ 446.449992] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 446.450001] video LNXVIDEO:00: Failed to change power state to D3hot
[ 565.457943] bbswitch: disabling discrete graphics
[ 565.458187] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 565.458193] No Local Variables are initialized for Method [_PS3]
[ 565.458193] No Arguments are initialized for method [_PS3]
[ 565.458194] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 565.458199] video LNXVIDEO:00: Failed to change power state to D3hot
[ 781.322362] acer_wmi: Unknown function number - 11 - 0
[ 783.019955] acer_wmi: Unknown function number - 11 - 0
[ 783.119518] acer_wmi: Unknown function number - 11 - 0
--
[ 1730.331486] acer_wmi: Unknown function number - 11 - 0
[ 1780.845673] acer_wmi: Unknown function number - 11 - 0
[ 1833.156915] acer_wmi: Unknown function number - 11 - 0
[ 1890.883485] acer_wmi: Unknown function number - 11 - 0
[ 1950.409896] acer_wmi: Unknown function number - 11 - 0
[ 2011.744265] acer_wmi: Unknown function number - 11 - 0
[ 2065.862915] acer_wmi: Unknown function number - 11 - 0
[ 2118.176138] acer_wmi: Unknown function number - 11 - 0
[ 2134.251467] bbswitch: disabling discrete graphics
[ 2134.251722] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 2134.251727] No Local Variables are initialized for Method [_PS3]
[ 2134.251728] No Arguments are initialized for method [_PS3]
[ 2134.251729] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 2134.251733] video LNXVIDEO:00: Failed to change power state to D3hot
[ 2172.292982] acer_wmi: Unknown function number - 11 - 0
[ 2230.021724] acer_wmi: Unknown function number - 11 - 0
[ 2289.550406] acer_wmi: Unknown function number - 11 - 0
--
[ 3579.348413] acer_wmi: Unknown function number - 11 - 0
[ 3635.267451] acer_wmi: Unknown function number - 11 - 0
[ 3689.382743] acer_wmi: Unknown function number - 11 - 0
[ 3747.105173] acer_wmi: Unknown function number - 11 - 0
[ 3801.220080] acer_wmi: Unknown function number - 11 - 0
[ 3858.942921] acer_wmi: Unknown function number - 11 - 0
[ 3914.865797] acer_wmi: Unknown function number - 11 - 0
[ 3970.784109] acer_wmi: Unknown function number - 11 - 0
[ 3996.612058] bbswitch: disabling discrete graphics
[ 3996.612287] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 3996.612293] No Local Variables are initialized for Method [_PS3]
[ 3996.612293] No Arguments are initialized for method [_PS3]
[ 3996.612294] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 3996.612299] video LNXVIDEO:00: Failed to change power state to D3hot
[ 3996.616296] bbswitch: disabling discrete graphics
[ 3996.616524] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 3996.616530] No Local Variables are initialized for Method [_PS3]
[ 3996.616531] No Arguments are initialized for method [_PS3]
[ 3996.616532] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 3996.616537] video LNXVIDEO:00: Failed to change power state to D3hot
[ 4028.507491] acer_wmi: Unknown function number - 11 - 0
[ 4084.426273] acer_wmi: Unknown function number - 11 - 0
[ 4134.934606] acer_wmi: Unknown function number - 11 - 0
[ 4185.440115] acer_wmi: Unknown function number - 11 - 0
[ 4241.357665] acer_wmi: Unknown function number - 11 - 0
[ 4297.073664] acer_wmi: Unknown function number - 9 - 0
[ 4297.279172] acer_wmi: Unknown function number - 11 - 0
[ 4351.391894] acer_wmi: Unknown function number - 11 - 0
[ 4405.504675] acer_wmi: Unknown function number - 11 - 0
[ 4456.013302] acer_wmi: Unknown function number - 11 - 0
[ 4510.125831] acer_wmi: Unknown function number - 11 - 0
[ 4527.021980] bbswitch: disabling discrete graphics
[ 4527.022409] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 4527.022420] No Local Variables are initialized for Method [_PS3]
[ 4527.022421] No Arguments are initialized for method [_PS3]
[ 4527.022423] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 4527.022432] video LNXVIDEO:00: Failed to change power state to D3hot
[ 4527.028385] bbswitch: disabling discrete graphics
[ 4527.028703] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 4527.028711] No Local Variables are initialized for Method [_PS3]
[ 4527.028711] No Arguments are initialized for method [_PS3]
[ 4527.028713] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 4527.028720] video LNXVIDEO:00: Failed to change power state to D3hot
[ 4558.830038] acer_wmi: Unknown function number - 11 - 0
[ 4611.138576] acer_wmi: Unknown function number - 11 - 0
[ 4667.054725] acer_wmi: Unknown function number - 11 - 0 |
|
2019-12-28 20:19:16 |
Sahaj |
attachment added |
|
dmesg | grep -C8 bbswitch.txt https://bugs.launchpad.net/lpbugreporter/+bug/1857777/+attachment/5316136/+files/dmesg%20%7C%20grep%20-C8%20bbswitch.txt |
|
2019-12-28 20:20:22 |
Sahaj |
attachment added |
|
syslog https://bugs.launchpad.net/lpbugreporter/+bug/1857777/+attachment/5316137/+files/syslog |
|
2019-12-28 20:20:32 |
Sahaj |
attachment added |
|
Xorg.0.log https://bugs.launchpad.net/lpbugreporter/+bug/1857777/+attachment/5316138/+files/Xorg.0.log |
|
2019-12-28 20:23:30 |
Sahaj |
description |
Problem : Unable to turn discrete graphics off after running sudo tee /proc/acpi/bbswitch <<<OFF
when i run -
--> sudo tee /proc/acpi/bbswitch <<<OFF
Output: OFF
--> cat /proc/acpi/bbswitch
Output : 0000:01:00.0 ON
--------------------------Laptop Details--------------------------------
Laptop: Acer Predator PH315-52
OS : UBUNTU 18.04.2 LTS
Nvidia Driver : 418.87
Kernel : 5.0.0-37-generic
Processors : Intel UHD 630 and Nvidia 1660 Ti
bbswitch version: 0.8-4ubuntu1
bumblebee version: 3.2.1+git20181231-103~bionicppa1
Installation instructions followed:
Mostly from here: https://gist.github.com/whizzzkid/37c0d365f1c7aa555885d102ec61c048
---------------------Exact instructions i followed----------------------
$ bash -c "$(curl -fsSL http://bit.ly/IGFWL-install)"
$ sudo apt update
# Installed Cuda 10.1 .deb package from nvidia website and driver 418.87 was automatically
installed with the package(also prime-select was also installed with it)
$ sudo nano /etc/default/grub
# changed - GRUB_CMDLINE_LINUX_DEFAULT='pcie_port_pm=off acpi_backlight=none acpi_osi=Linux acpi_osi=! acpi_osi=\"Windows 2009\"'
$ sudo add-apt-repository ppa:bumblebee/testing
$ sudo apt update
# Installed synaptics package manager and then through it installed bumblebee,bumblebee-nvidia
and primus(and all others which by default get installed with them like bbswitch)
$ sudo nano /etc/bumblebee/bumblebee.conf
# Changed 'Driver=' to 'Driver=nvidia'
Bridge=primus
KernelDriver=nvidia
PMMethod=bbswitch
LibraryPath=/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
XorgModulePath=/usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
$ sudo nano /etc/modprobe.d/bumblebee.conf
# blacklist nvidia
blacklist nvidia-current
blacklist nvidia-current-updates
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
blacklist nvidiafb
blacklist i2c-nvidia-gpu
blacklist i2c-nvidia-gpu
blacklist nouveau
blacklist nvidia-current
$ sudo nano /etc/modules-load.d/modules.conf
# added following:
i915
bbswitch
#selected intel as prime profile
#Restarted laptop
----------------------------Results-------------------------------------
Afer fresh restart:
$ grep bumblebeed /var/log/syslog
Output:
Predator bumblebeed[3353]: Received Terminated signal.
Predator bumblebeed[3353]: Unable to disable discrete card.
Predator bumblebeed[7981]: /usr/sbin/bumblebeed started
Predator bumblebeed[7981]: Unable to disable discrete card.
$ lsmod | grep -i nouveau
Output: (Blank output) ## showing nouveau is not loaded
$ lsmod | grep nvidia
Output:
i2c_nvidia_gpu ## Handled it via "$ modprobe -r i2c_nvidia_gpu" but the problem still remains
## and the outputs of all too remains the same
## Blank output of "lsmod | grep nvidia" after unloading it using ablove command
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON
$ sudo tee /proc/acpi/bbswitch <<<OFF
Output:OFF
$ dmesg | grep bbswitch
[ 6.659422] bbswitch: loading out-of-tree module taints kernel.
[ 6.660407] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 6.661578] bbswitch: version 0.8
[ 6.662580] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6.663575] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6.665690] bbswitch: detected an Optimus _DSM function
[ 6.667873] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 18.818552] bbswitch: disabling discrete graphics
[ 114.697607] bbswitch: disabling discrete graphics
[ 114.697852] acpi_thermal_rel intel_pch_thermal wmi_bmof acer_wmi acer_wireless intel_lpss mac_hid soundcore sparse_keymap acpi_pad sch_fq_codel parport_pc ppdev lp parport bbswitch(OE) ip_tables x_tables autofs4 hid_generic usbhid i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm alx ahci mdio i2c_hid libahci i2c_nvidia_gpu hid wmi video pinctrl_cannonlake pinctrl_intel
[ 114.697897] bbswitch_off+0xbb/0x230 [bbswitch]
[ 114.697898] bbswitch_proc_write+0xb5/0xcc [bbswitch]
[ 446.444365] bbswitch: disabling discrete graphics
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON #############This is the problem,it should display OFF
$ optirun --status
Output: Bumblebee status: Ready (). X inactive. Discrete video card is on.
$ sudo bumblebeed --debug
[ 5280.409506] [DEBUG]Found card: 01:00.0 (discrete)
[ 5280.409517] [DEBUG]Found card: 00:02.0 (integrated)
[ 5280.409822] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 5280.409966] [INFO]Configured driver: nvidia
[ 5280.409972] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 5280.410011] [DEBUG]bbswitch has been detected.
[ 5280.410016] [INFO]Switching method 'bbswitch' is available and will be used.
[ 5280.410019] [DEBUG]Active configuration:
[ 5280.410022] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 5280.410024] [DEBUG] X display: :8
[ 5280.410027] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
[ 5280.410046] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 5280.410048] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 5280.410049] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 5280.410051] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 5280.410053] [DEBUG] Xorg binary: /usr/lib/xorg/Xorg
[ 5280.410076] [DEBUG] ModulePath: /usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
[ 5280.410078] [DEBUG] GID name: bumblebee
[ 5280.410081] [DEBUG] Power method: bbswitch
[ 5280.410084] [DEBUG] Stop X on exit: 1
[ 5280.410088] [DEBUG] Driver: nvidia
[ 5280.410091] [DEBUG] Driver module: nvidia
[ 5280.410094] [DEBUG] Card shutdown state: 0
[ 5280.410099] [DEBUG]Configuration test passed.
[ 5280.410114] [ERROR]Daemon already running, pid 8219
--------------------------Optional Commands-----------------------------
$ dmesg | grep -C8 bbswitch
Output:
[ 6.450965] systemd[1]: Reached target Remote File Systems.
[ 6.453769] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 6.456636] systemd[1]: Reached target User and Group Name Lookups.
[ 6.459634] systemd[1]: Created slice System Slice.
[ 6.462549] systemd[1]: Listening on Journal Socket.
[ 6.465415] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 6.590344] EXT4-fs (sda8): re-mounted. Opts: errors=remount-ro
[ 6.658460] PKCS#7 signature not signed with a trusted key
[ 6.659422] bbswitch: loading out-of-tree module taints kernel.
[ 6.660407] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 6.661578] bbswitch: version 0.8
[ 6.662580] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6.663575] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6.664597] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20181213/nsarguments-66)
[ 6.665690] bbswitch: detected an Optimus _DSM function
[ 6.666795] pci 0000:01:00.0: enabling device (0106 -> 0107)
[ 6.667873] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 6.874527] lp: driver loaded but no devices found
[ 6.880360] ppdev: user-space parallel port driver
[ 7.121333] systemd-journald[360]: Received request to flush runtime journal from PID 1
[ 7.306387] Adding 2097148k swap on /swapfile. Priority:-2 extents:6 across:2260988k FS
[ 8.572066] input: Acer Wireless Radio Control as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:20/PNP0C09:00/10251229:00/input/input12
[ 8.572600] acer_wmi: Acer Laptop ACPI-WMI Extras
[ 8.572617] acer_wmi: Function bitmap for Communication Button: 0x801
[ 8.584604] input: Acer WMI hotkeys as /devices/virtual/input/input13
--
[ 16.497477] audit: type=1400 audit(1577557862.940:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=816 comm="apparmor_parser"
[ 16.497478] audit: type=1400 audit(1577557862.940:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=816 comm="apparmor_parser"
[ 16.503991] audit: type=1400 audit(1577557862.948:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=813 comm="apparmor_parser"
[ 16.503993] audit: type=1400 audit(1577557862.948:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=813 comm="apparmor_parser"
[ 16.503994] audit: type=1400 audit(1577557862.948:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=813 comm="apparmor_parser"
[ 16.503995] audit: type=1400 audit(1577557862.948:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=813 comm="apparmor_parser"
[ 16.517562] audit: type=1400 audit(1577557862.960:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=822 comm="apparmor_parser"
[ 16.538992] audit: type=1400 audit(1577557862.984:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=818 comm="apparmor_parser"
[ 18.818552] bbswitch: disabling discrete graphics
[ 18.838343] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 18.838347] No Local Variables are initialized for Method [_PS3]
[ 18.838348] No Arguments are initialized for method [_PS3]
[ 18.838349] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 18.838353] video LNXVIDEO:00: Failed to change power state to D3hot
[ 18.992819] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 18.992838] Bluetooth: BNEP filters: protocol multicast
[ 18.992841] Bluetooth: BNEP socket layer initialized
--
[ 106.070871] ACPI Error: Method parse/execution failed \_SB.GINF, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070882] ACPI Error: Method parse/execution failed \_SB.GADR, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070889] ACPI Error: Method parse/execution failed \_SB.SGOV, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070896] ACPI Error: Method parse/execution failed \_SB.CGWR, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070902] ACPI Error: Method parse/execution failed \_SB.TBFP, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 106.070909] ACPI Error: Method parse/execution failed \_SB.WMTF.WMTF, AE_AML_PACKAGE_LIMIT (20181213/psparse-531)
[ 108.811343] ucsi_ccg 0-0008: failed to reset PPM!
[ 108.811357] ucsi_ccg 0-0008: PPM init failed (-110)
[ 114.697607] bbswitch: disabling discrete graphics
[ 114.697824] ------------[ cut here ]------------
[ 114.697825] pci 0000:01:00.0: disabling already-disabled device
[ 114.697833] WARNING: CPU: 5 PID: 2517 at /build/linux-hwe-FLYqTt/linux-hwe-5.0.0/drivers/pci/pci.c:1914 pci_disable_device+0x9c/0xc0
[ 114.697833] Modules linked in: rfcomm cmac bnep nls_iso8859_1 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 intel_rapl videobuf2_common videodev media joydev x86_pkg_temp_thermal snd_soc_skl snd_soc_hdac_hda intel_powerclamp coretemp snd_hda_ext_core kvm_intel snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel snd_hda_codec_hdmi snd_soc_core snd_compress ac97_bus aes_x86_64 crypto_simd cryptd glue_helper btusb intel_cstate intel_rapl_perf snd_hda_codec_realtek snd_hda_codec_generic btrtl btbcm snd_pcm_dmaengine intel_wmi_thunderbolt btintel snd_seq_midi snd_seq_midi_event ledtrig_audio input_leds serio_raw snd_hda_intel snd_hda_codec snd_hda_core bluetooth ucsi_ccg snd_rawmidi snd_hwdep typec_ucsi ecdh_generic snd_seq snd_pcm snd_seq_device processor_thermal_device int340x_thermal_zone typec intel_soc_dts_iosf snd_timer mei_me mei snd idma64 virt_dma intel_lpss_pci int3400_thermal
[ 114.697852] acpi_thermal_rel intel_pch_thermal wmi_bmof acer_wmi acer_wireless intel_lpss mac_hid soundcore sparse_keymap acpi_pad sch_fq_codel parport_pc ppdev lp parport bbswitch(OE) ip_tables x_tables autofs4 hid_generic usbhid i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm alx ahci mdio i2c_hid libahci i2c_nvidia_gpu hid wmi video pinctrl_cannonlake pinctrl_intel
[ 114.697884] CPU: 5 PID: 2517 Comm: tee Tainted: G OE 5.0.0-37-generic #40~18.04.1-Ubuntu
[ 114.697884] Hardware name: Acer Predator PH315-52/Covini_CFS, BIOS V1.04 06/19/2019
[ 114.697886] RIP: 0010:pci_disable_device+0x9c/0xc0
[ 114.697887] Code: c6 05 15 04 2c 01 01 4d 85 e4 74 36 48 8d bb b0 00 00 00 e8 f6 df 16 00 4c 89 e2 48 89 c6 48 c7 c7 50 05 14 8e e8 d4 6e b5 ff <0f> 0b eb 82 48 89 df e8 d8 fe ff ff 80 a3 f1 07 00 00 fb 5b 41 5c
[ 114.697888] RSP: 0018:ffffb3dfc47a7df8 EFLAGS: 00010282
[ 114.697889] RAX: 0000000000000000 RBX: ffff90dadb021000 RCX: 0000000000000000
[ 114.697889] RDX: 0000000000000033 RSI: ffffffff8e9608f3 RDI: 0000000000000246
[ 114.697890] RBP: ffffb3dfc47a7e08 R08: 0000000000000000 R09: ffffffff8e9608c0
[ 114.697890] R10: 0000000000000000 R11: 0000000000000001 R12: ffff90dadb7e0b10
[ 114.697891] R13: 00007ffc638909a0 R14: 00007ffc638909a0 R15: ffff90da872eaa00
[ 114.697892] FS: 00007f3bda935540(0000) GS:ffff90dade340000(0000) knlGS:0000000000000000
[ 114.697892] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 114.697893] CR2: 00007f3bda94e000 CR3: 0000000407238005 CR4: 00000000003606e0
[ 114.697893] Call Trace:
[ 114.697897] bbswitch_off+0xbb/0x230 [bbswitch]
[ 114.697898] bbswitch_proc_write+0xb5/0xcc [bbswitch]
[ 114.697900] proc_reg_write+0x3e/0x60
[ 114.697902] __vfs_write+0x1b/0x40
[ 114.697903] vfs_write+0xb1/0x1a0
[ 114.697905] ksys_write+0x5c/0xe0
[ 114.697906] __x64_sys_write+0x1a/0x20
[ 114.697908] do_syscall_64+0x5a/0x120
[ 114.697910] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 114.697911] RIP: 0033:0x7f3bda447154
--
[ 114.697915] R13: 0000000000000004 R14: 00007f3bda71e760 R15: 0000000000000004
[ 114.697916] ---[ end trace 0643126d5d0b3614 ]---
[ 114.714486] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 114.714496] No Local Variables are initialized for Method [_PS3]
[ 114.714498] No Arguments are initialized for method [_PS3]
[ 114.714499] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 114.714508] video LNXVIDEO:00: Failed to change power state to D3hot
[ 283.640937] ucsi_ccg 0-0008: PPM NOT RESPONDING
[ 446.444365] bbswitch: disabling discrete graphics
[ 446.444725] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 446.444732] No Local Variables are initialized for Method [_PS3]
[ 446.444734] No Arguments are initialized for method [_PS3]
[ 446.444735] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 446.444748] video LNXVIDEO:00: Failed to change power state to D3hot
[ 446.449570] bbswitch: disabling discrete graphics
[ 446.449980] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 446.449989] No Local Variables are initialized for Method [_PS3]
[ 446.449991] No Arguments are initialized for method [_PS3]
[ 446.449992] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 446.450001] video LNXVIDEO:00: Failed to change power state to D3hot
[ 565.457943] bbswitch: disabling discrete graphics
[ 565.458187] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 565.458193] No Local Variables are initialized for Method [_PS3]
[ 565.458193] No Arguments are initialized for method [_PS3]
[ 565.458194] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 565.458199] video LNXVIDEO:00: Failed to change power state to D3hot
[ 781.322362] acer_wmi: Unknown function number - 11 - 0
[ 783.019955] acer_wmi: Unknown function number - 11 - 0
[ 783.119518] acer_wmi: Unknown function number - 11 - 0
--
[ 1730.331486] acer_wmi: Unknown function number - 11 - 0
[ 1780.845673] acer_wmi: Unknown function number - 11 - 0
[ 1833.156915] acer_wmi: Unknown function number - 11 - 0
[ 1890.883485] acer_wmi: Unknown function number - 11 - 0
[ 1950.409896] acer_wmi: Unknown function number - 11 - 0
[ 2011.744265] acer_wmi: Unknown function number - 11 - 0
[ 2065.862915] acer_wmi: Unknown function number - 11 - 0
[ 2118.176138] acer_wmi: Unknown function number - 11 - 0
[ 2134.251467] bbswitch: disabling discrete graphics
[ 2134.251722] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 2134.251727] No Local Variables are initialized for Method [_PS3]
[ 2134.251728] No Arguments are initialized for method [_PS3]
[ 2134.251729] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 2134.251733] video LNXVIDEO:00: Failed to change power state to D3hot
[ 2172.292982] acer_wmi: Unknown function number - 11 - 0
[ 2230.021724] acer_wmi: Unknown function number - 11 - 0
[ 2289.550406] acer_wmi: Unknown function number - 11 - 0
--
[ 3579.348413] acer_wmi: Unknown function number - 11 - 0
[ 3635.267451] acer_wmi: Unknown function number - 11 - 0
[ 3689.382743] acer_wmi: Unknown function number - 11 - 0
[ 3747.105173] acer_wmi: Unknown function number - 11 - 0
[ 3801.220080] acer_wmi: Unknown function number - 11 - 0
[ 3858.942921] acer_wmi: Unknown function number - 11 - 0
[ 3914.865797] acer_wmi: Unknown function number - 11 - 0
[ 3970.784109] acer_wmi: Unknown function number - 11 - 0
[ 3996.612058] bbswitch: disabling discrete graphics
[ 3996.612287] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 3996.612293] No Local Variables are initialized for Method [_PS3]
[ 3996.612293] No Arguments are initialized for method [_PS3]
[ 3996.612294] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 3996.612299] video LNXVIDEO:00: Failed to change power state to D3hot
[ 3996.616296] bbswitch: disabling discrete graphics
[ 3996.616524] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 3996.616530] No Local Variables are initialized for Method [_PS3]
[ 3996.616531] No Arguments are initialized for method [_PS3]
[ 3996.616532] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 3996.616537] video LNXVIDEO:00: Failed to change power state to D3hot
[ 4028.507491] acer_wmi: Unknown function number - 11 - 0
[ 4084.426273] acer_wmi: Unknown function number - 11 - 0
[ 4134.934606] acer_wmi: Unknown function number - 11 - 0
[ 4185.440115] acer_wmi: Unknown function number - 11 - 0
[ 4241.357665] acer_wmi: Unknown function number - 11 - 0
[ 4297.073664] acer_wmi: Unknown function number - 9 - 0
[ 4297.279172] acer_wmi: Unknown function number - 11 - 0
[ 4351.391894] acer_wmi: Unknown function number - 11 - 0
[ 4405.504675] acer_wmi: Unknown function number - 11 - 0
[ 4456.013302] acer_wmi: Unknown function number - 11 - 0
[ 4510.125831] acer_wmi: Unknown function number - 11 - 0
[ 4527.021980] bbswitch: disabling discrete graphics
[ 4527.022409] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 4527.022420] No Local Variables are initialized for Method [_PS3]
[ 4527.022421] No Arguments are initialized for method [_PS3]
[ 4527.022423] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 4527.022432] video LNXVIDEO:00: Failed to change power state to D3hot
[ 4527.028385] bbswitch: disabling discrete graphics
[ 4527.028703] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GFX0.ELCT], AE_NOT_FOUND (20181213/psargs-330)
[ 4527.028711] No Local Variables are initialized for Method [_PS3]
[ 4527.028711] No Arguments are initialized for method [_PS3]
[ 4527.028713] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._PS3, AE_NOT_FOUND (20181213/psparse-531)
[ 4527.028720] video LNXVIDEO:00: Failed to change power state to D3hot
[ 4558.830038] acer_wmi: Unknown function number - 11 - 0
[ 4611.138576] acer_wmi: Unknown function number - 11 - 0
[ 4667.054725] acer_wmi: Unknown function number - 11 - 0 |
Problem : Unable to turn discrete graphics off after running sudo tee /proc/acpi/bbswitch <<<OFF
when i run -
--> sudo tee /proc/acpi/bbswitch <<<OFF
Output: OFF
--> cat /proc/acpi/bbswitch
Output : 0000:01:00.0 ON
--------------------------Laptop Details--------------------------------
Laptop: Acer Predator PH315-52
OS : UBUNTU 18.04.2 LTS
Nvidia Driver : 418.87
Kernel : 5.0.0-37-generic
Processors : Intel UHD 630 and Nvidia 1660 Ti
bbswitch version: 0.8-4ubuntu1
bumblebee version: 3.2.1+git20181231-103~bionicppa1
Installation instructions followed:
Mostly from here: https://gist.github.com/whizzzkid/37c0d365f1c7aa555885d102ec61c048
---------------------Exact instructions i followed----------------------
$ bash -c "$(curl -fsSL http://bit.ly/IGFWL-install)"
$ sudo apt update
# Installed Cuda 10.1 .deb package from nvidia website and driver 418.87 was automatically
installed with the package(also prime-select was also installed with it)
$ sudo nano /etc/default/grub
# changed - GRUB_CMDLINE_LINUX_DEFAULT='pcie_port_pm=off acpi_backlight=none acpi_osi=Linux acpi_osi=! acpi_osi=\"Windows 2009\"'
$ sudo add-apt-repository ppa:bumblebee/testing
$ sudo apt update
# Installed synaptics package manager and then through it installed bumblebee,bumblebee-nvidia
and primus(and all others which by default get installed with them like bbswitch)
$ sudo nano /etc/bumblebee/bumblebee.conf
# Changed 'Driver=' to 'Driver=nvidia'
Bridge=primus
KernelDriver=nvidia
PMMethod=bbswitch
LibraryPath=/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
XorgModulePath=/usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
$ sudo nano /etc/modprobe.d/bumblebee.conf
# blacklist nvidia
blacklist nvidia-current
blacklist nvidia-current-updates
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
blacklist nvidiafb
blacklist i2c-nvidia-gpu
blacklist i2c-nvidia-gpu
blacklist nouveau
blacklist nvidia-current
$ sudo nano /etc/modules-load.d/modules.conf
# added following:
i915
bbswitch
#selected intel as prime profile
#Restarted laptop
----------------------------Results-------------------------------------
Afer fresh restart:
$ grep bumblebeed /var/log/syslog
Output:
Predator bumblebeed[3353]: Received Terminated signal.
Predator bumblebeed[3353]: Unable to disable discrete card.
Predator bumblebeed[7981]: /usr/sbin/bumblebeed started
Predator bumblebeed[7981]: Unable to disable discrete card.
$ lsmod | grep -i nouveau
Output: (Blank output) ## showing nouveau is not loaded
$ lsmod | grep nvidia
Output:
i2c_nvidia_gpu ## Handled it via "$ modprobe -r i2c_nvidia_gpu" but the problem still remains
## and the outputs of all too remains the same
## Blank output of "lsmod | grep nvidia" after unloading it using ablove command
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON
$ sudo tee /proc/acpi/bbswitch <<<OFF
Output:OFF
$ dmesg | grep bbswitch
[ 6.659422] bbswitch: loading out-of-tree module taints kernel.
[ 6.660407] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 6.661578] bbswitch: version 0.8
[ 6.662580] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6.663575] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6.665690] bbswitch: detected an Optimus _DSM function
[ 6.667873] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 18.818552] bbswitch: disabling discrete graphics
[ 114.697607] bbswitch: disabling discrete graphics
[ 114.697852] acpi_thermal_rel intel_pch_thermal wmi_bmof acer_wmi acer_wireless intel_lpss mac_hid soundcore sparse_keymap acpi_pad sch_fq_codel parport_pc ppdev lp parport bbswitch(OE) ip_tables x_tables autofs4 hid_generic usbhid i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm alx ahci mdio i2c_hid libahci i2c_nvidia_gpu hid wmi video pinctrl_cannonlake pinctrl_intel
[ 114.697897] bbswitch_off+0xbb/0x230 [bbswitch]
[ 114.697898] bbswitch_proc_write+0xb5/0xcc [bbswitch]
[ 446.444365] bbswitch: disabling discrete graphics
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON #############This is the problem,it should display OFF
$ optirun --status
Output: Bumblebee status: Ready (). X inactive. Discrete video card is on.
$ sudo bumblebeed --debug
[ 5280.409506] [DEBUG]Found card: 01:00.0 (discrete)
[ 5280.409517] [DEBUG]Found card: 00:02.0 (integrated)
[ 5280.409822] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 5280.409966] [INFO]Configured driver: nvidia
[ 5280.409972] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 5280.410011] [DEBUG]bbswitch has been detected.
[ 5280.410016] [INFO]Switching method 'bbswitch' is available and will be used.
[ 5280.410019] [DEBUG]Active configuration:
[ 5280.410022] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 5280.410024] [DEBUG] X display: :8
[ 5280.410027] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
[ 5280.410046] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 5280.410048] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 5280.410049] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 5280.410051] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 5280.410053] [DEBUG] Xorg binary: /usr/lib/xorg/Xorg
[ 5280.410076] [DEBUG] ModulePath: /usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
[ 5280.410078] [DEBUG] GID name: bumblebee
[ 5280.410081] [DEBUG] Power method: bbswitch
[ 5280.410084] [DEBUG] Stop X on exit: 1
[ 5280.410088] [DEBUG] Driver: nvidia
[ 5280.410091] [DEBUG] Driver module: nvidia
[ 5280.410094] [DEBUG] Card shutdown state: 0
[ 5280.410099] [DEBUG]Configuration test passed.
[ 5280.410114] [ERROR]Daemon already running, pid 8219
--------------------------Attached Files-----------------------------
$ dmesg | grep -C8 bbswitch
Output : Attached
# syslog
#xorg.0.log
# Information about my laptop |
|
2019-12-28 20:25:25 |
Sahaj |
description |
Problem : Unable to turn discrete graphics off after running sudo tee /proc/acpi/bbswitch <<<OFF
when i run -
--> sudo tee /proc/acpi/bbswitch <<<OFF
Output: OFF
--> cat /proc/acpi/bbswitch
Output : 0000:01:00.0 ON
--------------------------Laptop Details--------------------------------
Laptop: Acer Predator PH315-52
OS : UBUNTU 18.04.2 LTS
Nvidia Driver : 418.87
Kernel : 5.0.0-37-generic
Processors : Intel UHD 630 and Nvidia 1660 Ti
bbswitch version: 0.8-4ubuntu1
bumblebee version: 3.2.1+git20181231-103~bionicppa1
Installation instructions followed:
Mostly from here: https://gist.github.com/whizzzkid/37c0d365f1c7aa555885d102ec61c048
---------------------Exact instructions i followed----------------------
$ bash -c "$(curl -fsSL http://bit.ly/IGFWL-install)"
$ sudo apt update
# Installed Cuda 10.1 .deb package from nvidia website and driver 418.87 was automatically
installed with the package(also prime-select was also installed with it)
$ sudo nano /etc/default/grub
# changed - GRUB_CMDLINE_LINUX_DEFAULT='pcie_port_pm=off acpi_backlight=none acpi_osi=Linux acpi_osi=! acpi_osi=\"Windows 2009\"'
$ sudo add-apt-repository ppa:bumblebee/testing
$ sudo apt update
# Installed synaptics package manager and then through it installed bumblebee,bumblebee-nvidia
and primus(and all others which by default get installed with them like bbswitch)
$ sudo nano /etc/bumblebee/bumblebee.conf
# Changed 'Driver=' to 'Driver=nvidia'
Bridge=primus
KernelDriver=nvidia
PMMethod=bbswitch
LibraryPath=/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
XorgModulePath=/usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
$ sudo nano /etc/modprobe.d/bumblebee.conf
# blacklist nvidia
blacklist nvidia-current
blacklist nvidia-current-updates
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
blacklist nvidiafb
blacklist i2c-nvidia-gpu
blacklist i2c-nvidia-gpu
blacklist nouveau
blacklist nvidia-current
$ sudo nano /etc/modules-load.d/modules.conf
# added following:
i915
bbswitch
#selected intel as prime profile
#Restarted laptop
----------------------------Results-------------------------------------
Afer fresh restart:
$ grep bumblebeed /var/log/syslog
Output:
Predator bumblebeed[3353]: Received Terminated signal.
Predator bumblebeed[3353]: Unable to disable discrete card.
Predator bumblebeed[7981]: /usr/sbin/bumblebeed started
Predator bumblebeed[7981]: Unable to disable discrete card.
$ lsmod | grep -i nouveau
Output: (Blank output) ## showing nouveau is not loaded
$ lsmod | grep nvidia
Output:
i2c_nvidia_gpu ## Handled it via "$ modprobe -r i2c_nvidia_gpu" but the problem still remains
## and the outputs of all too remains the same
## Blank output of "lsmod | grep nvidia" after unloading it using ablove command
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON
$ sudo tee /proc/acpi/bbswitch <<<OFF
Output:OFF
$ dmesg | grep bbswitch
[ 6.659422] bbswitch: loading out-of-tree module taints kernel.
[ 6.660407] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 6.661578] bbswitch: version 0.8
[ 6.662580] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6.663575] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6.665690] bbswitch: detected an Optimus _DSM function
[ 6.667873] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 18.818552] bbswitch: disabling discrete graphics
[ 114.697607] bbswitch: disabling discrete graphics
[ 114.697852] acpi_thermal_rel intel_pch_thermal wmi_bmof acer_wmi acer_wireless intel_lpss mac_hid soundcore sparse_keymap acpi_pad sch_fq_codel parport_pc ppdev lp parport bbswitch(OE) ip_tables x_tables autofs4 hid_generic usbhid i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm alx ahci mdio i2c_hid libahci i2c_nvidia_gpu hid wmi video pinctrl_cannonlake pinctrl_intel
[ 114.697897] bbswitch_off+0xbb/0x230 [bbswitch]
[ 114.697898] bbswitch_proc_write+0xb5/0xcc [bbswitch]
[ 446.444365] bbswitch: disabling discrete graphics
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON #############This is the problem,it should display OFF
$ optirun --status
Output: Bumblebee status: Ready (). X inactive. Discrete video card is on.
$ sudo bumblebeed --debug
[ 5280.409506] [DEBUG]Found card: 01:00.0 (discrete)
[ 5280.409517] [DEBUG]Found card: 00:02.0 (integrated)
[ 5280.409822] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 5280.409966] [INFO]Configured driver: nvidia
[ 5280.409972] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 5280.410011] [DEBUG]bbswitch has been detected.
[ 5280.410016] [INFO]Switching method 'bbswitch' is available and will be used.
[ 5280.410019] [DEBUG]Active configuration:
[ 5280.410022] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 5280.410024] [DEBUG] X display: :8
[ 5280.410027] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
[ 5280.410046] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 5280.410048] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 5280.410049] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 5280.410051] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 5280.410053] [DEBUG] Xorg binary: /usr/lib/xorg/Xorg
[ 5280.410076] [DEBUG] ModulePath: /usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
[ 5280.410078] [DEBUG] GID name: bumblebee
[ 5280.410081] [DEBUG] Power method: bbswitch
[ 5280.410084] [DEBUG] Stop X on exit: 1
[ 5280.410088] [DEBUG] Driver: nvidia
[ 5280.410091] [DEBUG] Driver module: nvidia
[ 5280.410094] [DEBUG] Card shutdown state: 0
[ 5280.410099] [DEBUG]Configuration test passed.
[ 5280.410114] [ERROR]Daemon already running, pid 8219
--------------------------Attached Files-----------------------------
$ dmesg | grep -C8 bbswitch
Output : Attached
# syslog
#xorg.0.log
# Information about my laptop |
Problem : Unable to turn discrete graphics off after running sudo tee /proc/acpi/bbswitch <<<OFF
when i run -
--> sudo tee /proc/acpi/bbswitch <<<OFF
Output: OFF
--> cat /proc/acpi/bbswitch
Output : 0000:01:00.0 ON
--------------------------Laptop Details--------------------------------
Laptop: Acer Predator PH315-52
OS : UBUNTU 18.04.2 LTS
Nvidia Driver : 418.87
Kernel : 5.0.0-37-generic
Processors : Intel UHD 630 and Nvidia 1660 Ti
bbswitch version: 0.8-4ubuntu1
bumblebee version: 3.2.1+git20181231-103~bionicppa1
Installation instructions followed:
Mostly from here: https://gist.github.com/whizzzkid/37c0d365f1c7aa555885d102ec61c048
---------------------Exact instructions i followed----------------------
$ bash -c "$(curl -fsSL http://bit.ly/IGFWL-install)"
$ sudo apt update
# Installed Cuda 10.1 .deb package from nvidia website and driver 418.87 was automatically
installed with the package(also prime-select was also installed with it)
$ sudo nano /etc/default/grub
# changed - GRUB_CMDLINE_LINUX_DEFAULT='pcie_port_pm=off acpi_backlight=none acpi_osi=Linux acpi_osi=! acpi_osi=\"Windows 2009\"'
$ sudo add-apt-repository ppa:bumblebee/testing
$ sudo apt update
# Installed synaptics package manager and then through it installed bumblebee,bumblebee-nvidia
and primus(and all others which by default get installed with them like bbswitch)
$ sudo nano /etc/bumblebee/bumblebee.conf
# Changed 'Driver=' to 'Driver=nvidia'
Bridge=primus
KernelDriver=nvidia
PMMethod=bbswitch
LibraryPath=/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
XorgModulePath=/usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
$ sudo nano /etc/modprobe.d/bumblebee.conf
# blacklist nvidia
blacklist nvidia-current
blacklist nvidia-current-updates
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
blacklist nvidiafb
blacklist i2c-nvidia-gpu
blacklist i2c-nvidia-gpu
blacklist nouveau
blacklist nvidia-current
$ sudo nano /etc/modules-load.d/modules.conf
# added following:
i915
bbswitch
#selected intel as prime profile
#Restarted laptop
----------------------------Results-------------------------------------
Afer fresh restart:
$ grep bumblebeed /var/log/syslog
Output:
Predator bumblebeed[3353]: Received Terminated signal.
Predator bumblebeed[3353]: Unable to disable discrete card.
Predator bumblebeed[7981]: /usr/sbin/bumblebeed started
Predator bumblebeed[7981]: Unable to disable discrete card.
$ lsmod | grep -i nouveau
Output: (Blank output) ## showing nouveau is not loaded
$ lsmod | grep nvidia
Output:
i2c_nvidia_gpu ## Handled it via "$ modprobe -r i2c_nvidia_gpu" but the problem still remains
## and the outputs of all too remains the same
## Blank output of "lsmod | grep nvidia" after unloading it using ablove command
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON
$ sudo tee /proc/acpi/bbswitch <<<OFF
Output:OFF
$ dmesg | grep bbswitch
[ 6.659422] bbswitch: loading out-of-tree module taints kernel.
[ 6.660407] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 6.661578] bbswitch: version 0.8
[ 6.662580] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6.663575] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6.665690] bbswitch: detected an Optimus _DSM function
[ 6.667873] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 18.818552] bbswitch: disabling discrete graphics
[ 114.697607] bbswitch: disabling discrete graphics
[ 114.697852] acpi_thermal_rel intel_pch_thermal wmi_bmof acer_wmi acer_wireless intel_lpss mac_hid soundcore sparse_keymap acpi_pad sch_fq_codel parport_pc ppdev lp parport bbswitch(OE) ip_tables x_tables autofs4 hid_generic usbhid i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm alx ahci mdio i2c_hid libahci i2c_nvidia_gpu hid wmi video pinctrl_cannonlake pinctrl_intel
[ 114.697897] bbswitch_off+0xbb/0x230 [bbswitch]
[ 114.697898] bbswitch_proc_write+0xb5/0xcc [bbswitch]
[ 446.444365] bbswitch: disabling discrete graphics
$ cat /proc/acpi/bbswitch
Ouput:0000:01:00.0 ON #############This is the problem,it should display OFF
$ optirun --status
Output: Bumblebee status: Ready (). X inactive. Discrete video card is on.
$ sudo bumblebeed --debug
[ 5280.409506] [DEBUG]Found card: 01:00.0 (discrete)
[ 5280.409517] [DEBUG]Found card: 00:02.0 (integrated)
[ 5280.409822] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 5280.409966] [INFO]Configured driver: nvidia
[ 5280.409972] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 5280.410011] [DEBUG]bbswitch has been detected.
[ 5280.410016] [INFO]Switching method 'bbswitch' is available and will be used.
[ 5280.410019] [DEBUG]Active configuration:
[ 5280.410022] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 5280.410024] [DEBUG] X display: :8
[ 5280.410027] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
[ 5280.410046] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 5280.410048] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 5280.410049] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 5280.410051] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 5280.410053] [DEBUG] Xorg binary: /usr/lib/xorg/Xorg
[ 5280.410076] [DEBUG] ModulePath: /usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
[ 5280.410078] [DEBUG] GID name: bumblebee
[ 5280.410081] [DEBUG] Power method: bbswitch
[ 5280.410084] [DEBUG] Stop X on exit: 1
[ 5280.410088] [DEBUG] Driver: nvidia
[ 5280.410091] [DEBUG] Driver module: nvidia
[ 5280.410094] [DEBUG] Card shutdown state: 0
[ 5280.410099] [DEBUG]Configuration test passed.
[ 5280.410114] [ERROR]Daemon already running, pid 8219
--------------------------Attached Files-----------------------------
$ dmesg | grep -C8 bbswitch
Output : Attached ## shows video LNXVIDEO:00: Failed to change power
state to D3hot
# syslog
#xorg.0.log
# Information about my laptop |
|