LINUX.ORG.RU

Bumblebee

 , , , ,


0

1

Всем привет!

/etc/X11/xorg.con и /etc/X11/xorg.conf.d пустые.

Параметры в grub только quite.

В /etc/modprobe.d/ только nobeep.conf и noeth.conf

/etc/bumblebee/bumblebee.conf

https://pastebin.com/ubmyXpgp

/etc/bumblebee/xorg.conf.nvidia

Section "Files"
    ModulePath      "/usr/lib/nvidia/xorg"
    ModulePath      "/usr/lib/xorg/modules"
EndSection

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
#   BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
    BusID  "PCI:02:00:0"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device "DiscreteNvidia"
EndSection
Проблема заключается:

1. Если systemctl enable bumblebeed, то optirun не работает dmesg загурзки

https://pastebin.com/XfeJfPyx

sudo systemctl status bumblebeed

● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-10-04 13:42:47 +10; 2min 44s ago
 Main PID: 445 (bumblebeed)
    Tasks: 1 (limit: 4915)
   Memory: 2.2M
   CGroup: /system.slice/bumblebeed.service
           └─445 /usr/bin/bumblebeed

Oct 04 13:42:47 localhost systemd[1]: Started Bumblebee C Daemon.
Oct 04 13:42:47 localhost bumblebeed[445]: [   15.261026] [INFO]/usr/bin/bumblebeed 3.2.1 started

Запуск optirun glxspheres64

[  357.403078] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[  357.403119] [ERROR]Aborting because fallback start is disabled.

dmesg

[Oct 4 13:48] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[  +0.392295] nvidia 0000:02:00.0: enabling device (0000 -> 0003)
[  +0.144642] NVRM: The NVIDIA GPU 0000:02:00.0
              NVRM: (PCI ID: 10de:134d) installed in this system has
              NVRM: fallen off the bus and is not responding to commands.
[  +0.048250] nvidia: probe of 0000:02:00.0 failed with error -1
[  +0.000065] NVRM: The NVIDIA probe routine failed for 1 device(s).
[  +0.000000] NVRM: None of the NVIDIA graphics adapters were initialized!
[  +0.000126] nvidia-nvlink: Unregistered the Nvlink Core, major device number 238

Oct 04 13:48:29 localhost bumblebeed[445]: modprobe: ERROR: could not insert 'nvidia': No such device
Oct 04 13:48:29 localhost bumblebeed[445]: [  357.403022] [ERROR]Module nvidia could not be loaded (timeout?)
Oct 04 13:48:29 localhost bumblebeed[445]: [  357.403040] [ERROR]Could not load GPU driver

lsmod | grep -E «bbs|nv»

nvram                  16384  1 thinkpad_acpi
bswitch               16384  0
И если послать OFF
[Oct 4 14:42] bbswitch: disabling discrete graphics
[  +0.192565] ------------[ cut here ]------------
[  +0.000001] pci 0000:02:00.0: disabling already-disabled device
[  +0.000009] WARNING: CPU: 7 PID: 3395 at drivers/pci/pci.c:1686 pci_disable_device+0x8a/0xa0
[  +0.000000] Modules linked in: ccm fuse ipmi_devintf ipmi_msghandler msr bbswitch(OE) snd_hda_codec_hdmi joydev mousedev snd_hda_codec_realtek snd_hda_codec_generic arc4 iwlmvm i915 mac80211 intel_rapl x86_pkg_temp_thermal iwlwifi intel_powerclamp snd_hda_intel coretemp kvm_intel btusb i2c_algo_bit btrtl snd_hda_codec uvcvideo iTCO_wdt btbcm videobuf2_vmalloc kvm mei_wdt wmi_bmof btintel drm_kms_helper snd_hda_core videobuf2_memops iTCO_vendor_support videobuf2_v4l2 cfg80211 irqbypass snd_hwdep videobuf2_common intel_cstate bluetooth snd_pcm drm videodev thinkpad_acpi intel_uncore nvram intel_rapl_perf intel_gtt media agpgart psmouse snd_timer rtsx_pci_ms syscopyarea tpm_crb input_leds sysfillrect memstick snd mei_me sysimgblt ecdh_generic tpm_tis wmi evdev fb_sys_fops rfkill mei tpm_tis_core soundcore
[  +0.000043]  battery led_class ac tpm i2c_i801 mac_hid rng_core intel_pch_thermal pcc_cpufreq crypto_user vfs_monitor(OE) acpi_call(OE) ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto algif_skcipher af_alg dm_crypt dm_mod sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc rtsx_pci_sdmmc ahci serio_raw mmc_core atkbd xhci_pci libahci libps2 xhci_hcd libata aesni_intel aes_x86_64 usbcore crypto_simd scsi_mod cryptd glue_helper rtsx_pci usb_common i8042 serio
[  +0.000028] CPU: 7 PID: 3395 Comm: tee Tainted: P           OE     4.18.9-arch1-1-ARCH #1
[  +0.000001] Hardware name: LENOVO 20FWCTO1WW/20FWCTO1WW, BIOS R07ET84W (2.24 ) 06/05/2018
[  +0.000002] RIP: 0010:pci_disable_device+0x8a/0xa0
[  +0.000001] Code: 48 85 ed 75 07 48 8b ab b0 00 00 00 48 8d bb a0 00 00 00 e8 08 b7 13 00 48 89 ea 48 c7 c7 50 fb 8b 95 48 89 c6 e8 90 e4 c5 ff <0f> 0b eb 8f 48 89 df e8 ea fe ff ff 80 a3 c1 07 00 00 fb 5b 5d c3
[  +0.000024] RSP: 0018:ffffb0e7c3047dd8 EFLAGS: 00010286
[  +0.000001] RAX: 0000000000000000 RBX: ffff94e54e131000 RCX: 0000000000000001
[  +0.000001] RDX: 0000000080000001 RSI: ffffffff9588d2b6 RDI: 00000000ffffffff
[  +0.000001] RBP: ffff94e54e0e5410 R08: 000008dd118d07d1 R09: 00000000000003db
[  +0.000000] R10: ffffffff96029700 R11: 0000000000000000 R12: 00007fff0bcf9570
[  +0.000001] R13: ffffb0e7c3047f08 R14: 00007fff0bcf9570 R15: 0000000000000000
[  +0.000001] FS:  00007fda481cb540(0000) GS:ffff94e5615c0000(0000) knlGS:0000000000000000
[  +0.000001] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0.000001] CR2: 000055db7a37df50 CR3: 00000003fdff6006 CR4: 00000000003606e0
[  +0.000001] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  +0.000001] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  +0.000000] Call Trace:
[  +0.000006]  bbswitch_off.cold.4+0xc1/0x1d1 [bbswitch]
[  +0.000002]  bbswitch_proc_write+0xaf/0xd0 [bbswitch]
[  +0.000003]  proc_reg_write+0x3c/0x60
[  +0.000003]  __vfs_write+0x36/0x190
[  +0.000003]  ? __audit_syscall_entry+0xd7/0x160
[  +0.000002]  ? syscall_slow_exit_work+0x19b/0x1b0
[  +0.000002]  vfs_write+0xa9/0x190
[  +0.000002]  ksys_write+0x4f/0xb0
[  +0.000002]  do_syscall_64+0x5b/0x170
[  +0.000002]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  +0.000016] RIP: 0033:0x7fda480f27a8
[  +0.000000] Code: 89 02 48 c7 c0 ff ff ff ff eb b3 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 8d 05 95 6d 0d 00 8b 00 85 c0 75 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 41 54 49 89 d4 55
[  +0.000024] RSP: 002b:00007fff0bcf9448 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[  +0.000001] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fda480f27a8
[  +0.000001] RDX: 0000000000000004 RSI: 00007fff0bcf9570 RDI: 0000000000000003
[  +0.000001] RBP: 00007fff0bcf9570 R08: 0000557788264540 R09: 00007fda481cb540
[  +0.000000] R10: 00000000000001b6 R11: 0000000000000246 R12: 0000557788264460
[  +0.000001] R13: 0000000000000004 R14: 00007fda481c05c0 R15: 0000000000000004
[  +0.000002] ---[ end trace 432612e15d6c383c ]---
[  +0.062133] pci 0000:02:00.0: Refused to change power state, currently in D0

2. Если systemctl disable bumblebeed и запускать sudo bumblebeed -vvv --driver nvidia, optirun работает, но дискретная видеокарта вечно включена и не отключается.

Запуск

sudo bumblebeed -vvv --driver nvidia

[ 1517.212619] [DEBUG]Found card: 02:00.0 (discrete)
[ 1517.212635] [DEBUG]Found card: 00:02.0 (integrated)
[ 1517.212638] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1517.212735] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 1517.212815] [DEBUG]Process /sbin/modprobe started, PID 3473.
[ 1517.212868] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 1517.224274] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1517.224472] [INFO]Loading driver bbswitch (module bbswitch)
[ 1517.224561] [DEBUG]Process modprobe started, PID 3474.
[ 1517.231286] [DEBUG]Process with PID 3474 returned code 0
[ 1517.231347] [DEBUG]succesfully loaded bbswitch
[ 1517.231352] [INFO]Switching method 'bbswitch' is available and will be used.
[ 1517.231363] [DEBUG]Active configuration:
[ 1517.231369] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1517.231375] [DEBUG] X display: :1
[ 1517.231381] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
[ 1517.231386] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1517.231393] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 1517.231399] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 1517.231404] [DEBUG] ModulePath: /usr/lib/nvidia/xorg,/usr/lib/xorg/modules
[ 1517.231410] [DEBUG] GID name: bumblebee
[ 1517.231415] [DEBUG] Power method: bbswitch
[ 1517.231421] [DEBUG] Stop X on exit: 1
[ 1517.231425] [DEBUG] Driver: nvidia
[ 1517.231431] [DEBUG] Driver module: nvidia
[ 1517.231436] [DEBUG] Card shutdown state: 1
[ 1517.231553] [DEBUG]Process /sbin/modprobe started, PID 3476.
[ 1517.231583] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 1517.232503] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1517.232510] [DEBUG]Configuration test passed.
[ 1517.232688] [INFO]bumblebeed 3.2.1 started
[ 1517.233112] [DEBUG]Drivers are still loaded, unable to disable card
[ 1517.233118] [INFO]Initialization completed - now handling client requests
[Oct 4 13:31] bbswitch: version 0.8
[  +0.000006] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[  +0.000006] bbswitch: Found discrete VGA device 0000:02:00.0: \_SB_.PCI0.PEG2.PEGP
[  +0.000011] ACPI Warning: \_SB.PCI0.PEG2.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20180531/nsarguments-66)
[  +0.000230] bbswitch: detected an Optimus _DSM function
[  +0.000010] bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is on

cat /proc/acpi/bbswitch

0000:02:00.0 ON

Запускаем optirun

optirun glxspheres64

Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce 940MX/PCIe/SSE2
246.595299 frames/sec - 143.411195 Mpixels/sec
240.321920 frames/sec - 139.762818 Mpixels/sec
244.318667 frames/sec - 142.087186 Mpixels/sec

[ 1844.183839] [DEBUG]Accepted new connection
[ 1844.184333] [INFO]Starting X server on display :1.
[ 1844.184632] [DEBUG]Process Xorg started, PID 3505.
[ 1845.000696] [WARN][XORG] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 1845.000705] [DEBUG][XORG] X.Org X Server 1.20.1
[ 1845.000707] [DEBUG][XORG] X Protocol Version 11, Revision 0
[ 1845.000709] [DEBUG][XORG] Build Operating System: Linux Arch Linux
[ 1845.000711] [DEBUG][XORG] Current Operating System: Linux localhost 4.18.9-arch1-1-ARCH #1 SMP PREEMPT Wed Sep 19 21:19:17 UTC 2018 x86_64
[ 1845.000713] [DEBUG][XORG] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=411a3585-9646-4d2d-be23-818a32a357d2 rw cryptdevice=/dev/sda6:cryptroot quiet
[ 1845.000715] [DEBUG][XORG] Build Date: 09 August 2018  06:37:34PM
[ 1845.000717] [DEBUG][XORG] Current version of pixman: 0.34.0
[ 1845.000720] [DEBUG][XORG] 	Before reporting problems, check http://wiki.x.org
[ 1845.000722] [DEBUG][XORG] 	to make sure that you have the latest version.
[ 1845.000724] [DEBUG][XORG] Markers: (--) probed, (**) from config file, (==) default setting,
[ 1845.000726] [DEBUG][XORG] 	(++) from command line, (!!) notice, (II) informational,
[ 1845.000728] [DEBUG][XORG] 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1845.000730] [DEBUG][XORG] (==) Log file: "/var/log/Xorg.1.log", Time: Thu Oct  4 13:36:40 2018
[ 1845.000732] [DEBUG][XORG] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 1845.000734] [DEBUG][XORG] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 1845.000737] [DEBUG][XORG] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1845.000739] [DEBUG][XORG] (==) ServerLayout "Layout0"
[ 1845.000741] [DEBUG][XORG] (**) |-->Screen "Default Screen" (0)
[ 1845.000743] [DEBUG][XORG] (**) |   |-->Monitor "<default monitor>"
[ 1845.000746] [DEBUG][XORG] (**) |   |-->Device "DiscreteNvidia"
[ 1845.000748] [DEBUG][XORG] (==) No monitor specified for screen "Default Screen".
[ 1845.000769] [DEBUG][XORG] 	Using a default monitor configuration.
[ 1845.000773] [DEBUG][XORG] (**) Option "AutoAddDevices" "false"
[ 1845.000775] [DEBUG][XORG] (**) Option "AutoAddGPU" "false"
[ 1845.000779] [DEBUG][XORG] (**) Not automatically adding devices
[ 1845.000782] [DEBUG][XORG] (==) Automatically enabling devices
[ 1845.000785] [DEBUG][XORG] (**) Not automatically adding GPU devices
[ 1845.000789] [DEBUG][XORG] (==) Automatically binding GPU devices
[ 1845.000792] [DEBUG][XORG] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1845.000795] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 1845.000799] [DEBUG][XORG] 	Entry deleted from font path.
[ 1845.000803] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF".
[ 1845.000805] [DEBUG][XORG] 	Entry deleted from font path.
[ 1845.000808] [DEBUG][XORG] 	(Run 'mkfontdir' on "/usr/share/fonts/OTF").
[ 1845.000811] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 1845.000816] [DEBUG][XORG] 	Entry deleted from font path.
[ 1845.000820] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 1845.000824] [DEBUG][XORG] 	Entry deleted from font path.
[ 1845.000841] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 1845.000845] [DEBUG][XORG] 	Entry deleted from font path.
[ 1845.000849] [DEBUG][XORG] (==) FontPath set to:
[ 1845.000852] [DEBUG][XORG] 	/usr/share/fonts/TTF
[ 1845.000857] [DEBUG][XORG] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[ 1845.000859] [DEBUG][XORG] (==) |-->Input Device "<default pointer>"
[ 1845.000863] [DEBUG][XORG] (==) |-->Input Device "<default keyboard>"
[ 1845.000867] [DEBUG][XORG] (==) The core pointer device wasn't specified explicitly in the layout.
[ 1845.000870] [DEBUG][XORG] 	Using the default mouse configuration.
[ 1845.000875] [DEBUG][XORG] (==) The core keyboard device wasn't specified explicitly in the layout.
[ 1845.000879] [DEBUG][XORG] 	Using the default keyboard configuration.
[ 1845.000885] [DEBUG][XORG] (II) Module ABI versions:
[ 1845.000888] [DEBUG][XORG] 	X.Org ANSI C Emulation: 0.4
[ 1845.000891] [DEBUG][XORG] 	X.Org Video Driver: 24.0
[ 1845.000895] [DEBUG][XORG] 	X.Org XInput driver : 24.1
[ 1845.000900] [DEBUG][XORG] 	X.Org Server Extension : 10.0
[ 1845.000904] [DEBUG][XORG] (--) using VT number 1
[ 1845.000908] [DEBUG][XORG] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 1845.000912] [DEBUG][XORG] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1845.000916] [DEBUG][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 1845.000920] [DEBUG][XORG] (--) PCI:*(2@0:0:0) 10de:134d:17aa:5050 rev 162, Mem @ 0xf1000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000d000/128
[ 1845.000924] [DEBUG][XORG] (II) Open ACPI successful (/var/run/acpid.socket)
[ 1845.000928] [DEBUG][XORG] (II) LoadModule: "glx"
[ 1845.000932] [DEBUG][XORG] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[ 1845.000936] [DEBUG][XORG] (II) Module glx: vendor="NVIDIA Corporation"
[ 1845.000940] [DEBUG][XORG] 	compiled for 4.0.2, module version = 1.0.0
[ 1845.000944] [DEBUG][XORG] 	Module class: X.Org Server Extension
[ 1845.000948] [DEBUG][XORG] (II) NVIDIA GLX Module  396.54  Tue Aug 14 22:37:05 PDT 2018
[ 1845.000951] [DEBUG][XORG] (II) LoadModule: "nvidia"
[ 1845.000955] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 1845.000958] [DEBUG][XORG] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1845.000962] [DEBUG][XORG] 	compiled for 4.0.2, module version = 1.0.0
[ 1845.000966] [DEBUG][XORG] 	Module class: X.Org Video Driver
[ 1845.000970] [DEBUG][XORG] (II) LoadModule: "mouse"
[ 1845.000974] [WARN][XORG] (WW) Warning, couldn't open module mouse
[ 1845.000978] [DEBUG][XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 1845.000983] [DEBUG][XORG] (II) LoadModule: "kbd"
[ 1845.000987] [DEBUG][XORG] (WW) Warning, couldn't open module kbd
[ 1845.000991] [DEBUG][XORG] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 1845.000994] [DEBUG][XORG] (II) NVIDIA dlloader X Driver  396.54  Tue Aug 14 22:15:03 PDT 2018
[ 1845.000999] [DEBUG][XORG] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1845.001003] [DEBUG][XORG] (II) Loading sub module "fb"
[ 1845.001007] [DEBUG][XORG] (II) LoadModule: "fb"
[ 1845.001012] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 1845.001016] [DEBUG][XORG] (II) Module fb: vendor="X.Org Foundation"
[ 1845.001020] [DEBUG][XORG] 	compiled for 1.20.1, module version = 1.0.0
[ 1845.001026] [DEBUG][XORG] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 1845.001030] [DEBUG][XORG] (II) Loading sub module "wfb"
[ 1845.001034] [DEBUG][XORG] (II) LoadModule: "wfb"
[ 1845.001037] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 1845.001041] [DEBUG][XORG] (II) Module wfb: vendor="X.Org Foundation"
[ 1845.001045] [DEBUG][XORG] 	compiled for 1.20.1, module version = 1.0.0
[ 1845.001050] [DEBUG][XORG] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 1845.001054] [DEBUG][XORG] (II) Loading sub module "ramdac"
[ 1845.001058] [DEBUG][XORG] (II) LoadModule: "ramdac"
[ 1845.001062] [DEBUG][XORG] (II) Module "ramdac" already built-in
[ 1845.001066] [DEBUG][XORG] (II) NVIDIA(0): Creating default Display subsection in Screen section
[ 1845.001069] [DEBUG][XORG] 	"Default Screen" for depth/fbbpp 24/32
[ 1845.001074] [DEBUG][XORG] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 1845.001077] [DEBUG][XORG] (==) NVIDIA(0): RGB weight 888
[ 1845.001079] [DEBUG][XORG] (==) NVIDIA(0): Default visual is TrueColor
[ 1845.001083] [DEBUG][XORG] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1845.001087] [DEBUG][XORG] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[ 1845.001091] [DEBUG][XORG] (**) NVIDIA(0): Option "UseEDID" "false"
[ 1845.001095] [DEBUG][XORG] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 1845.001099] [DEBUG][XORG] (**) NVIDIA(0): Enabling 2D acceleration
[ 1845.001102] [DEBUG][XORG] (**) NVIDIA(0): Ignoring EDIDs
[ 1845.001106] [DEBUG][XORG] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 1845.001110] [DEBUG][XORG] (**) NVIDIA(0):     mode
[ 1845.001114] [DEBUG][XORG] (II) NVIDIA(0): NVIDIA GPU GeForce 940MX (GM108-A) at PCI:2:0:0 (GPU-0)
[ 1845.001118] [DEBUG][XORG] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 1845.001122] [DEBUG][XORG] (--) NVIDIA(0): VideoBIOS: 82.08.57.00.22
[ 1845.001125] [DEBUG][XORG] (II) NVIDIA(0): Detected PCI Express Link width: 4X
[ 1845.001129] [DEBUG][XORG] (II) NVIDIA(0): Validated MetaModes:
[ 1845.001133] [DEBUG][XORG] (II) NVIDIA(0):     "NULL"
[ 1845.001136] [DEBUG][XORG] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 1845.001140] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 1845.001144] [DEBUG][XORG] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 1845.001148] [DEBUG][XORG] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[ 1845.001152] [DEBUG][XORG] (II) NVIDIA:     access.
[ 1845.001155] [DEBUG][XORG] (II) NVIDIA(0): Setting mode "NULL"
[ 1845.001159] [DEBUG][XORG] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 1845.001162] [DEBUG][XORG] (==) NVIDIA(0): Backing store enabled
[ 1845.001165] [DEBUG][XORG] (==) NVIDIA(0): Silken mouse disabled
[ 1845.001169] [DEBUG][XORG] (==) NVIDIA(0): DPMS enabled
[ 1845.001173] [WARN][XORG] (WW) NVIDIA(0): Option "NoLogo" is not used
[ 1845.001177] [DEBUG][XORG] (II) Loading sub module "dri2"
[ 1845.001181] [DEBUG][XORG] (II) LoadModule: "dri2"
[ 1845.001185] [DEBUG][XORG] (II) Module "dri2" already built-in
[ 1845.001188] [DEBUG][XORG] (II) NVIDIA(0): [DRI2] Setup complete
[ 1845.001192] [DEBUG][XORG] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[ 1845.001196] [DEBUG][XORG] (II) Initializing extension Generic Event Extension
[ 1845.001200] [DEBUG][XORG] (II) Initializing extension SHAPE
[ 1845.001202] [DEBUG][XORG] (II) Initializing extension MIT-SHM
[ 1845.001206] [DEBUG][XORG] (II) Initializing extension XInputExtension
[ 1845.001210] [DEBUG][XORG] (II) Initializing extension XTEST
[ 1845.001214] [DEBUG][XORG] (II) Initializing extension BIG-REQUESTS
[ 1845.001217] [DEBUG][XORG] (II) Initializing extension SYNC
[ 1845.001222] [DEBUG][XORG] (II) Initializing extension XKEYBOARD
[ 1845.001226] [DEBUG][XORG] (II) Initializing extension XC-MISC
[ 1845.001229] [DEBUG][XORG] (II) Initializing extension SECURITY
[ 1845.001233] [DEBUG][XORG] (II) Initializing extension XFIXES
[ 1845.001237] [DEBUG][XORG] (II) Initializing extension RENDER
[ 1845.001241] [DEBUG][XORG] (II) Initializing extension RANDR
[ 1845.001245] [DEBUG][XORG] (II) Initializing extension COMPOSITE
[ 1845.001248] [DEBUG][XORG] (II) Initializing extension DAMAGE
[ 1845.001251] [DEBUG][XORG] (II) Initializing extension MIT-SCREEN-SAVER
[ 1845.001255] [DEBUG][XORG] (II) Initializing extension DOUBLE-BUFFER
[ 1845.001259] [DEBUG][XORG] (II) Initializing extension RECORD
[ 1845.001263] [DEBUG][XORG] (II) Initializing extension DPMS
[ 1845.001266] [DEBUG][XORG] (II) Initializing extension Present
[ 1845.001270] [DEBUG][XORG] (II) Initializing extension DRI3
[ 1845.001274] [DEBUG][XORG] (II) Initializing extension X-Resource
[ 1845.001278] [DEBUG][XORG] (II) Initializing extension XVideo
[ 1845.001282] [DEBUG][XORG] (II) Initializing extension XVideo-MotionCompensation
[ 1845.001285] [DEBUG][XORG] (II) Initializing extension XFree86-VidModeExtension
[ 1845.001289] [DEBUG][XORG] (II) Initializing extension XFree86-DGA
[ 1845.001293] [DEBUG][XORG] (II) Initializing extension XFree86-DRI
[ 1845.001297] [DEBUG][XORG] (II) Initializing extension DRI2
[ 1845.001300] [DEBUG][XORG] (II) Initializing extension GLX
[ 1845.001306] [DEBUG][XORG] (II) Initializing extension GLX
[ 1845.001309] [DEBUG][XORG] (II) Indirect GLX disabled.
[ 1845.001313] [DEBUG][XORG] (II) Initializing extension NV-GLX
[ 1845.001316] [DEBUG][XORG] (II) Initializing extension NV-CONTROL
[ 1845.001320] [DEBUG][XORG] (II) LoadModule: "mouse"
[ 1845.001323] [WARN][XORG] (WW) Warning, couldn't open module mouse
[ 1845.001327] [DEBUG][XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 1845.001330] [DEBUG][XORG] (EE) No input driver matching `mouse'
[ 1845.001334] [DEBUG][XORG] (II) Falling back to input driver `libinput'
[ 1845.001337] [DEBUG][XORG] (II) LoadModule: "libinput"
[ 1845.001340] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 1845.001343] [DEBUG][XORG] (II) Module libinput: vendor="X.Org Foundation"
[ 1845.001347] [DEBUG][XORG] 	compiled for 1.20.0, module version = 0.28.0
[ 1845.001351] [DEBUG][XORG] 	Module class: X.Org XInput Driver
[ 1845.001356] [DEBUG][XORG] 	ABI class: X.Org XInput driver, version 24.1
[ 1845.001362] [DEBUG][XORG] (II) Using input driver 'libinput' for '<default pointer>'
[ 1845.001365] [DEBUG][XORG] (**) Option "CorePointer" "on"
[ 1845.001369] [DEBUG][XORG] (**) <default pointer>: always reports core events
[ 1845.001375] [ERROR][XORG] (EE) PreInit returned 2 for "<default pointer>"
[ 1845.001378] [DEBUG][XORG] (II) UnloadModule: "libinput"
[ 1845.001382] [DEBUG][XORG] (II) LoadModule: "kbd"
[ 1845.001386] [DEBUG][XORG] (WW) Warning, couldn't open module kbd
[ 1845.001389] [DEBUG][XORG] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 1845.001394] [DEBUG][XORG] (EE) No input driver matching `kbd'
[ 1845.001398] [DEBUG][XORG] (II) Falling back to input driver `libinput'
[ 1845.001402] [DEBUG][XORG] (II) Using input driver 'libinput' for '<default keyboard>'
[ 1845.001406] [DEBUG][XORG] (**) Option "CoreKeyboard" "on"
[ 1845.001409] [DEBUG][XORG] (**) <default keyboard>: always reports core events
[ 1845.001413] [ERROR][XORG] (EE) PreInit returned 2 for "<default keyboard>"
[ 1845.001416] [DEBUG][XORG] (II) UnloadModule: "libinput"
[ 1845.001421] [DEBUG][XORG] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 1845.001424] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001428] [DEBUG][XORG] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
[ 1845.001432] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001435] [DEBUG][XORG] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[ 1845.001440] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001443] [DEBUG][XORG] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 1845.001448] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001450] [DEBUG][XORG] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 1845.001454] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001458] [DEBUG][XORG] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 1845.001461] [DEBUG][XORG] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1845.001466] [DEBUG][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 1845.001471] [DEBUG][XORG] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event5)
[ 1845.001473] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001476] [DEBUG][XORG] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event10)
[ 1845.001480] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001484] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH Dock Mic (/dev/input/event11)
[ 1845.001488] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001492] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event12)
[ 1845.001497] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001500] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH Dock Headphone (/dev/input/event13)
[ 1845.001504] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001508] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event14)
[ 1845.001512] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001516] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
[ 1845.001520] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001524] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event16)
[ 1845.001528] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001532] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event17)
[ 1845.001536] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001539] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event18)
[ 1845.001544] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001548] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event19)
[ 1845.001552] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001556] [DEBUG][XORG] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[ 1845.001559] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001563] [DEBUG][XORG] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event8)
[ 1845.001567] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001571] [DEBUG][XORG] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[ 1845.001575] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001580] [DEBUG][XORG] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event9)
[ 1845.001583] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001588] [DEBUG][XORG] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[ 1845.001592] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001595] [DEBUG][XORG] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event4)
[ 1845.001599] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 1845.001633] [INFO]X successfully started in 1 seconds
[ 1851.484123] [DEBUG]Socket closed.
[ 1851.484141] [INFO]Stopping X server
[ 1851.510727] [DEBUG]Process with PID 3505 returned code 0
[ 1851.511363] [INFO]Unloading UVM/DRM/MODESET driver
[ 1851.511473] [DEBUG]Process modprobe started, PID 3526.
modprobe: FATAL: Module nvidia is in use.
[ 1851.532008] [DEBUG]Process with PID 3526 returned code 1
[ 1854.549673] [ERROR]Unloading nvidia driver timed out.
[ 1854.549741] [DEBUG]Drivers are still loaded, unable to disable card
[ 1854.549778] [DEBUG][XORG] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 1854.549795] [DEBUG][XORG] (II) Server terminated successfully (0). Closing log file.
[Oct 4 13:36] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  396.54  Tue Aug 14 23:08:44 PDT 2018
[  +6.702056] nvidia-modeset: Unloading

