태그 보관물: bumblebee

bumblebee

15.10 블랙 스크린 문제의 Bumblebee Intel + Nvidia Values should **not**

Kubuntu 15.10을 새로 설치했으며 옵티머스가있는 msi GT70 노트북이 있습니다.

bumblebee bumblebee-nvidianouveau가 로그인시 계속 충돌하기 때문에을 (를) 설치 했습니다.

그래서 /etc/bumblebee/bumblebee.conf를 편집 했습니다.

# Configuration file for Bumblebee. Values should **not** be put between quotes

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

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


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

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-304
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-304:/usr/lib32/nvidia-304
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-304/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

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

나는 가지고있다

$ cat /proc/acpi/bbswitch
0000:01:00.0 ON

/etc/modules-load.d/modules.conf넣었습니다.

i915
bbswitch

그래서 나는 할 수있다 :

$ primusrun glxinfo | grep "OpenGL version"
OpenGL version string: 4.2.0 NVIDIA 304.128

그러나 내가 재부팅 한 모든 것이 검은 색 화면 인 경우 시스템을 시작하려면 tty1에 로그인하고 수행해야합니다.

sudo modprobe nvidia_304
sudo service sddm restart

kubuntu 로그인 화면 에 문제를 해결하기위한 아이디어가 있습니까?

또한 nvidia-304nvidia-355로 교체하면 전혀 부팅 할 수 없습니다 : modprobe 팁이 작동하지 않습니다.

lspci를 사용한 구성은 다음과 같습니다 .

$ lspci|grep -i vga
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK104M [GeForce GTX 870M] (rev ff)

편집하다:

관련 정보 및 잠재적 수정 사항 http://forum.ubuntu-it.org/viewtopic.php?p=4760241 (이탈리아어)
https://www.kubuntuforums.net/showthread.php?69190-Bumblebee-Nvidia355&p=381043

또한 실제로 커널 4.2의 i915 모듈에 버그가 있습니다. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1494903

EDIT2 (작업 꿀벌 솔루션) :

나는이 일을 https://www.kubuntuforums.net/showthread.php?69190-Bumblebee-Nvidia355&p=381043

  1. nvidia-355 및 nvidia-prime 설치
  2. NVIDIA 패널에서 인텔 드라이버 선택 및 로그 아웃
  3. 땅벌 만 설치 (bumblebee-nvidia 아님)
  4. 필요에 따라 편집 /etc/bumblebee/bumblebee.conf line22 KernelDriver = nvidia nvidia-current를 nvidia-355로 교체
  5. /etc/bumblebee/xorg.conf.nvidia의 주석 BusID “PCI : 01 : 00 : 0″을 여기에 기술 된 바와 같이 /ubuntu/29044…vices-detected ,
  6. 이제 인텔 카드로 부팅하고 optirun 및 primusrun을 사용할 수 있습니다. 그것은 지금까지 나를 위해 노력하고 있습니다 .priusrun glxinfo로 테스트하십시오.

EDIT3 : (주요 03/12/2015 )

사용 PPA를 : 그래픽 드라이버 / PPAPPA :이 xorg-깎기 / PPA , 갱신 및 재부팅 후, 내가 사용 blackscreen했다 358.16-0ubuntu0 ~ gpu15.10.2을 .

나는 모든 것을 제거하고 방금 설치 그래서 bumblee – 엔비디아 엔비디아-358 , 편집 /etc/bumblebee/bumblebee.conf 및했다 sudo는 서비스를 bumblebeed 다시 시작 .

재부팅 후 다시 작동했습니다.



답변

아주 새로운 GPU 하드웨어가 있으므로 새로운 NVIDIA 드라이버 및 소프트웨어도 사용해야합니다.

통합 그래픽전용 그래픽nvidia-prime 간을 전환하려면 범블비를 교체하십시오 .

NVIDIA 드라이버를 다시 설치하되 먼저 모든 NVIDIA 소프트웨어를 제거하고 범블비를 제거하십시오.

터미널을 열고 다음을 실행하십시오.

sudo apt-get purge nvidia* '^bumblebee.*'
sudo reboot

GRUB 부팅 메뉴 가 나타날 때 : Ubuntu 메뉴 항목을 선택 하고 E키를 누르십시오 . 리눅스 라인의 끝에 매개 변수를
추가하고 nouveau.modeset=0…를 눌러 F10부팅하십시오.

Ubuntu 리포지토리에서 안정적인 NVIDIA 독점 드라이버를 설치하십시오 (ubuntu 12.04에는 적용되지 않음).

sudo apt-get update
sudo apt-get install nvidia-352 nvidia-prime
sudo reboot

최신 드라이버를 사용하려면 독점 GPU 드라이버 PPA에서 설치하십시오.

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-355 nvidia-prime
sudo reboot


답변

엔비디아 프라임 끔찍함없이 불필요한 두통을 너무 많이 겪은 후 Wily에서 범블비를 얻었습니다.

다른 사람들이 의심 한 것처럼 gpu-manager 때문입니다. 그것이 무엇이든간에, 그것은 대체 업데이트 구성 전체에 바프입니다. 해당 서비스를 마스킹하고 bumblebee [-nvidia]를 다시 설치하면 모든 문제가 해결됩니다. 이제 카드가 예상대로 optirun을 통해 켜지고 꺼지며 부팅시 더 이상 검은 색 화면이 나타나지 않습니다.

sudo systemctl mask gpu-manager.service
sudo apt-get install --reinstall bumblebee bumblebee-nvidia

또한 깨진 /etc/X11/xorg.conf가 남아 있지 않은지 확인하십시오.


답변

모든 것이 작동하는 것처럼 보이지만 다음을 시도하면 bbswitch가 nvidia 카드를 올바르게 끌 수 없습니다.

cat /proc/acpi/bbswitch
primusrun glxinfo|grep OpenGL
sleep 1
cat /proc/acpi/bbswitch

그런 다음 bumblebee-nvidia를 다시 설치했는데 시스템을 다시 시작할 때까지 작동했습니다. 문제에 대해 좀 더 파고 들자 시스템을 다시 시작한 후 업데이트 대안이 업데이트되는 것을 발견했으며 gpu-manager가 문제를 일으키는 것으로 나타났습니다. ( “sudo gpu-manager”를 실행하면 업데이트 된 것을 볼 수 있습니다)

lightdm을 시작한 후 gpu-manager가 실행됩니다. 따라서 빠른 해결 방법으로 사용하지 않도록 설정했습니다.

이제 모든 것이 예상대로 작동합니다. optirun 또는 primusrun으로 무언가를 실행 한 후 bbswitch는 프로세스가 종료 될 때 nvidia를 올바르게 끕니다.

요약하면, 처음부터 모든 것을 설치하는 요약이 있습니다 (주석을 읽고 수동으로 실행하십시오).

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update

sudo apt-get purge -y nvidia* bumblebee bumblebee-nvidia bbswitch-dkms primus
sudo apt-get install nvidia-355

#switch to intel
sudo tee /etc/prime-discrete <<< off

#reboot is recommended at this point

sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee primus

#sudo gedit /etc/modules
#  add the line "bbswitch load_state=0"

#sudo gedit /etc/modprobe.d/bumblebee.conf
#and make sure the following line exists
#  blacklist nvidia-355

#sudo gedit /etc/bumblebee/bumblebee.conf
#  change line 22 "Driver=" to "Driver=nvidia"
#  change all nvidia-current to nvidia-355

#sudo gedit /etc/bumblebee/xorg.conf.nvidia
#  uncomment BusID line if it is commented and make sure it corresponds to the correct BusID

#disable gpu-manager as it changes i386-linux-gnu_gl_conf and x86_64-linux-gnu_gl_conf
sudo systemctl mask gpu-manager.service

편집 : gpu-manager가 런타임뿐만 아니라 시스템을 사용하는 동안 실행되어 rc.local 수정을 제거했습니다. 따라서 완전히 비활성화했습니다.


답변