Welcome!
Important information
-- Spectre and Meltdown vulnerabilities

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-18 Final release info here
-- Migration Information to MX-18 here
-- antiX-17.3 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

WOOT! Finally got Bumblebee working on MSI GP63 8RD

Just as the name says, here is where you can post tips and tricks to share with other users of MEPIS.
Post Reply
User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 17515
Joined: Fri Dec 15, 2006 8:07 pm

WOOT! Finally got Bumblebee working on MSI GP63 8RD

#1

Post by Stevo » Sun Oct 28, 2018 6:53 pm

I've been trying off and on for months to get it to work--the error was that it could not find the nvidia module to load.

Code: Select all

System:    Host: mxmsileopard Kernel: 4.18.0-16.1-liquorix-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-17.1_x64 Horizon March 14  2018 base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: Micro-Star product: GP63 Leopard 8RD v: REV:1.0 serial: <filter> 
           Mobo: Micro-Star model: MS-16P6 v: REV:1.0 serial: <filter> UEFI: American Megatrends 
           v: E16P6IWS.106 date: 04/08/2018 
Battery:   ID-1: BAT1 charge: 41.6 Wh condition: 41.6/53.4 Wh (78%) model: MSI Corp. MS-16P6 status: Full 
           Device-1: hidpp_battery_1 model: Logitech Wireless Mouse M525 charge: Full status: Discharging 
CPU:       Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Kaby Lake rev: A 
           L2 cache: 9216 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 52992 
           Speed: 2818 MHz min/max: 800/2200 MHz Core speeds (MHz): 1: 2818 2: 2461 3: 2058 4: 2052 5: 2529 
           6: 2289 7: 2441 8: 2131 9: 2192 10: 3045 11: 2280 12: 2109 
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.2 driver: intel resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) v: 4.5 Mesa 18.1.7 
           direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.18.0-16.1-liquorix-amd64 
Network:   Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi v: kernel port: 5000 
           bus ID: 00:14.3 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Qualcomm Atheros Killer E2400 Gigabit Ethernet driver: alx v: kernel port: 3000 
           bus ID: 02:00.0 
           IF: eth0 state: down mac: <filter> 
Drives:    Local Storage: total: 1.14 TiB used: 502.22 GiB (42.9%) 
           ID-1: /dev/sda vendor: Micron model: 1100 MTFDDAV256TBN size: 238.47 GiB 
           ID-2: /dev/sdb vendor: HGST (Hitachi) model: HTS721010A9E630 size: 931.51 GiB 
Partition: ID-1: / size: 111.56 GiB used: 54.61 GiB (49.0%) fs: ext4 dev: /dev/sda5 
           ID-2: /home size: 832.35 GiB used: 439.71 GiB (52.8%) fs: ext4 dev: /dev/sdb1 
           ID-3: swap-1 size: 16.40 GiB used: 18.5 MiB (0.1%) fs: swap dev: /dev/sdb3 
Sensors:   System Temperatures: cpu: 54.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 380 Uptime: 22h 28m Memory: 15.52 GiB used: 2.93 GiB (18.9%) Init: SysVinit runlevel: 5 
           Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.25 
Now works!

Code: Select all

$ optirun inxi -G
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia v: 390.77 
           Display: x11 server: X.Org 1.19.2 driver: intel resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 390.77


Changes: Added this to /etc/bumblebee/xorg.conf.nvida:

Code: Select all

Section "Screen"
    Identifier "Default Screen"
    Device "DiscreteNvidia"
    EndSection
I also fiddled with a section in /etc/bumblebee/bumblebee.conf, but I think I set it back to default:

Code: Select all

# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia:/usr/lib/x86_64-linux-gnu/nvidia/current:/usr/lib/i386-linux-gnu/nvidia/current

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 23430
Joined: Wed Jul 19, 2006 6:13 am

Re: WOOT! Finally got Bumblebee working on MSI GP63 8RD

#2

Post by Jerry3904 » Sun Oct 28, 2018 7:49 pm

Wow, well done!
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

sunrat
Forum Regular
Forum Regular
Posts: 260
Joined: Mon Mar 28, 2016 9:54 pm

Re: WOOT! Finally got Bumblebee working on MSI GP63 8RD

#3

Post by sunrat » Sun Oct 28, 2018 8:46 pm

Great work indeed @Stevo! If it took you months to work it out, I pity mere mortals. Hopefully they find this thread and have an easier time of it. Maybe the Bumblebee devs could even implement the config file with Bumblebee installation.
I usually don't comment on Optimus/Bumblebee any more as I don't have one. I suspect some failures are due to trying to install Nvidia drivers before installing Bumblebee, but others seem to fail even when strictly following wiki instructions.
One thing I was wondering, does ddm-mx installer automatically try to set up Bumblebee if it detects an Optimus system?

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 17515
Joined: Fri Dec 15, 2006 8:07 pm

Re: WOOT! Finally got Bumblebee working on MSI GP63 8RD

#4

Post by Stevo » Sun Oct 28, 2018 9:22 pm

sunrat wrote:
Sun Oct 28, 2018 8:46 pm
Great work indeed @Stevo! If it took you months to work it out, I pity mere mortals. Hopefully they find this thread and have an easier time of it. Maybe the Bumblebee devs could even implement the config file with Bumblebee installation.
I usually don't comment on Optimus/Bumblebee any more as I don't have one. I suspect some failures are due to trying to install Nvidia drivers before installing Bumblebee, but others seem to fail even when strictly following wiki instructions.
One thing I was wondering, does ddm-mx installer automatically try to set up Bumblebee if it detects an Optimus system?
Yes, the installer tries to detect Optimus and installs Bumblebee if found.

I finally solved the issue by Googling the error message that optirun would throw, and reading a bunch of Ubuntu threads, which had a lot of different things to try with varying reports of success. The Arch wiki troubleshooting for Bumblebee didn't have that particular fix.

My thought are that there are many different ways of implementing Optimus, so a fix that works for one machine won't help on another. Dells are supposed to be quite troublesome, but at least we know how to fix it on this particular laptop. Hopefully the fix would work on other popular MSI laptops, such as the GS65.

Post Reply

Return to “Tips&Tricks”