Manjaro linux nvidia prime hybrid driver is not loaded 'driver N/A' egpu exp gdc expresscard
im writing this thread as a follow up to my own thread on manjaro forums, :
so in short, i need help in figuring out why after installing drivers for my egpu, command 'inxi -G' shows in gtx 970 graphics section 'driver N/A', and how to make it load driver. For now i tried messing with optimus manager, egpu-switcher, optimus switch and manually editing xorg files but it always ended up with black screen on both laptop and external monitor and i had to use tty in order to fix that.
User dglt from manjaro forums kindly pointed me into this forum, and i hope somebody will know how to help me overcome my problem.
Please read whole thread on manjaro forums, as there are more informations about my system configuration and so on.
Thanks for any help in advance
but i managed to foce driver load by pasting some boot parameters into kernel from your reply in other thread
pcie_ports=native pci=assign-busses,nocrs,realloc iommu=on intel_iommu=on
now when i switched to nvidia i had image on both external monitor and laptop.
But performance is really poor, i mean the desktop effects are really laggy, youtube 60 fps full hd on egpu is choppy and isnt really 60 fps on fullscreen
Could you describe what those parameters are suppose to do? And any ideas with poor performance? Maybe acceleration is turned off or something
Good, those were the parameters I was going to recommend. They change how the pcie memory resources are allocated and lets linux take over pcie addressing. The documentation is here.
When switching to the eGPU, are you using a script like the egpu-switcher script from this forum? You want to make sure the eGPU is "primary" in xorg and your desktop so the commands:
xrandr --listproviders xrandr --listmonitors
should both return the eGPU and it's attached displays as primary. The egpu-switcher script (Second under How-To>Linux in the top bar) should do this for you.
Those two command lines write 2 monitors - my external and internal monitors, and 2 providers - nvidia and modeset (intel presumably?). I first tried with egpu-switcher, and it switched nicely, but for some reason after reboot my system hangs up on messege "cannot start egpu-switcher service", and i had to use clean command to restore my original xorg files. Now im trying optimus manager - it works but its a little rough - sometimes it works, sometimes i get black screen, and sometimes switching to nvidia results in strange position of manjaro "windows start menu" opening in the middle of two monitors. Also performance on nvidia is little better, but still after lauching youtube 1080p 60 fps video, it has less than 60 fps, i suspect it maybe has even less than 30.
I have yet find time to tinker with kernel boot commands (after reading documentation im not sure if i need all of those, further testing required), and also have to find solution for poor performance.
Any suggestions are apprieciated. Also, is there any egpu switcher other that those two witch works better? Or maybe some further configuration is needed for those two?
Can you ensure that the eGPU is primary? For an nvidia card nvidia-settings is probably the easiest way to check. This is almost certainly the source of your performance issues. Either script should work as long as it is properly recognizing the eGPU and setting it as primary for X in this way. In the kernel parameters, realloc and the iommu options are probably not required so long as you are not trying to hot plug the card.
Yes, that looks correct now. The eGPU is setup as it should be. I don't have a lot of experience with the nvidia drivers in linux or manjaro but from my experience that looks right, not sure what could be causing potential problems now.
It seems configuration is correct, i installed heaven benchmark and ran it, and performance is solid. Maybe i need to do something with firefox configuration?
Just for comparison i ran 4 heaven benchmark tests and:
1. Manjaro OpenGL
Min FPS: 16.1
Max FPS: 86.5
2. Windows 10 OpenGL
Min FPS: 8.0
Max FPS: 103.8
3. Windows 10 DirectX11
Min FPS: 8.5
Max FPS: 114.1
4. Hackintosh High Sierra OpenGL
Min FPS: 8.3
Max FPS: 101.3
Scores probably in range of expected scores (?)
And i changed optimus-manager to optimus-switch