LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-04-2016, 09:27 AM   #1
pepe41695
LQ Newbie
 
Registered: Aug 2013
Location: Niğde/Turkey
Distribution: Slackware-current
Posts: 6

Rep: Reputation: Disabled
Bumblebee and Slackware-Current.


SelamunAleykum

Installing Bumblebee on Slackware-Current without any problem(black screen etc.).

You can follow these steps.

1- Install Slackware.

2- Install Bumblebee from http://docs.slackware.com/howtos:har...nvidia_optimus

3- Edit "/etc/bumblebee/xorg.conf.nvidia" and add nvidia PCI number into this file. Nvidia PCI value of my system is "02:00.0". You can see my "xorg.conf.nvidia" below.

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:02: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"
EndSection

change PCI value to your own PCı value of Nvidia. Ex: BusID "PCI:xx:xx:x".

4- Add "tee /proc/acpi/bbswitch <<< ON" command to top the "/usr/bin/X" file. My file seen like this;

#!/bin/sh
#
# Execute Xorg.wrap if it exists otherwise execute Xorg directly.
# This allows distros to put the suid wrapper in a separate package.

tee /proc/acpi/bbswitch <<< ON

basedir=/usr/libexec
if [ -x "$basedir"/Xorg.wrap ]; then
exec "$basedir"/Xorg.wrap "$@"
else
exec "$basedir"/Xorg "$@"
fi


5- Finally reboot system and test bumblebee. "optirun glxgears".


Suggestions:

1- I dont know reason but Firefox hardly freezing. Use chromium from http://www.slackware.com/~alien/slac...pkg64/current/

2- Install pepper-flash.

Enjoy
 
Old 04-06-2016, 02:33 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
That's good to know. Perhaps posting this to http://docs.slackware.com/ would be helpful.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware64-current + Bumblebee = my brain is bleeding. Clementine Jam Slackware 6 06-22-2016 12:40 PM
[SOLVED] -current (Tue Apr 21) and bumblebee WhiteWolf1776 Slackware 20 05-04-2015 07:05 AM
[-current] Bumblebee + primus run gets better WhiteWolf1776 Slackware 1 09-23-2013 01:30 AM
[SOLVED] slackware64-current, xorg-1.14, kernel 3.10.11, bumblebee not working Clementine Jam Slackware 6 09-13-2013 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration