Showing results for 
Search instead for 
Did you mean: 

[GUIDE} G750JS Linux Fedora 21 With NVidia Optimus

Level 7
I looked everywhere, trying to I install Nvidia drivers and didn't find a good tutorial that works, and after days of pain, I finally got it working and decided to share this.
So lets start,
My setup:
Asus G750JS;870m, Broadcom WIFI,250Gbs SSD, 750GBS Hdd.

Download and install fedora workstation. For Linux newbies I’d recommend the following partitioning scheme
/ on ssd >=25gbs for your data and apps
swap on ssd>=6gbs
/boot on hdd200mbs so u can turn boot loader on and off from bios without missing windows efis boot on ssd
/boot/efi soyou’d have an ufi boot.

After installation, you will boot into fedora and unfortunately first problem to tackle is the wifi., our broadcom wifi is not natively supported.

1) First Broadcom driver installation
1.a) Gain internet access via ethernet or usb wifi.
1.a) First update the kernel to 3.19 which we will need to compile and build our drivers.
sudo yum install kernel-devel-3.19.3-200.fc21.x86_64 kernel-modules-3.19.3-200.fc21.x86_64 kernel-3.19.3-200.fc21.x86_64 kernel-headers-3.19.3-200.fc21.x86_64 kernel-core-3.19.3-200.fc21.x86_64

1.b) After update restart and remove the old kernel
yum uninstall kernel-3.17.4-301.fc21.x86_64 kernel-core-3.17.4-301.fc21.x86_64 kernel-devel-3.17.4-301.fc21.x86_64 kernel-headers-3.17.4-301.fc21.x86_64

1.c) Install the repos and the wifi driver
sudo rpm –Uvh

sudo yum install broadcom-wl- kmod-wl- akmod-wl kmod-wl-3.19.2-200.fc21.x86_64

1.d)Reboot and disable secure boot since the wifi kernel mod isnot signed
You should have wifi running

Before the Nvidia drivers, please do a full system update, Id recommend that now so you would avoid breaking the nvnida drivers.
sudoyum update

Now the fun part, At this point id recommend making a backup with clonzilla

Because our muxless Optimus laptop, the internal display is driven by the integrated GPU. And after installing the driver, Xserver will use Nvidia GPU and will fail to output to out display and you will end up with error, no screen found!,
It's important that the X server not be configured to use the NVIDIA X driver after the driver is installed. Instead, the correct driver for the integrated GPU should be used. Often, and only use Nvidia on command to process graphics and pass it to the internal GPU to display it.

2.a) Install dependencies and the driver
yum -y install


yum install -y libbsd-devel libbsd glibc-devel libX11-devel help2man autoconf gittar glib2 glib2-devel automake gcc gtk2-devel dkms gnome-desktop VirtualGL.i686 cuda cuda-devel cuda-cublas cuda-driver acpica-tools

yum install bbswitch bumblebee bumblebee-nvidia primus primus.i686

bumblebee and bbswitch manage optimus functionality, Id recommend you read about them

Level 7
iii) Edit /etx/bumblebee/bumblebee-nvidia[/COLOR]

I cant edit this post since yesterday
You don't have permission to access "" on this server.

Reference #18.a329d242.1429372865.2522e2d

Level 7
The following steps are extremely important:

2.b) Edit these files to have the integrated gpu handle display
i) In/etc/X11/init/xinitrc
xrandr--setprovideroutputsource Intel NVIDIA-0


ii) Edit /etx/bumblebee/xorg.conf.nvidia
to loox exaclty like
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:01:00:0"
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
Section "Device"
Identifier "intel"
Driver "intel"
Section "Screen"
Identifier "intel"
Device "intel"

Level 7

@mods I keep getting:
You don't have permission to access "" on this server.

Reference #18.a329d242.1429372865.2522e2d

Level 15
We're checking the issue regarding your post edit.