Stretch on Nvidia 960M MSI Gaming Laptop

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Re: Stretch on Nvidia 960M MSI Gaming Laptop

Postby stevepusser » 2018-11-23 01:47

Argghhh--why does everyone run inxi as root!

Anyway, your hardware is probably supported by the stock 4.9 kernel, but will be happier with a newer kernel from backports for better powersavings for Skylake, and you must have firmware-misc-nonfree from the non-free section to support your Skylake hardware. The stock Mesa 13.06 is fine.

I just recently got my MSI working with Bumblebee after some months, and then helped an MX user with an older gaming MSI laptop also get it working. It seems they need some tweaking to get it to work, unlike my Acer where it just worked out of the box.

I'd try just editing the conf file first after installing Bumblebee, then trying virtualgl packages if that doesn't help. MX 17 is the Stretch-based version for packages.

https://forum.mxlinux.org/viewtopic.php?f=104&t=47042

http://mxrepo.com/mx/testrepo/pool/test/v/virtualgl/
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10276
Joined: 2009-10-06 05:53

Re: Stretch on Nvidia 960M MSI Gaming Laptop

Postby InvisibleRasta » 2018-11-23 10:10

sorry i think i didnt understand what i have to do, i added the backports repo for stretch and installed the 4.18 kernel.
after that i installed the firmware-misc-nonfree package. After that i tried to reboot but X was not wroking
do i still need /etc/X11/xorg.conf.d/20-intel.conf
InvisibleRasta
 
Posts: 11
Joined: 2018-11-22 13:51

Re: Stretch on Nvidia 960M MSI Gaming Laptop

Postby Head_on_a_Stick » 2018-11-23 10:21

InvisibleRasta wrote:do i still need /etc/X11/xorg.conf.d/20-intel.conf

No, Bumblebee requires no xorg configuration files.

See the warning on the wiki page:
Warning: If you choose to install bumblebee-nvidia and the dependent nvidia driver packages, during postinst, you will see a debconf prompt warning you that you need to create a xorg.conf file in order to use the proprietary nvidia driver. This prompt only applies to non-Optimus users, i.e. single Nvidia GPU systems. Do NOT allow debconf to create a xorg.conf file, and do NOT run nvidia-xconfig!

EDIT: if you are switching back to nouveau from the blobby drivers see https://wiki.debian.org/NvidiaGraphicsD ... of_failure
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8322
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Stretch on Nvidia 960M MSI Gaming Laptop

Postby milomak » 2018-11-23 19:10

InvisibleRasta wrote:echo 'nouveau' | sudo tee -a /etc/modules

why have you done this step?
Head_on_a_Stick wrote:
InvisibleRasta wrote:do i still need /etc/X11/xorg.conf.d/20-intel.conf

No, Bumblebee requires no xorg configuration files.


that conf file is to load the intel graphics driver not for use with bumblebee
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Debian Sid, Win10,
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Debian Sid
milomak
 
Posts: 1855
Joined: 2009-06-09 22:20

Re: Stretch on Nvidia 960M MSI Gaming Laptop

Postby stevepusser » 2018-11-23 19:39

The 20-intel.conf file tells Debian to use the driver provided by xserver-xorg-video-intel instead of the kernel's modesetting driver. Without it, you'll get modesetting. The "intel" driver works fine for me with the blobby Nvidia driver with Bumblebee. Nothing installs that file for you (except MX Tweak, not in Debian), somehow you must have managed to follow instructions to create it. Those directions were poor, because the line:
Code: Select all
  Option      "AccelMethod"


is, as the error messages say it, "malformed".

Bumblebee does install a conf file for Nvidia, it's just in /etc/bumblebee, and is what I had to edit to get working on my MSI, and it seems to have helped that other MX user--please read the thread, and experiment with virtualgl if that doesn't help.

You don't need any xorg.conf files at all.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10276
Joined: 2009-10-06 05:53

Re: Stretch on Nvidia 960M MSI Gaming Laptop

Postby InvisibleRasta » 2018-11-24 22:18

i am not sure if all the drivers work now (had to reinstall like 5 times the whole system)
but this is what inxi shows... imnot sure if i configured everything properly
Code: Select all
Graphics:  Card-1: Intel HD Graphics 530
           Card-2: NVIDIA GM107M [GeForce GTX 960M]
           Display Server: X.Org 1.19.2 driver: intel Resolution: 1920x1080@60.01hz
           GLX Renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) GLX Version: 3.0 Mesa 13.0.6
InvisibleRasta
 
Posts: 11
Joined: 2018-11-22 13:51

Re: Stretch on Nvidia 960M MSI Gaming Laptop

Postby stevepusser » 2018-11-25 00:03

InvisibleRasta wrote:i am not sure if all the drivers work now (had to reinstall like 5 times the whole system)
but this is what inxi shows... imnot sure if i configured everything properly
Code: Select all
Graphics:  Card-1: Intel HD Graphics 530
           Card-2: NVIDIA GM107M [GeForce GTX 960M]
           Display Server: X.Org 1.19.2 driver: intel Resolution: 1920x1080@60.01hz
           GLX Renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) GLX Version: 3.0 Mesa 13.0.6


OK, your Intel card is working, so after installing Bumblebee, it's supposed to switch the 3D GLX rendering to the Nvidia card if you run "optirun inxi -G", like so on my laptop:

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.87
           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.87


And the Nvidia GPU indicator light on this laptop turns on for a second, then back off like it's supposed to.

But like I said, it seems MSI laptops can need a little more tweaking to get Bumblebee working.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10276
Joined: 2009-10-06 05:53

Re: Stretch on Nvidia 960M MSI Gaming Laptop

Postby InvisibleRasta » 2018-11-25 08:05

yeah i dont know, been trying to configure for a week.. i reinstalled i dont know how many times. i think i am ditching debian for now... too hard to get things running compared to gentoo. hopefully next releases will support a wider range of hardware
InvisibleRasta
 
Posts: 11
Joined: 2018-11-22 13:51

Re: Stretch on Nvidia 960M MSI Gaming Laptop

Postby stevepusser » 2018-11-25 23:02

Well, Debian isn't for you if you won't even try editing one configuration file to start.
I'm sure Gentoo is much easier to set up....

BTW, MSI's also need those tweaks on other distros such as Arch and Ubuntu--I found the info by searching their forums. Good luck!
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10276
Joined: 2009-10-06 05:53

Re: Stretch on Nvidia 960M MSI Gaming Laptop

Postby InvisibleRasta » 2018-11-25 23:33

well to be honest i have both arch and gentoo runnin gon that laptop. im not sure waht is making it so hard fro debian... im not used to all the autoconfiguration it does by itself i guess... but something is not working... it should be as easy as installing nvidia-drivers, bumblebee and that config file.. isntead its full of crashes, bugs
InvisibleRasta
 
Posts: 11
Joined: 2018-11-22 13:51

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable