更新15.6后optirun报错
Tofloor
poster avatar
linusboyle
deepin
2018-07-01 06:47
Author
本帖最后由 linusboyle 于 2018-6-30 22:50 编辑

optimus的笔记本,lspci输出:
  1. 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
  2. 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
  3. 00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
  4. 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
  5. 00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
  6. 00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
  7. 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
  8. 00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
  9. 00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
  10. 00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)
  11. 00:1d.3 PCI bridge: Intel Corporation Device 9d1b (rev f1)
  12. 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
  13. 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
  14. 00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
  15. 00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
  16. 01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)
  17. 02:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
  18. 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
  19. 05:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
Copy the Code

报错信息:
  1. [318804.658572] [INFO]Configured driver: nvidia
  2. [318804.658775] [INFO]Response: No - error: Could not enable discrete graphics card

  3. [318804.658785] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card

  4. [318804.658795] [ERROR]Aborting because fallback start is disabled.
Copy the Code
bumblebee配置文件:(默认)
  1. # Configuration file for Bumblebee. Values should **not** be put between quotes

  2. ## Server options. Any change made in this section will need a server restart
  3. # to take effect.
  4. [bumblebeed]
  5. # The secondary Xorg server DISPLAY number
  6. VirtualDisplay=:8
  7. # Should the unused Xorg server be kept running? Set this to true if waiting
  8. # for X to be ready is too long and don't need power management at all.
  9. KeepUnusedXServer=false
  10. # The name of the Bumbleblee server group name (GID name)
  11. ServerGroup=bumblebee
  12. # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
  13. # server exits.
  14. TurnCardOffAtExit=false
  15. # The default behavior of '-f' option on optirun. If set to "true", '-f' will
  16. # be ignored.
  17. NoEcoModeOverride=false
  18. # The Driver used by Bumblebee server. If this value is not set (or empty),
  19. # auto-detection is performed. The available drivers are nvidia and nouveau
  20. # (See also the driver-specific sections below)
  21. Driver=nvidia
  22. # Directory with a dummy config file to pass as a -configdir to secondary X
  23. XorgConfDir=/etc/bumblebee/xorg.conf.d
  24. # Xorg binary to run
  25. XorgBinary=/usr/lib/xorg/Xorg

  26. ## Client options. Will take effect on the next optirun executed.
  27. [optirun]
  28. # Acceleration/ rendering bridge, possible values are auto, virtualgl and
  29. # primus.
  30. Bridge=auto
  31. # The method used for VirtualGL to transport frames between X servers.
  32. # Possible values are proxy, jpeg, rgb, xv and yuv.
  33. VGLTransport=proxy
  34. # List of paths which are searched for the primus libGL.so.1 when using
  35. # the primus bridge
  36. PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
  37. # Should the program run under optirun even if Bumblebee server or nvidia card
  38. # is not available?
  39. AllowFallbackToIGC=false


  40. # Driver-specific settings are grouped under [driver-NAME]. The sections are
  41. # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
  42. # detection resolves to NAME).
  43. # PMMethod: method to use for saving power by disabling the nvidia card, valid
  44. # values are: auto - automatically detect which PM method to use
  45. #         bbswitch - new in BB 3, recommended if available
  46. #       switcheroo - vga_switcheroo method, use at your own risk
  47. #             none - disable PM completely
  48. # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

  49. ## Section with nvidia driver specific options, only parsed if Driver=nvidia
  50. [driver-nvidia]
  51. # Module name to load, defaults to Driver if empty or unset
  52. KernelDriver=nvidia
  53. PMMethod=auto
  54. # colon-separated path to the nvidia libraries
  55. LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
  56. # comma-separated path of the directory containing nvidia_drv.so and the
  57. # default Xorg modules path
  58. XorgModulePath=/usr/lib/nvidia/nvidia,/usr/lib/xorg/modules
  59. XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

  60. ## Section with nouveau driver specific options, only parsed if Driver=nouveau
  61. [driver-nouveau]
  62. KernelDriver=nouveau
  63. PMMethod=auto
  64. XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

Copy the Code
反馈日志:
deepin-feedback-cli-Deepin-15.6-all-20180630-224713.tar.gz


Reply Favorite View the author
All Replies
avatar
linusboyle
deepin
2018-07-01 06:49
#1
本帖最后由 linusboyle 于 2018-7-9 18:05 编辑

装了laptop-mode,插电情况下不知道有没有影响。
网上说的tlp应该没装
Reply View the author
avatar
linusboyle
deepin
2018-07-05 00:51
#2
挖坟,希望nvidia-prime能早点做好。大黄蜂已经停止维护了,最新的linux内核支持非常差,我估计是4.15的电源管理机制的问题。dmesg里一堆pci报错
Reply View the author