Пытаемся послать OFF sudo tee /proc/acpi/bbswitch <<<OFF && cat /proc/acpi/bbswitch

OFF
0000:02:00.0 ON

[Oct 4 13:39] bbswitch: device 0000:02:00.0 is in use by driver 'nvidia', refusing OFF

девайсы

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)

nvidia 396.54-6
nvidia-settings 396.51-1
nvidia-utils 396.54-1
nvidia-xrun-git 0.3.33.g8eb0d48-1
xf86-video-intel 1:2.99.917+847+g25c9a2fc-1

Это ноут Thinkpad T460.

пока подтягиваются специалисты, к слову сказать: пишу с T440p у которого через раз отваливается дискретная nvidia, винда время от времени ее видит (даже можно драйвера поставить), но использовать на онтопике и офтопике — нельзя, карточка призрак.

Bruce_Lee ★★ ()

Хорошо оформлено)

А если сделать так:

modprobe -r nvidia_uvm
modprobe -r nvidia_drm
modprobe -r nvidia
tee /proc/acpi/bbswitch <<<OFF && cat /proc/acpi/bbswitch 
systemctl restar bumblebeed

А Вы добавили nouveau в блеклист? В арче (ВРОДЕ) по дефолту кидает в blacklist, следует перепроверить.

И я так понимаю, что юзер добавлен в группу bumblebee(?)

Deleted ()
Ответ на: комментарий от Deleted

Привет.

Все тоже самое что и в 1 пункте:

Если bumblebeed в автозагрузке

Oct 05 19:19:35 localhost systemd[1]: Started Bumblebee C Daemon.
Oct 05 19:19:35 localhost bumblebeed[440]: [   18.035374] [INFO]/usr/bin/bumblebeed 3.2.1 started

sudo modprobe -r все отрабатывают коректно.

sudo tee /proc/acpi/bbswitch <<<OFF && cat /proc/acpi/bbswitch

OFF
0000:02:00.0 OFF

dmesg

[Oct 5 19:21] bbswitch: disabling discrete graphics
[  +0.000294] ------------[ cut here ]------------
[  +0.000005] pci 0000:02:00.0: disabling already-disabled device
[  +0.000015] WARNING: CPU: 2 PID: 2987 at drivers/pci/pci.c:1686 pci_disable_device+0x8a/0xa0
[  +0.000001] Modules linked in: fuse ipmi_devintf ipmi_msghandler ccm snd_hda_codec_hdmi msr bbswitch(OE) snd_hda_codec_realtek snd_hda_codec_generic joydev mousedev arc4 iwlmvm i915 mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_intel kvm_intel snd_hda_codec i2c_algo_bit iTCO_wdt uvcvideo iwlwifi snd_hda_core mei_wdt iTCO_vendor_support kvm videobuf2_vmalloc drm_kms_helper snd_hwdep btusb btrtl videobuf2_memops wmi_bmof btbcm btintel videobuf2_v4l2 snd_pcm drm bluetooth thinkpad_acpi snd_timer videobuf2_common irqbypass cfg80211 nvram tpm_crb intel_cstate videodev tpm_tis intel_uncore tpm_tis_core intel_gtt rtsx_pci_ms intel_rapl_perf snd agpgart ecdh_generic syscopyarea psmouse media input_leds memstick i2c_i801 sysfillrect tpm mei_me soundcore rfkill wmi led_class ac
[  +0.000059]  sysimgblt battery evdev mei fb_sys_fops rng_core intel_pch_thermal mac_hid pcc_cpufreq crypto_user vfs_monitor(OE) acpi_call(OE) ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto algif_skcipher af_alg dm_crypt dm_mod sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel rtsx_pci_sdmmc ghash_clmulni_intel pcbc serio_raw mmc_core ahci atkbd libps2 libahci aesni_intel libata aes_x86_64 crypto_simd cryptd glue_helper scsi_mod rtsx_pci i8042 serio
[  +0.000040] CPU: 2 PID: 2987 Comm: tee Tainted: P           OE     4.18.11-arch1-1-ARCH #1
[  +0.000001] Hardware name: LENOVO 20FWCTO1WW/20FWCTO1WW, BIOS R07ET84W (2.24 ) 06/05/2018
[  +0.000003] RIP: 0010:pci_disable_device+0x8a/0xa0
[  +0.000001] Code: 48 85 ed 75 07 48 8b ab b0 00 00 00 48 8d bb a0 00 00 00 e8 28 b8 13 00 48 89 ea 48 c7 c7 80 b9 6d 87 48 89 c6 e8 a0 e3 c5 ff <0f> 0b eb 8f 48 89 df e8 ea fe ff ff 80 a3 c1 07 00 00 fb 5b 5d c3 
[  +0.000043] RSP: 0018:ffffba75c342fdd8 EFLAGS: 00010286
[  +0.000002] RAX: 0000000000000000 RBX: ffffa38c8e14b000 RCX: 0000000000000001
[  +0.000002] RDX: 0000000080000001 RSI: ffffffff876a911e RDI: 00000000ffffffff
[  +0.000001] RBP: ffffa38c8e1209f0 R08: 000000570276cee8 R09: 00000000000003a9
[  +0.000001] R10: ffffffff87e69700 R11: 0000000000000000 R12: 00007ffc027679f0
[  +0.000002] R13: ffffba75c342ff08 R14: 00007ffc027679f0 R15: 0000000000000000
[  +0.000002] FS:  00007f5425f2e540(0000) GS:ffffa38ca1480000(0000) knlGS:0000000000000000
[  +0.000001] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0.000002] CR2: 00007ffc02766ff8 CR3: 000000043cb34003 CR4: 00000000003606e0
[  +0.000001] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  +0.000002] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  +0.000001] Call Trace:
[  +0.000008]  bbswitch_off.cold.4+0xc1/0x1d1 [bbswitch]
[  +0.000004]  bbswitch_proc_write+0xaf/0xd0 [bbswitch]
[  +0.000005]  proc_reg_write+0x3c/0x60
[  +0.000004]  __vfs_write+0x36/0x190
[  +0.000005]  ? __audit_syscall_entry+0xd7/0x160
[  +0.000004]  ? syscall_slow_exit_work+0x19b/0x1b0
[  +0.000004]  vfs_write+0xa9/0x190
[  +0.000003]  ksys_write+0x4f/0xb0
[  +0.000004]  do_syscall_64+0x5b/0x170
[  +0.000003]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  +0.000018] RIP: 0033:0x7f5425e557a8
[  +0.000000] Code: 89 02 48 c7 c0 ff ff ff ff eb b3 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 8d 05 95 6d 0d 00 8b 00 85 c0 75 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 41 54 49 89 d4 55 
[  +0.000044] RSP: 002b:00007ffc027678c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[  +0.000002] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f5425e557a8
[  +0.000001] RDX: 0000000000000004 RSI: 00007ffc027679f0 RDI: 0000000000000003
[  +0.000002] RBP: 00007ffc027679f0 R08: 0000555ccce4e540 R09: 00007f5425f2e540
[  +0.000001] R10: 00000000000001b6 R11: 0000000000000246 R12: 0000555ccce4e460
[  +0.000001] R13: 0000000000000004 R14: 00007f5425f235c0 R15: 0000000000000004
[  +0.000003] ---[ end trace 44bca9fba829dbf1 ]---
[  +0.192593] pci 0000:02:00.0: Refused to change power state, currently in D0
[ +11.325349] audit: type=1131 audit(1538731295.277:41): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bumblebeed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  +0.048127] audit: type=1130 audit(1538731295.280:42): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bumblebeed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  +0.332162] bbswitch: disabling discrete graphics
[  +0.096536] pci 0000:02:00.0: Refused to change power state, currently in D0

sudo systemctl restart bumblebeed

Oct 05 19:21:35 localhost systemd[1]: Started Bumblebee C Daemon.
Oct 05 19:21:35 localhost bumblebeed[2992]: [  138.026438] [INFO]/usr/bin/bumblebeed 3.2.1 started

optirun glxspheres64

[  153.760211] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[  153.760250] [ERROR]Aborting because fallback start is disabled.

dmesg

 +14.726407] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[  +0.394099] nvidia 0000:02:00.0: enabling device (0000 -> 0003)
[  +0.144591] NVRM: The NVIDIA GPU 0000:02:00.0
              NVRM: (PCI ID: 10de:134d) installed in this system has
              NVRM: fallen off the bus and is not responding to commands.
[  +0.048229] nvidia: probe of 0000:02:00.0 failed with error -1
[  +0.000042] NVRM: The NVIDIA probe routine failed for 1 device(s).
[  +0.000000] NVRM: None of the NVIDIA graphics adapters were initialized!
[  +0.000169] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237

Linuxman ()
Последнее исправление: Linuxman (всего исправлений: 1)
Ответ на: комментарий от Linuxman

У Вас что-то с bbswitch'ом

[  +0.000005] pci 0000:02:00.0: disabling already-disabled device

Пытается отрубить то, что уже отключено(как я понимаю)

Или железо отдает не правильно статус себя, выше человек говорил о возможной проблеме.

Как костыль, или временное решение сойдет nvidia-xrun

Deleted ()
Последнее исправление: Deleted (всего исправлений: 1)
Ответ на: комментарий от Deleted

Плохой костыль, он же оставляет дискретку включеной) А такое у меня уже есть))

Нагуглил первой строкой

pcie_port_pm=off

проверю.

Linuxman ()
Ответ на: комментарий от Linuxman

Плохой костыль, он же оставляет дискретку включеной) А такое у меня уже есть))

Этот костыль позволяет юзать видяху, а после того как поюзали он автоматом выгрузит модули и грохнет питание на ней

Deleted ()
Ответ на: комментарий от Deleted

Проверю, но подозреваю что питание он вырубить не сможет все же.

Отпишусь.

Спасибо)

PS: еще советуют acpi_osi="!Windows 2013", проверю.

Linuxman ()
Ответ на: комментарий от Linuxman

Проверю, но подозреваю что питание он вырубить не сможет все же.

У меня на Lenovo G580 + НЕvidia 710M + 4000 HD работало хорошо

Но пересел на Radeon'ы и живу полноценной жизнью))

PS: еще советуют acpi_osi="!Windows 2013", проверю.

По поводу аргументов не подскажу, только по bumblebee отозвался, в тэгах стоит

Deleted ()
Ответ на: комментарий от Deleted

Я тут подумал, это же логично.

bumblebeed хоть и загружется, но в

dmesg

[   43.200707] nvidia: module license 'NVIDIA' taints kernel.
[   43.200709] Disabling lock debugging due to kernel taint
[   43.217224] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[   43.611390] nvidia 0000:02:00.0: enabling device (0000 -> 0003)
[   43.756002] NVRM: The NVIDIA GPU 0000:02:00.0
               NVRM: (PCI ID: 10de:134d) installed in this system has
               NVRM: fallen off the bus and is not responding to commands.
[   43.804253] nvidia: probe of 0000:02:00.0 failed with error -1
[   43.804302] NVRM: The NVIDIA probe routine failed for 1 device(s).
[   43.804303] NVRM: None of the NVIDIA graphics adapters were initialized!
[   43.804467] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237

Поэтому и bbswitch мудрит.

Если смотреть второй пункт из стратового поста, то там именно такой проблемы нет - потому что карта инициализируется.

Linuxman ()
Ответ на: комментарий от Linuxman

что работает только кнопка выключения)

На будущее, CTRL+ALT+F1-9 для того чтобы в ядерную консолечку а там killall Xorg

Либо гуглим SYSRQ, и дискам больно не будет)

Deleted ()
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x27
Context is Direct
...
4032.709154 frames/sec - 4500.503416 Mpixels/sec
4032.387517 frames/sec - 4500.144469 Mpixels/sec
4032.172662 frames/sec - 4499.904691 Mpixels/sec

Чисто в процессор упирается. У кого больше, сосоны?

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.