XXXXXXXXX<===Ubuntu 14.04.4 use GTX 960M===>XXXXXXXXX
sudo find . -print | grep -i 'fancon*'
https://wiki.archlinux.org/index.php/Fan_speed_control
出現黑屏狀況
https://vxlabs.com/2015/02/05/solving-the-ubuntu-14-04-nvidia-346-nvidia-prime-black-screen-issue/
https://devtalk.nvidia.com/default/topic/810964/linux/black-screen-after-prime-select-nvidia-and-log-out-using-v346-35-drivers/2
----------------------------------
Ubuntu登入後螢幕變黑!!
https://devtalk.nvidia.com/default/topic/906309/linux/the-system-crash-when-switch-from-nvidia-graphic-geforce-gtx-960m-to-intel-graphics-in-prime-appli/
Exact same issue for me. My specs are below. Happy to run additional diagnostics.
Asus GL552VW-DH71 laptop
Nvidia GeForce GTX 960M (4gb)
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Linux kernel 3.19.0-32-generic
Linux Mint 17.3 KDE x86_64
xorg-server 2:1.17.1-0ubuntu3.1~trusty1
Installed nvidia-352 and cuda
- nvidia-settings --version
- nvidia-settings: version 361.18 (buildd@lgw01-53) Thu Jan 14 12:05:30 UTC 2016
- cat /etc/X11/xorg.conf
- Section "ServerLayout"
- Identifier "layout"
- Screen 0 "nvidia"
- Inactive "intel"
- EndSection
-
- Section "Device"
- Identifier "intel"
- Driver "intel"
- BusID "PCI:0@0:2:0"
- Option "AccelMethod" "SNA"
- EndSection
-
- Section "Screen"
- Identifier "intel"
- Device "intel"
- EndSection
-
- Section "Device"
- Identifier "nvidia"
- Driver "nvidia"
- BusID "PCI:1@0:0:0"
- Option "ConstrainCursor" "off"
- EndSection
-
- Section "Screen"
- Identifier "nvidia"
- Device "nvidia"
- Option "AllowEmptyInitialConfiguration" "on"
- Option "IgnoreDisplayDevices" "CRT"
- EndSection
- cat nvidia-application-profile-globals-rc
- {
- "enabled": false
- }
- cat nvidia-application-profiles-rc
(nothing)
- lsmod | grep nv
- nvidia 8540160 33
- drm 344064 8 udl,i915_bpo,drm_kms_helper,nvidia
- lsmod | grep intel
- snd_hda_intel 36864 4 snd_hda_codec_hdmi
- snd_hda_controller 32768 1 snd_hda_intel
- snd_hda_codec 143360 5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
- snd_pcm 106496 5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
- kvm_intel 151552 0
- kvm 479232 1 kvm_intel
- snd 86016 21 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
- intel_ips 20480 1 i915_bpo
- ghash_clmulni_intel 16384 0
- aesni_intel 172032 1938
- aes_x86_64 20480 1 aesni_intel
- lrw 16384 1 aesni_intel
- glue_helper 16384 1 aesni_intel
- ablk_helper 16384 1 aesni_intel
- cryptd 20480 968 ghash_clmulni_intel,aesni_intel,ablk_helper
Exact same issue for me. My specs are below. Happy to run additional diagnostics.
Asus GL552VW-DH71 laptop
Nvidia GeForce GTX 960M (4gb)
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Linux kernel 3.19.0-32-generic
Linux Mint 17.3 KDE x86_64
xorg-server 2:1.17.1-0ubuntu3.1~trusty1
Installed nvidia-352 and cuda
(nothing)
- nvidia-settings --version
- nvidia-settings: version 361.18 (buildd@lgw01-53) Thu Jan 14 12:05:30 UTC 2016
- cat /etc/X11/xorg.conf
- Section "ServerLayout"
- Identifier "layout"
- Screen 0 "nvidia"
- Inactive "intel"
- EndSection
- Section "Device"
- Identifier "intel"
- Driver "intel"
- BusID "PCI:0@0:2:0"
- Option "AccelMethod" "SNA"
- EndSection
- Section "Screen"
- Identifier "intel"
- Device "intel"
- EndSection
- Section "Device"
- Identifier "nvidia"
- Driver "nvidia"
- BusID "PCI:1@0:0:0"
- Option "ConstrainCursor" "off"
- EndSection
- Section "Screen"
- Identifier "nvidia"
- Device "nvidia"
- Option "AllowEmptyInitialConfiguration" "on"
- Option "IgnoreDisplayDevices" "CRT"
- EndSection
- cat nvidia-application-profile-globals-rc
- {
- "enabled": false
- }
- cat nvidia-application-profiles-rc
(nothing)
- lsmod | grep nv
- nvidia 8540160 33
- drm 344064 8 udl,i915_bpo,drm_kms_helper,nvidia
- lsmod | grep intel
- snd_hda_intel 36864 4 snd_hda_codec_hdmi
- snd_hda_controller 32768 1 snd_hda_intel
- snd_hda_codec 143360 5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
- snd_pcm 106496 5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
- kvm_intel 151552 0
- kvm 479232 1 kvm_intel
- snd 86016 21 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
- intel_ips 20480 1 i915_bpo
- ghash_clmulni_intel 16384 0
- aesni_intel 172032 1938
- aes_x86_64 20480 1 aesni_intel
- lrw 16384 1 aesni_intel
- glue_helper 16384 1 aesni_intel
- ablk_helper 16384 1 aesni_intel
- cryptd 20480 968 ghash_clmulni_intel,aesni_intel,ablk_helper
---------------------------------------------
ASUS ROG
https://www.google.com.tw/#q=ubuntu+ausu+rog
5.Changing command parameter in GRUB.
When I was installing Ubuntu 14.04.
When you boot from your USB you will get the purple colored GRUB screen.
Click "e" key and replace "quiet splash" to "nomodeset".
This is done only for since there is some graphics issue when booting normally. Apparently G751JT's nvidia 970M has some issues with it. After reading some information about it, I assume, the open source driver for the graphics card does not support the normal way of booting.
Then click the "F10"key.
Wait patiently and texts would be flashing. Even though you might think your laptop froze, there's a high chance that it is still running.
When I was installing Ubuntu 15.04.
Without having to replace "quiet splash" to "nomodeset", normally booting it worked fine for me. If it doesn't work, I guess you could change "quiet splash" to "nomodeset" like how I did on Ubuntu 14.04.
Boot on USB
- In the first line of text displayed, you’ll need to change the modeset affected to your chipset or video card from 1 to 0 (
nvidia.modeset=0
ornouveau.modeset=0
etc.) or just addnomodeset
at the end of the line.
Korora / Fedora 21 & graphic drivers: The Asus Rog G551 comes with the NVidia Optimus technology and you’ll need specific drivers to get the best of it. NVidia Nouveau (NVidia open source drivers) did not work during all my tests, I had to get rid of them. Proceed as follow:
- Once Fedora/Korora is installed, boot your system but don’t log in.
- Go to the CLI by pressing CTRL+ALT+F2 and enter login/password
- Start with updating your system :
sudo yum -y update
- Reboot, re-connect in CLI and remove any kind of
xorg-x11-drv-nvidia*
entry: the technology you will use is incompatible with Nouveau drivers. - Now begin the Bumbledee installation (get the joke ?). Follow carefully the guide: install dependencies then Bumblebee with the NVIDIA proprietary drivers.
- Reboot.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1520519
Laptop Model : ASUS ROG GL552 DH71
First Appearance : Got laptop yesterday. dual booted with ubuntu 14.04. Touchpad never detected.
Manufacturer : ASUS ( as listed under windows 10 )
First Appearance : Got laptop yesterday. dual booted with ubuntu 14.04. Touchpad never detected.
Manufacturer : ASUS ( as listed under windows 10 )
* xinput list *
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Optical Mouse id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Logitech USB Keyboard id=8 [slave keyboard (3)]
↳ Logitech USB Keyboard id=9 [slave keyboard (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Optical Mouse id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Logitech USB Keyboard id=8 [slave keyboard (3)]
↳ Logitech USB Keyboard id=9 [slave keyboard (3)]
* List of devices *
Brent Fallin (brentf777) wrote : | #37 |
I experience this issue as well running Linux Mint 17.3 (based on Ubuntu 14). I updated to the latest BIOS (216) before I ever installed Linux on the machine (as suggested by Christopher) in a newer report of the same bug. It has no effect. The touchpad is not recognized at all. The hardware is just "too new."
sameer (sam-bits) wrote : | #39 |
I have tried with latest kernel ( 4.4 ) and it fails to even boot.
I think you should try with ubuntu 16.04 ( haven't tried myself though ).
I think you should try with ubuntu 16.04 ( haven't tried myself though ).
This is what I have learnt during this period :
Kernels below 4.3
Add these Kernel parameters :
"nouveau.modeset=0 tpm_tis. interrupts= 0 acpi_osi=! acpi_backlight= native i915.preliminar y_hw_support= 1 idle=nomwait"
Kernels below 4.3
Add these Kernel parameters :
"nouveau.modeset=0 tpm_tis.
For kernel 4.4
nouveau.modeset=0 acpi_osi=! acpi_backlight= native idle=nomwait
nouveau.modeset=0 acpi_osi=! acpi_backlight=
Hope it helps.
if it helps, I have also tried "Fedora 23 + dnf update", and the touchpad works perfectly fine with kernel 4.3 along with other things.
For kernel 4.3
Add these Kernel parameters :
"nouveau.modeset=0 tpm_tis. interrupts= 0 acpi_osi=! acpi_backlight= native i915.preliminar y_hw_support= 1 idle=nomwait"
"nouveau.modeset=0 tpm_tis.
For kernel 4.4
nouveau.modeset=0 acpi_osi=! acpi_backlight= native idle=nomwait
nouveau.modeset=0 acpi_osi=! acpi_backlight=
Yes, the new kernel boots fine with the following kernel parameters
"acpi_osi=! idle=nomwait"
"acpi_osi=! idle=nomwait"
you can simple add these to /etc/default/ grub.conf and run "update-grub2"
And yes, the touchpad works great !!
@Michael, if you are looking to install ubuntu
1. install 14.04 version ( wily )
2. download 4.4 kernel from http:// kernel. ubuntu. com/~kernel- ppa/mainline/ v4.4-rc8- wily. Download these 3 files in a separate folder ( say kernel_44 )
linux- headers- 4.4.0-040400rc8 -generic_ 4.4.0-040400rc8 .201601130531_ amd64.deb
linux- headers- 4.4.0-040400rc8 -generic_ 4.4.0-040400rc8 .201601130531_ amd64.deb
linux- image-4. 4.0-040400rc8- generic_ 4.4.0-040400rc8 .201601130531_ amd64.deb
1. install 14.04 version ( wily )
2. download 4.4 kernel from http://
linux-
linux-
linux-
3. run the following command to install the kernel
sudo dpkg -i kernel_44/*.deb
sudo dpkg -i kernel_44/*.deb
4. add "acpi_osi=! idle=nomwait" in the /etc/default/grub in the kernel line.
search for splash keyword in that file , and add this next to it, assuming you would find splash only once in the file.
search for splash keyword in that file , and add this next to it, assuming you would find splash only once in the file.
5. run
update-grub2
update-grub2
6. reboot
thats it ! you would automatically boot into the new kernel, and your touchpad should work fine.
Michael Smith (mtsmith-g) wrote : | #51 |
Got an error on install of the headers file. Traced it to bbswitch-dkms. Uninstalled this package, re-installed the .debs, restarted. System crashes. Restarting again to see if the grub entry changed. Nothing changed in the grub entry. Adding nomodeset, as I remember I needed this when I originally installed. Nomodeset worked, booted into ubuntu. Still getting "System program problem detected" popup. Re-installing nvidia driver. Restarting. Hangs on boot (ubuntu ..... screen) hit escape.
"Skipping profile in /etc.....
Starting AppArmor profiles
Setting up X socket directories...
speech-dispatcher disabled
saned disabled; edit /etc/default/saned
* Restoring resolver state...
"
Starting AppArmor profiles
Setting up X socket directories...
speech-dispatcher disabled
saned disabled; edit /etc/default/saned
* Restoring resolver state...
"
Morning all,
I just want to share my experience.
I had the same issue with touchpad on the laptop. After upgrading the kernel to 4.3.3 or 4.4 touchpad started working but I met the problem with video artifacts.
Here absolutely the same issue described for another laptop with screenshots (sorry for small off-topic).
http:// forums. linuxmint. com/viewtopic. php?f=90& t=213443
http://
The bug appears on open-source and proprietary drivers.
Currently I'm researching the solution how to fix the graphic issue on 4.3 kernel or how to make touchpad working on 3.19.
https://rog.asus.com/forum/showthread.php?81702-Linux-installation-in-ASUS-ROG-GL552VW-DH71/page2
Debian installation
I have a ASUS ROG G552 and I added to following to my grub:
etc/default/grub
GRUB_CMDLINE_ LINUX=" acpi_osi= ! acpi_backlight= native idle=nomwait"
I am running Ubuntu Mate 16.04
Kernel 4.4.0-7-generic
The above command restored my touchpad and detected it with full hw support.
I also have an ASUS ROG GL552 and am using "acpi_osi=Linux acpi_backlight= native idle=nomwait"
I'm running 15.10 and a 4.3.5 kernel.
I'm running 15.10 and a 4.3.5 kernel.
https://www.google.com.tw/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=ubuntu%2014.04%20gl552
https://rog.asus.com/forum/showthread.php?81702-Linux-installation-in-ASUS-ROG-GL552VW-DH71
http://linux.vbird.org/linux_basic/0540kernel.php#config_kernel
https://bugzilla.kernel.org/show_bug.cgi?id=109081
ref:
https://www.google.com.tw/?gws_rd=ssl#tbm=vid&q=ubuntu+14.04+nvidia+960m
●●●●●●●●●●●
systemp76 ppa
https://launchpad.net/~system76-dev/+archive/ubuntu/stable
http://rajat-osgyan.blogspot.tw/2015/05/how-to-install-latest-nvidia-driver-in.html
https://www.youtube.com/watch?v=nMqVFeFk9rI
https://www.youtube.com/watch?v=cVTsemATIyI
pacman
https://wiki.archlinux.org/index.php/Pacman_(%E6%AD%A3%E9%AB%94%E4%B8%AD%E6%96%87)
https://antergos.com/wiki/hardware/graphics/bumblebee-for-nvidia-optimus/
http://askubuntu.com/questions/162639/how-do-i-get-ubuntu-to-recognize-my-nvidia-graphics-card
https://devtalk.nvidia.com/default/topic/771674/linux/ubuntu-freezes-at-login-with-the-gtx860ms-official-drivers-installed-/
具有 Optimus 功能的 NVidia 顯卡 的使用者 終於 可以不必再安裝 Bumblebee 套件了 [論壇 - 自由軟體中文翻譯討論]
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=68574&start=0
●●●●●●●●●●●
https://www.youtube.com/watch?v=ZsQ8WhYmE3M
https://www.youtube.com/watch?v=01aieQOYMRk
http://www.howtogeek.com/242045/how-to-get-the-latest-nvidia-amd-or-intel-graphics-drivers-on-ubuntu/
bumblebee
Bumblebee aims to provide support for NVIDIA Optimus laptops for GNU/Linux distributions. Using Bumblebee, you can use your NVIDIA card for rendering graphics which will be displayed using the Intel card.
●●●●●●●●●●●
https://www.youtube.com/watch?v=nMqVFeFk9rI
●●●●●●●●●●●
ppa
https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
ppa:graphics-drivers/ppa
http://www.cyberciti.biz/faq/linux-tell-which-graphics-vga-card-installed/
-----------------------------------------------------------------------
發佈日期:2014年5月5日
I had everything installed already so the video is gonna be 4 minutes max.You can use any nvidia driver version, just change nvidia-331 to match your driver version e.g. nvidia-334.
- Install the kernel header file.
sudo apt-get install linux-headers-generic
- Install the xorg-edgers ppa for the latest video drivers.
sudo apt-add-repository ppa:xorg-edgers/ppa
sudo apt-get update && sudo apt-get upgrade
- Install bumblebee:
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update && sudo apt-get install bumblebee bumblebee-nvidia primus
- Install nvidia-331 package from the xorg-edgers repository:
sudo apt-get install nvidia-331 nvidia-settings
- Edit the bumblebee.conf:
"sudo vim /etc/bumblebee/bumblebee.conf
In line no 22, set the following:
Driver=nvidia
You will also need to specify which nvidia driver to use in line no 55:
KernelDriver=nvidia-331
Change the following in line no 58:
LibraryPath=/usr/lib/nvidia-331:/usr/lib
And in line no 61 :
XorgModulePath=/usr/lib/nvidia-331/xorg,
- Reinstall bbswitch-dkms:
sudo apt-get install --reinstall bbswitch-dkms
-----------------------------------------------------------------------
Ubuntu 14.04 couldn't detect nvidia graphic card (not even detect the model of card)
http://askubuntu.com/questions/652721/ubuntu-14-04-couldnt-detect-nvidia-graphic-card-not-even-detect-the-model-of-c
How do I get Ubuntu to recognize my nvidia graphics card?
http://askubuntu.com/questions/162639/how-do-i-get-ubuntu-to-recognize-my-nvidia-graphics-card
Nvidia Driver and Heating Problem
http://askubuntu.com/questions/660913/nvidia-driver-and-heating-problem/662662#662662
How to Install the latest Nvidia Driver in Ubuntu 14.04.2/14.10/15/04 via Bumblebee
http://rajat-osgyan.blogspot.tw/2015/05/how-to-install-latest-nvidia-driver-in.html
How does Bumblebee work with Optimus NVIDIA GPU
http://rajat-osgyan.blogspot.tw/2015/03/p-margin-bottom-0.html
非常重要!!!
http://rajat-osgyan.blogspot.tw/2015/05/how-to-install-latest-nvidia-driver-in.html
/etc/modules-load.d | /etc/modprobe.d 介紹
https://lists.archlinux.org/pipermail/arch-general/2012-August/030195.html
https://wiki.archlinux.org/index.php/kernel_modules
As /u/Robsteady said, Ubuntu and derivatives have the best support. Just a tip for ya though, use the BIOS switch to put your laptop in Intel-Only mode, then install Ubuntu/derivative. Next, use the BIOS again to activate the Nvidia card. If you fail to reach desktop, then don't panic, hit ctrl+alt+F1 to access the terminal.
Then type; apt-get install nvidia-current nvidia-prime
Install these packages, then type; sudo reboot
You should get to desktop just fine after rebooting
ubuntu 14.04.4 with kernel 4.2: black screen instead of the login screen after installing nvidia driver
http://askubuntu.com/questions/740059/ubuntu-14-04-4-with-kernel-4-2-black-screen-instead-of-the-login-screen-after-i
To get into system, I have to run
sudo prime-select intel
, then I run the following commands after reboot:
When I run
lspci -knn | grep -EA2 'VGA|3D'
in termal, the information is:
Hello there,
You'll have an easy time on Ubuntu 14.04 LTS with Nvidia Optimus. For starters, you'll need to install the proprietary Nvidia driver. Skip the opensource driver (nouveau).
Follow this giude:
Final result: 1. You'll be able to switch the GPUs manually with the applet indicator in Ubuntu. 2. GPU switching will require you to re-login again (both X and the compositor must be re-initialized). 3. This assumes that all the display outputs are wired to the Intel HD Graphics card (as is often the case with Nvidia Optimus). However, some notable SKUs (Dell Precision workstation notebooks and several nvidia 3D capable notebooks with Optimus) may have some of the monitor outputs wired to the Nvidia GPU. Please confirm if this case applies to you. 4. You can also use the full capabilities of your selected GPUs on switch. For example, if you're on the Intel IGP, video decode and encode will be handled by VAAPI, and so will all OpenGL and OpenCL compute (if you have Intel's Beignet installed). With the Nvidia GPU activated, you'll be able to use it's video decode capabilities (as exposed by VPDAU) , and it's CUDA and OpenCL compute. Library linking is handled automatically on switching, and as such, no manual intervention is needed.
Regards,
Brainiarc7.
Install Prime Indicator in Ubuntu
To add the PPA and install Prime Indicator in Ubuntu, use the commands below:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install prime-indicator
If you don't want to add the PPA, you can manually download the deb from HERE.
https://wiki.archlinux.org/index.php/NVIDIA_Optimus
Nvidia Optimus (Intel + Nvidia) on Linux Mint 17.1 Cinnamon
~ $ firefox In this example, firefox starts running using intel
~ $ optirun firefox Here, firefox runs with nvidia (it won't work on yours since bumblebee is not installed yet).
Please note that it's not common to run firefox using nvidia since a web browser doesn't usually require that GPU power.
First, adding the repository (needed for virtualgl):
~ $ sudo add-apt-repository ppa:bumblebee/stable
Now, installing bumblebee and its components:
~ $ sudo apt-get install --no-install-recommends bumblebee
~ $ sudo apt-get install bumblebee-nvidia
~ $ sudo apt-get install virtualgl
~ $ sudo apt-get install primus
~ $ sudo apt-get install primus-libs-ia32 (It's used to run 32 bit programs, so although you have a 64 bit machine you need to do this to have 32 bit support).
You may reboot your PC.
Solving the Ubuntu 14.04 – NVIDIA 346 – nvidia-prime black screen issue
https://vxlabs.com/2015/02/05/solving-the-ubuntu-14-04-nvidia-346-nvidia-prime-black-screen-issue/Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "UseDisplayDevice" "None"
EndSection
http://askubuntu.com/questions/412452/getting-hybrid-graphics-to-work-nvidia-prime-gt650m
1. Use nvidia driver
2. Remove bumblebee and install prime
Open the shell by pressing ctrl-alt-t.
First let's make sure we have the latest software catalog.
sudo apt-get update
Now remove everything bumblebee related.
sudo apt-get purge bumblebee*
Then install prime.
sudo apt-get install nvidia-prime
Now restart your computer.
How to use prime
After your computer has restarted, open the dash and type "nvidia". Open "Nvidia x-server settings".
Here you can choose between the intel and nvidia graphics driver. Choose the intel one for maximum power saving, choose the nvidia one for maximum performance.
After changing graphics card, you'll have to logout and log back in to apply the changes.
Difference between nvidia-prime and bumblebee
The current version of nvidia-prime uses one graphics card for the complete desktop. You either login with nvidia or intel. With bumblebee, you can start individual programs with a specific graphics card, like it is the case on windows.
Sadly, I can't get bumblebee to work on ubuntu 13.10 or higher...
Turning Off Nvidia Manually
First, let's try to shutdown Nvidia by hand. To be sure that we're facing with the issue described here:
- sudo rmmod nvidia_modeset nvidia
- sudo tee <<<OFF /proc/acpi/bbswitch
The first command forces two modules to be unloaded. The second one switches Nvidia GPU off. Check Nvidia status again:
- optirun --status
- Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
Let's run a bit more complicated test. It will switch Nvidia on and then back off, in one command:
- optirun pwd && sleep 1 && sudo rmmod nvidia_modeset nvidia && sudo tee <<<OFF /proc/acpi/bbswitch
This method may be used to switch Nvidia off by hand.
Fine tuning NVIDIA Optimus settings
It is possible to fine-tune NVIDIA settings, by running the nvidia-settings utility on NVIDIA GPU
- optirun -b none nvidia-settings -c :8
The command is the only correct way to execute nvidia-settings on Optimus computers.
ftp://download.nvidia.com/XFree86/Linux-x86_64/340.32/README/optimus.html
http://www.yourownlinux.com/2014/04/how-to-install-nvidia-331-67-stable-graphics-drivers-in-linux.html
I suggest removing the ppa by typing (this is optional):
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install nvidia-340 nvidia-settings
sudo nvidia-xconfig
sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
sudo add-apt-repository --remove ppa:xorg-edgers/ppa
To install Bumblebee using the proprietary nvidia driver:
for 12.04 - 13.04
sudo apt-get install bumblebee bumblebee-nvidia virtualgl linux-headers-generic
And for 13.10 :
sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
http://www.noobslab.com/2012/06/nvidia-drivers-collection-for.html
Do all the step there except step #7 and then you will have to do the following in a terminal:
sudo gedit /etc/modprobe.d/blacklist.conf
Now add following lines to the end of the file and save:
blacklist amd76x_edac
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
You will need to do the following in a terminal:
sudo gedit /etc/bumblebee/bumblebee.conf
Change these in the file and save:
Driver="empty or whatever" to Driver=nvidia
kernelDriver=nvidia-current to KernelDriver=nvidia
sudo update-initramfs -u
Booted up might be kind of buggy had to Ctrl+Alt+F6 and then Ctrl+Alt+F8 to get out of black screen of panic for Mint 13.
Ubuntu uses different keys Ctrl+Alt+F1 and then Ctrl+Alt+F7.
sudo reboot
Then run your update manager. My bumblebee did not work until OS go the new stuff.
Try
optirun glxgears
in a terminal.
These are the sites that help me a lot for my Samsung:
I have run:
optirun firefox and played www.quakelive.com
optirun glxgears, and optirun glxspheres.
pluma is an text editor on mint 13 mate maya.
Here is what this file look like:
sudo pluma /etc/modprobe.d/blacklist.conf
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.
# evbug is a debug tool that should be loaded explicitly
blacklist evbug
# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd
# replaced by e100
blacklist eepro100
# replaced by tulip
blacklist de4x5
# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394
# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m
# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2
# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801
# replaced by p54pci
blacklist prism54
# replaced by b43 and ssb.
blacklist bcm43xx
# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps
# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi
# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp
# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr
# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
Here is what this file look like,
sudo pluma /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
## Client options. Will take effect on the next optirun executed.
[optirun]
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# 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
## 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
Module=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/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