Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im having some problems with my laptops graphics. At the moment it uses the intel graphics witch work fine for normal use but my nvidia 950m is not doing anything.
From what i can tell its using nouveau drivers. Now i have tried to install the nvidia one from teh website (.run file) and it ran and installed drivers bt after that, all i had was a black screen with the mouse cursor on it. now i have seen that its somewhat common to have this problem but i havent been able to fix it with what i found in forums so i deleted it again to have at least a working computer. What i like to do it get it running but i dont know how. Most of the guides are for desktop pc and not laptop with "shared video things" because it still needs to run on the intel chip but the 3d stuff needs to go to the 950m. at least i dont know if its possible to skip the intel chip and only use the 950m ... im guessing it would use more power to have it on at all times but if it works i dont care.
Sorry for rambling, ive been trieing for days now without results.
Thanks anyway,
Sander
The .run installer requires you to modify a few files. If you can install from Fedora repositories it is the preferred method.
For now, hit the "e" key at the grub screen to add a kernel argument, you need to add:
Code:
modeset nouveau.modeset=0
You will need to do this every time you boot with Nvidia graphics till you install proprietary graphics drivers or edit /etc/default/grub file to include that argument, then run command:
Code:
update-grub
After that it should boot fine with nouveau.
If you want or need to use the .run installer from Nvidia site, let me know and I will give you the scoop.
Do you have a hardware switch to select either Intel or Nvidia?
Typical optimus systems don't, and you usually can't boot to a desktop without the modesetting argument if you can't select the graphics device.
My MSI has a hardware switch, I boot to one or the other, I do not have optimus capabilities even though I have Nvidia optimus chip. As such, I do not need to install bumblebee or primus in Linux. If your system switches between the two in Windows, then you will need bumblebee, which is why you likely need to go with Fedora pre-compiled Nvidia drivers...if they have such, I imagine they do.
I just tried the change in teh grub menu and it didnt do anything?
Yes, windows switches betwean the intel and nvidia card. So i guess i need bumblebee? For as far as i know i dont have a hardware switch ... i can look ik the bios but i dont remember comming across it... although ive not been looking for it specifically... ill do that now
EDIT:
I just went through the bios and i have no options whatsoever, the only graphics related thing i can change is the memory the intel chip uses off my ram.
Below is what I did upon original installation to boot to the Nvidia graphics, this is the /etc/default/grub file that needs to be edited if required, run command update-grub as root or sudo after editing this file if you choose to do so.
now is there a god way to test if it uses the card correctly? i have xsensors that showed the temps and voltage but not anymore with this driver. but is there a good stresstest like furmark on windows?
I tried glmark2 but that states that its still using the intel chip for graphics?
Code:
OpenGL Information
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)
GL_VERSION: 3.0 Mesa 17.2.4
=====================================
EDIT:
i found GpuTest with gives some more info. but i cant get it to run on my nvidia card. when i try and do this, it fails:
Code:
[root@localhost GpuTest_Linux_x64_0.7.0]# DRI_PRIME=2 ./GpuTest /test=fur
[root@localhost GpuTest_Linux_x64_0.7.0]# DRI_PRIME=1 ./GpuTest /test=fur
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
The PRIME=2 one succeded (is its my intel chip) and the PRIME=1 fails (my nvidia chip)
The PRIME=2 one succeded (is its my intel chip) and the PRIME=1 fails (my nvidia chip)
Sounds like you got it I'm guessing.
From what little I read a year ago, everything is displayed via the Intel graphics, even when the Nvidia does the rendering.
I need to stop advising folks to use the nouveau modesetting. When I got my first Nvidia graphics in 2005, if one were to install proprietary graphics, up until recently that was the only driver one could use, even when I installed Debian last year if I used the Nvidia chip I got nothing, black screen till we added the nouveau modesetting. It was the same for those with a true optimus system also. I had to have two Debian installations if I wanted to use Intel for power saving graphics, one with and one without Nvidia proprietary installed, because my unit is a high end gaming laptop and that is the reason MSI put the hardware switch, disabling optimus but still giving the best of both worlds.
Recently I noticed AMD has followed suit and is pumping out laptops with the dual graphics also, and I was thinking to myself that something has to change, we need to allow the use of both proprietary and open source graphics drivers on the same installation. Because there is likely to be more units like mine in the future with optimus disabled.
Not sure when it happened, but a week ago I accidentally booted the Nvidia installation with the Intel graphics and it came up with the same good looking desktop consistent with Nvidia drivers. So it looks like the day I wanted to see since 2005 finally arrived. And both Xorg and Nvidia software components are being used.
The code above is what shows up when in the Debian installation without Nvidia installed while using the Intel graphics, the Nvidia is non-existent. I'll reboot to the installation with Nvidia installed and post the output while still using the Intel graphics.
EDIT: Just booted to the installation with Nvidia installed and using the Intel graphics and the results posted:
Up until recently, this was impossible, being able to boot with graphics other than Nvidia while the Nvidia proprietary drivers were installed.
Which explains why you got a desktop and it was using i985 Intel driver, which is still hard to remember is finally possible after an eternity of wanting this capability for using a partition image with Nvidia installed on any computer with any other graphics, probably also can use an image with Nvidia on a machine with AMD proprietary graphics. That also was a no-no in the past.
hmm... is there a way to check its actually using it? is there a tool to monitor usage or temps of the card? with the nvidia driver i cant monitor it with xsensors and in the GpuTest thing where i use the test from furmark, 12 fps isnt really wat i was expacting for a 950m? or is teh optimalization that bad?
Unfortunately, since I can't use this technology, it's out of my league so to speak. But I did search a little and this link here has a troubleshooting section with some tests. Best I can do, hopefully I bumped this thread so others can chime in.
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824
Rep:
Quote:
Originally Posted by sajansen
hmm... is there a way to check its actually using it? is there a tool to monitor usage or temps of the card? with the nvidia driver i cant monitor it with xsensors and in the GpuTest thing where i use the test from furmark, 12 fps isnt really wat i was expacting for a 950m? or is teh optimalization that bad?
fedora 27 has conky, you can check nvidia driver, temps, clocks using it. im not sure if it is built with nvidia support yet, i had to compile conky myself to get nvidia support on it.
sorry it took me so long to get back to this. I tested with the "modeset nouveau" thing and in glmakr2 it scored 1171 witch isnt even high enough for my inter hd 5500 graphics and when i removed the boot line and booted with nouveau active, it scored 1299 witch is slightly better but still lower then the hd5500 score but its close there so... yes its only using my internal graphics and not the 950 card. i wanted to try and install the nvidia graphics again but didnt want to risk having to try and fix everything again if it gave me just a black screen. but are there any tips on installing the original driver and would it make a differance if i could get it to load properly? or is linux just this unstable with my kind of setup?
Actually, the nouveau driver doesn't come into play once the Nvidia drivers are installed, because as part of the Nvidia driver installation, nouveau gets blacklisted. The link I supplied has a troubleshooting section, I narrowed it down for you here. Check this page out, and do look at the suggestions in post #12 also.
Keep in mind, with optimus technology, the Nvidia graphics are only used when required, typically most applications don't need 3D rendering therefore the Intel graphics will be used in such scenarios by default to avoid draining your laptop's battery too fast. 3D gaming however, does require rendering which both graphics devices can do, and will drain battery life faster, the Nvidia is the better and this is where it will come to life and do the 3D rendering, yet this rendering will still be piped through the Intel graphics for display to the monitor.
So look at the link supplied in this post and the suggestions in post #12. Optimus technology is all about getting better battery life compared to using just Nvidia graphics which would drain the battery faster. Typically optimus is not used in desktop computers that are plugged into a wall outlet, they don't have batteries and therefore optimus is not required.
the only thing is that my provider listings both are named modesettings instead of Intel and nouveau but the rest of the steps seem to be ok... not that its helping with preformance though
I tested with the witcher 2 on 1080@low settings witch sould be around 70 FPS in the main menu and around 25/30 in game and i got 110 FPS in the menu and 4 FPS in game. when i turned on vsync it all went to shit and even the main menu was around 6 FPS
so somewhere something isnt right...i dont know what to look for anymore
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.