Page 1 of 1

Gaming Laptop with Nividia optimus

PostPosted: Jun 26th, '17, 05:57
by dirkme
Hi there,

just wondering if Mageia has a solution like Xubuntu or Solus, where you can install the Nvidia Prime driver and by pass the whole hassle to get bumblebee running.

I don't want or need to switch back and forward and would be happy to just install the Nvidia prop. drivers.

Thanks a lot for every one trying to help.

Dirk

(haven't installed Mageia yet, just having this new laptop and Windows 10 is disgusting and the EULA a disgrace)
Mageia is still running on my old PC.

Specs: ASUS ROG Strix GL753VD 17.3" GSYNC Gaming Laptop GTX 1050 4GB Intel Core i77700HQ 16GB DDR4 1TB 7200RPM HDD RGB Keyboard

Re: Gaming Laptop with Nividia optimus

PostPosted: Jun 26th, '17, 17:51
by doktor5000
Well, the installation of the propr. nvidia driver has always been integrated in drakx11. See https://wiki.mageia.org/en/Setup_the_graphical_server or https://doc.mageia.org/mcc/5/en/content/XFdrake.html

And there also seems to be a configuration tool for prime, maybe you should try it out: https://madb.mageia.org/package/show/ap ... geia-prime
More information on the tool at https://github.com/ghibo/mageia-prime

Re: Gaming Laptop with Nividia optimus

PostPosted: Jun 27th, '17, 04:50
by dirkme
OK, that is worth trying it out, will update after I get to it ;-) thanks a lot

Dirk

Re: Gaming Laptop with Nividia optimus

PostPosted: Jun 27th, '17, 19:10
by doktor5000
Please next time do not use fullquotes, but only use the Reply function. Greatly improves clarity and reading flow ;)

Re: Gaming Laptop with Nividia optimus

PostPosted: Feb 23rd, '18, 22:56
by morgano
Dirkme, did it work for you?

I do not have much luck here. But to me it looks like Nvidia by itself do not work.

Machine: acer Aspire 7 A717-71G; hybrid Intel + Nvidia GTX1050

Installed fresh Mageia 6 64 bit, accepted preselected Intel 810 GPU, and it booted up OK.
(Installed using the DVD install iso on USB, plus online sources, and updated during install.)
Then i installed mageia-prime, ran /usr/sbin/mageia-prime-install, and it installed Nvidia driver and made some magic.
It did fail downloading, so i ran mageia-prime-uninstall, then mageia-prime-install again and this time network was with me.

Rebooting yields a black screen when i expect the DM login screen.
Text terminals (i.e Alt-F3) are useless, text flickers, they are slow and most af my keystrokes are missed, can not login.
Workaround then is to shut down by pressing power button for 2 seconds, and it shuts down in a controlled way.
Boot in safe mode, and run /usr/sbin/mageia-prime-uninstall , and run drakx11 to make sure intel driver is used.
Reboot and all is OK, on intel.
Then i just changed to Nvidia, by drakX11
( I have not uninstalled the package mageia-prime, but did not run it since i ran /usr/sbin/mageia-prime-uninstall )
Part of journal when booting with Nvidia :
Spoiler:
feb 23 19:20:43 aspire7 kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 384.111 Tue Dec 19 22:56:18 PST 2017
feb 23 19:20:43 aspire7 kernel: nvidia-modeset: Allocated GPU:0 (GPU-dc75ece4-ab86-36f8-b7df-3fb16a49155f) @ PCI:0000:01:00.0
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (--) NVIDIA(0): DFP-0
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 (GP107-A) at PCI:1:0:0 (GPU-0)
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (--) NVIDIA(0): Memory: 2097152 kBytes
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (--) NVIDIA(0): VideoBIOS: 86.07.40.00.12
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (II) NVIDIA(0): Detected PCI Express Link width: 16X
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (--) NVIDIA(GPU-0): DFP-0: disconnected
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (--) NVIDIA(GPU-0):
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE) NVIDIA(0): to start anyway
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE) NVIDIA(0): Failing initialization of X screen 0
feb 23 19:20:43 aspire7 kernel: nvidia-modeset: Freed GPU:0 (GPU-dc75ece4-ab86-36f8-b7df-3fb16a49155f) @ PCI:0000:01:00.0
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (II) UnloadModule: "nvidia"
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (II) UnloadSubModule: "wfb"
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (II) UnloadSubModule: "fb"
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE) Screen(s) found, but none have a usable configuration.
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE)
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: Fatal server error:
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE) no screens found(EE)
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE)
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: Please consult the Mageia support
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: at https://bugs.mageia.org
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: for help.
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE) Please also check the log file at "/var/lib/gdm/.local/share/xorg/Xorg.0.log" for additional information.
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE)
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: (EE) Server terminated with error (1). Closing log file.
feb 23 19:20:43 aspire7 /usr/libexec/gdm-x-session[2314]: Unable to run X server
feb 23 19:20:43 aspire7 gdm-launch-environment][2270]: pam_unix(gdm-launch-environment:session): session closed for user gdm
feb 23 19:20:43 aspire7 systemd-logind[1265]: Removed session c2.
feb 23 19:20:43 aspire7 gdm[2036]: Child process -2314 was already dead.
feb 23 19:20:43 aspire7 gdm[2036]: Child process 2270 was already dead.
feb 23 19:20:43 aspire7 gdm[2036]: Unable to kill session worker process
feb 23 19:20:43 aspire7 systemd[1]: Stopping User Manager for UID 983...


A few days more this is machine free for experimentation so i can do a full reinstall, or even try cauldron if needed.
I just dont know what to try...

Re: Gaming Laptop with Nividia optimus

PostPosted: Feb 24th, '18, 02:12
by katnatek
@morgano, did you install the kernel devel package for your kernel flavor?

Re: Gaming Laptop with Nividia optimus

PostPosted: Feb 24th, '18, 10:29
by morgano
kernel-desktop-devel package got installed automatically when i installed mageia-prime, and it seem to have succeeded so far:
Code: Select all
# dkms status
nvidia-current, 384.111-1.mga6.nonfree, 4.14.18-desktop-1.mga6, x86_64: installed


In the log i note: " Failed to assign any connected display devices to X screen 0." but i do not know what to do about that.

Re: Gaming Laptop with Nividia optimus

PostPosted: Feb 24th, '18, 11:56
by morgano
Currently testing OK running Xorg nouveau driver
More info:
Code: Select all
 grep -i nouveau /var/log/Xorg.0.log
[    65.964] Kernel command line: BOOT_IMAGE=/vmlinuz-4.14.18-desktop-1.mga6 root=/dev/mapper/vg--crypt-lv_root ro nouveau.modeset=0 splash quiet noiswmd resume=/dev/vg-crypt/lv_swap audit=0

 lspcidrake -v | grep VGA
Card:NVIDIA GeForce 420 series and later: NVIDIA Corporation|GP107M [GeForce GTX 1050 Mobile] [DISPLAY_VGA] (vendor:10de device:1c8d subv:1025 subd:1199) (rev: a1)
Card:Intel 810 and later: Intel Corporation|Device 591b [DISPLAY_VGA] (vendor:8086 device:591b subv:1025 subd:1196) (rev: 04)

Re: Gaming Laptop with Nividia optimus

PostPosted: Feb 26th, '18, 18:37
by morgano
Reinstalled; i only made a test install before.
Now I chosed during install to only configure Intel, booted up and worked OK like that.
Then in a terminal as root:
Code: Select all
# urpmi bumblebee

and followed the instruction to add user(s) to the bumblebee group.
Works as advertised.
More info how to, and how to test, is in our wiki: https://wiki.mageia.org/en/Bumblebee

No idea why mageia-prime did not work for me, maybe i needed to do something more/other than i did, but i did not investigate it further.