Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asus X751LD (X751LD.312 06/27/2014) No suitable _DSM call found #135

Closed
xlin opened this issue Jul 12, 2016 · 6 comments
Closed

Asus X751LD (X751LD.312 06/27/2014) No suitable _DSM call found #135

xlin opened this issue Jul 12, 2016 · 6 comments

Comments

@xlin
Copy link

xlin commented Jul 12, 2016

dmesg | grep -C 10 bbswitch: (http://pastebin.com/raw/JU73a6Jj):

[   34.180109] bbswitch: version 0.8
[   34.180115] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[   34.180121] bbswitch: Found discrete VGA device 0000:04:00.0: \_SB_.PCI0.RP05.PEGP
[   34.180134] bbswitch: failed to evaluate \_SB_.PCI0.RP05.PEGP._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[   34.180140] bbswitch: failed to evaluate \_SB_.PCI0.RP05.PEGP._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[   34.180150] bbswitch: failed to evaluate \_SB_.PCI0.GFX0._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[   34.180151] bbswitch: No suitable _DSM call found.

[root@xlin ~]# uname -a Linux xlin.local 4.7.0-desktop-0.rc7.1.mga6 #1 SMP Mon Jul 11 10:34:16 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Mageia Description: Mageia 6 Release: 6 Codename: thornicroft

Xorg and driver
http://pastebin.com/raw/smYCPApP

sh get-acpi-info.sh
http://pastebin.com/raw/v6nPGZHt
ASUSTeK_COMPUTER_INC.-X751LD.tar.gz
(Edit by Lekensteyn:)

system-manufacturer   : ASUSTeK COMPUTER INC.
system-product-name   : X751LD
system-version        : 1.0       
baseboard-manufacturer: ASUSTeK COMPUTER INC.
baseboard-product-name: X751LD
baseboard-version     : 1.0       
bios-vendor           : American Megatrends Inc.
bios-version          : X751LD.312
bios-release-date     : 06/27/2014

04:00.0 3D controller [0302]: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] [10de:1140] (rev a1)

acpi_dump_info (http://pastebin.com/raw/riEf0saB)

0000:00:00.0 060000 \_SB_.PCI0.ADSP
0000:00:02.0 030000 \_SB_.PCI0.GFX0
0000:00:03.0 040300 \_SB_.PCI0.B0D3
0000:00:04.0 118000 \_SB_.PCI0.B0D4
0000:00:14.0 0c0330 \_SB_.PCI0.XHC_
0000:00:16.0 078000 
0000:00:1b.0 040300 \_SB_.PCI0.HDEF
0000:00:1c.0 060400 \_SB_.PCI0.RP01
0000:00:1c.2 060400 \_SB_.PCI0.RP03
0000:00:1c.3 060400 \_SB_.PCI0.RP04
0000:00:1c.4 060400 \_SB_.PCI0.RP05
0000:00:1d.0 0c0320 \_SB_.PCI0.EHC1
0000:00:1f.0 060100 \_SB_.PCI0.LPCB
0000:00:1f.2 010601 \_SB_.PCI0.SAT0
0000:00:1f.3 0c0500 \_SB_.PCI0.SBUS
0000:00:1f.6 118000 \_SB_.PCI0.TPCH
0000:02:00.0 ff0000 \_SB_.PCI0.RP03.PXSX
0000:02:00.1 020000 \_SB_.PCI0.RP03.GLAN
0000:03:00.0 028000 \_SB_.PCI0.RP04.PXSX
0000:04:00.0 030200 \_SB_.PCI0.RP05.PEGP

Bug report for Mageia https://bugs.mageia.org/show_bug.cgi?id=18931

@xlin
Copy link
Author

xlin commented Jul 13, 2016

Please help me

@xlin
Copy link
Author

xlin commented Jul 13, 2016

The new kernel 4.7.0-server-0.rc7.2.mga6 turned to run. But Nvidia module is unloaded after the closure of the program.

logfile http://pastebin.com/raw/xsqhFZuh

@xlin
Copy link
Author

xlin commented Jul 16, 2016

reinstall dkms-bbswitch, but not nvidia module unload

[xlin@xlin ~]$ dmesg | grep -C 10 bbswitch
[   42.601362] audit: type=1130 audit(1468672952.510:38): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=alsa-state comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   42.625633] audit: type=1130 audit(1468672952.530:39): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=hddtemp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   45.368346] audit: type=1130 audit(1468672955.269:40): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   45.368385] audit: type=1130 audit(1468672955.269:41): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dbus comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   45.442190] audit: type=1130 audit(1468672955.349:42): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=irqbalance comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   45.478480] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   45.478483] Bluetooth: BNEP filters: protocol multicast
[   45.478487] Bluetooth: BNEP socket layer initialized
[   45.497631] audit: type=1130 audit(1468672955.399:43): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bumblebeed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   45.499408] audit: type=1130 audit(1468672955.399:44): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=cpupower comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   46.377133] bbswitch: version 0.8
[   46.377141] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[   46.377150] bbswitch: Found discrete VGA device 0000:04:00.0: \_SB_.PCI0.RP05.PEGP
[   46.377162] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
[   46.377281] bbswitch: detected an Optimus _DSM function
[   46.377361] bbswitch: disabling discrete graphics
[   46.377368] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
[   46.409661] bbswitch: Succesfully loaded. Discrete card 0000:04:00.0 is off
[   47.577765] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   47.590165] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   47.593236] IPv6: ADDRCONF(NETDEV_UP): enp2s0f1: link is not ready
[   47.681528] r8169 0000:02:00.1 enp2s0f1: link down
[   47.681600] IPv6: ADDRCONF(NETDEV_UP): enp2s0f1: link is not ready
[   48.243188] audit_printk_skb: 51 callbacks suppressed
[   48.243191] audit: type=1130 audit(1468672958.149:62): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=wpa_supplicant comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   48.422590] audit: type=1130 audit(1468672958.329:63): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=polkit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   48.553390] NET: Registered protocol family 17
[   48.740767] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
--
[  360.267100] audit: type=1006 audit(1468673270.601:142): pid=4821 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=2 res=1
[  360.267438] audit: type=1105 audit(1468673270.601:143): pid=4821 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_tcb acct="xlin" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  360.327945] audit: type=1130 audit(1468673270.661:144): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  360.328432] audit: type=1006 audit(1468673270.661:145): pid=4820 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=3 res=1
[  360.342085] audit: type=1105 audit(1468673270.671:146): pid=4820 uid=0 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_tcb,pam_loginuid acct="xlin" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=:0 res=success'
[  363.035443] audit: type=1130 audit(1468673273.371:147): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=rtkit-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  364.452976] Bluetooth: RFCOMM TTY layer initialized
[  364.452984] Bluetooth: RFCOMM socket layer initialized
[  364.452992] Bluetooth: RFCOMM ver 1.11
[  370.452609] audit: type=1130 audit(1468673280.781:148): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=udisks2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  439.897758] bbswitch: enabling discrete graphics
[  440.815560] nvidia: module license 'NVIDIA' taints kernel.
[  440.815564] Disabling lock debugging due to kernel taint
[  440.828246] nvidia-nvlink: Nvlink Core is being initialized, major device number 244
[  440.828264] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  367.27  Thu Jun  9 18:53:27 PDT 2016
[  441.600245] vgaarb: this pci device is not a vga device
[  441.610742] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
[  441.610808] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
[  441.610846] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
[  441.610881] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
[  441.610914] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)

@Lekensteyn Lekensteyn changed the title bumblebee + bbswitch Not work module bbswitch (No suitable _DSM call found.) Asus X751LD (X751LD.312 06/27/2014) No suitable _DSM call found Jul 16, 2016
@Lekensteyn
Copy link
Member

Not sure why PSPX got detected in your first post, but bbswitch seems to work without any changes I guess. Closing.

If you have an issue with Bumblebee, try that https://github.com/Bumblebee-Project/Bumblebee. Please try Bumblebee from the develop branch though (really need to get that tagged...), that version is supposed to work better with newer nvidia drivers that have multiple kernel modules.

@akien-mga
Copy link

Please try Bumblebee from the develop branch though (really need to get that tagged...), that version is supposed to work better with newer nvidia drivers that have multiple kernel modules.

Oh nice, thanks for the headsup. I package bumblebee for Mageia (which @xlin is using, I sent him here) but was still only on 524ded14, I hadn't noticed the more recent developments. I'll update our package.

@xlin
Copy link
Author

xlin commented Jul 16, 2016

Thank you so much. After the upgrade, everything was working as it should.

[xlin@xlin ~]$ sudo systemctl status bumblebeed.service
● bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
Active: active (running) since Вс 2016-07-17 01:21:22 MSK; 2min 32s ago
Main PID: 2420 (bumblebeed)
CGroup: /system.slice/bumblebeed.service
└─2420 /usr/sbin/bumblebeed --use-syslog

июл 17 01:21:22 xlin.local systemd[1]: Started Bumblebee C Daemon.
июл 17 01:21:24 xlin.local bumblebeed[2420]: /usr/sbin/bumblebeed 3.2.1-2016-05-19-Format:%h$ started
[xlin@xlin ~]$ sudo lsmod | grep nvidia
[xlin@xlin ~]$ sudo cat /proc/acpi/bbswitch
0000:04:00.0 OFF
[xlin@xlin ~]$ optirun kwrite
[xlin@xlin ~]$ cat /proc/acpi/bbswitch
0000:04:00.0 ON

clouse kwrite and nvidia module unload

[xlin@xlin ~]$ sudo lsmod | grep nvidia
[xlin@xlin ~]$ sudo cat /proc/acpi/bbswitch
0000:04:00.0 OFF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants