Gaming Laptop with Nividia optimus

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Gaming Laptop with Nividia optimus

Postby dirkme » Jun 26th, '17, 05:57

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
dirkme
 
Posts: 50
Joined: Nov 24th, '16, 01:39

Re: Gaming Laptop with Nividia optimus

Postby doktor5000 » Jun 26th, '17, 17:51

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Gaming Laptop with Nividia optimus

Postby dirkme » Jun 27th, '17, 04:50

OK, that is worth trying it out, will update after I get to it ;-) thanks a lot

Dirk
Last edited by doktor5000 on Jun 27th, '17, 19:11, edited 1 time in total.
Reason: removed fullquote
dirkme
 
Posts: 50
Joined: Nov 24th, '16, 01:39

Re: Gaming Laptop with Nividia optimus

Postby doktor5000 » Jun 27th, '17, 19:10

Please next time do not use fullquotes, but only use the Reply function. Greatly improves clarity and reading flow ;)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Gaming Laptop with Nividia optimus

Postby morgano » Feb 23rd, '18, 22:56

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...
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1314
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Gaming Laptop with Nividia optimus

Postby katnatek » Feb 24th, '18, 02:12

@morgano, did you install the kernel devel package for your kernel flavor?
BlogDrake Official Community and Forums for Spanish Talkers Users of OpenMandriva and Mageia Linux
katnatek
 
Posts: 74
Joined: Mar 16th, '12, 02:09

Re: Gaming Laptop with Nividia optimus

Postby morgano » Feb 24th, '18, 10:29

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.
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1314
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Gaming Laptop with Nividia optimus

Postby morgano » Feb 24th, '18, 11:56

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)
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1314
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Gaming Laptop with Nividia optimus

Postby morgano » Feb 26th, '18, 18:37

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.
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1314
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron