Kubuntu 15.10を新規インストールし、optimusを搭載したmsiGT70ラップトップを使用しています。
bumblebee bumblebee-nvidia
をインストールしました 、nouveauはログイン時にクラッシュし続けるため、絶対に必要です。
そこで、 /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のログイン画面を取得するにはそれを修正するためのアイデアはありますか?
関連:私のディスクにはすでに4つのプライマリパーティションがありますが、Ubuntuをインストールするにはどうすればよいですか?また、 nvidia-304を交換した場合 nvidia-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
- nvidia-355とnvidia-primeをインストールします
- nvidiaパネルでIntelドライバーを選択してログアウトします
- bumblebeeのみをインストールします(bumblebee-nvidiaはインストールしません)
- 必要に応じて編集/etc/bumblebee/bumblebee.conf
line22 KernelDriver =nvidia
nvidia-currentをnvidia-355に置き換えます - /etc/bumblebee/xorg.conf.nvidia
ここで説明されているようにBusID「PCI:01:00:0」
のコメントを解除しますhttps://askubuntu.com/questions/29044…vices-detected 、 - これで、Intelカードで起動し、optirunとprimusrunを使用できます。これまでのところ機能しています。primusrunglxinfoでテストしてください
編集3: (maj2015年3月12日 )
ppa:graphics-drivers / ppaの使用 およびppa:xorg-edgers / ppa 、更新して再起動した後、 358.16-0ubuntu0〜gpu15.10.2を使用してブラックスクリーンが表示されました 。
そこで、すべてをパージしてから、 bumblee-nvidia nvidia-358をインストールしました。 、編集済み /etc/bumblebee/bumblebee.conf sudo servicebumblebeedrestartを実行しました 。
再起動後に再び機能しました。
ベストアンサー
まったく新しいGPUハードウェアを使用しているため、新しいNVIDIAドライバーとソフトウェアも使用する必要があります。
マルハナバチをnvidia-prime
に置き換えます 統合を切り替える および専用グラフィック 。
NVIDIAドライバーを再インストールしますが、最初にすべてのNVIDIAソフトウェアをアンインストールし、マルハナバチを削除します。
ターミナルを開いて実行します:
sudo apt-get purge nvidia* '^bumblebee.*'
sudo reboot
GRUBブートメニューの場合 表示される:Ubuntuメニューエントリを強調表示します Eを押します キー。nouveau.modeset=0
を追加します Linux行の終わりにパラメータを…次に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