Manjaro linux nvidia prime hybrid driver is not loaded 'driver N/A' egpu exp gdc...
 
Notifications
Clear all

Manjaro linux nvidia prime hybrid driver is not loaded 'driver N/A' egpu exp gdc expresscard  

  RSS

knur003
(@knur003)
Active Member
Joined: 8 months ago
 

Hello,

im writing this thread as a follow up to my own thread on manjaro forums, :

https://forum.manjaro.org/t/nvidia-prime-hybrid-driver-is-not-loaded-n-a-egpu-exp-gdc/132275

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

2012 12" HP EliteBook 2570P [3rd,4C,Q] + GTX 970 @ 4Gbps-EC2 (EXP GDC 8.5c) + Win10 & macOS 10.13.6 & Linux Manjaro [build link]  

ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 3 years ago
 

@knur003

Welcome! Could you post the output of dmesg?

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1

 
2012 13" MacBook Pro [3rd,2C,M] + RX 460 @ 10Gbps-TB1 (AKiTiO Thunder2) + macOS 10.14.4 [build link]  


ReplyQuote
knur003
(@knur003)
Active Member
Joined: 8 months ago
 

@nu_ninja,

https://pastebin.com/629BUK7r

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

2012 12" HP EliteBook 2570P [3rd,4C,Q] + GTX 970 @ 4Gbps-EC2 (EXP GDC 8.5c) + Win10 & macOS 10.13.6 & Linux Manjaro [build link]  

ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 3 years ago
 

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.

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1

 
2012 13" MacBook Pro [3rd,2C,M] + RX 460 @ 10Gbps-TB1 (AKiTiO Thunder2) + macOS 10.14.4 [build link]  


ReplyQuote
knur003
(@knur003)
Active Member
Joined: 8 months ago
 

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?

2012 12" HP EliteBook 2570P [3rd,4C,Q] + GTX 970 @ 4Gbps-EC2 (EXP GDC 8.5c) + Win10 & macOS 10.13.6 & Linux Manjaro [build link]  

ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 3 years ago
 

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.

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1

 
2012 13" MacBook Pro [3rd,2C,M] + RX 460 @ 10Gbps-TB1 (AKiTiO Thunder2) + macOS 10.14.4 [build link]  


ReplyQuote
knur003
(@knur003)
Active Member
Joined: 8 months ago
 

Is this the way it suppose to be? If not then how to change that

https://imgur.com/dslEfOS

2012 12" HP EliteBook 2570P [3rd,4C,Q] + GTX 970 @ 4Gbps-EC2 (EXP GDC 8.5c) + Win10 & macOS 10.13.6 & Linux Manjaro [build link]  

ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 3 years ago
 

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.

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1

 
2012 13" MacBook Pro [3rd,2C,M] + RX 460 @ 10Gbps-TB1 (AKiTiO Thunder2) + macOS 10.14.4 [build link]  


ReplyQuote
knur003
(@knur003)
Active Member
Joined: 8 months ago
 

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

FPS: 47,7
Score: 1202
Min FPS: 16.1
Max FPS: 86.5

2. Windows 10 OpenGL

FPS: 44,1
Score: 1100
Min FPS: 8.0
Max FPS: 103.8

3. Windows 10 DirectX11

FPS: 54.7
Score: 1378
Min FPS: 8.5
Max FPS: 114.1

4. Hackintosh High Sierra OpenGL

FPS: 43.6
Score: 1097
Min FPS: 8.3
Max FPS: 101.3

All those test on 1920x1080, 2xMSAA, fullscreen, ultra quality, extreme tesselation, gtx 970 egpu in exp gdc 8.5c expresscard

Scores probably in range of expected scores (?)

And i changed optimus-manager to optimus-switch

2012 12" HP EliteBook 2570P [3rd,4C,Q] + GTX 970 @ 4Gbps-EC2 (EXP GDC 8.5c) + Win10 & macOS 10.13.6 & Linux Manjaro [build link]  

ReplyQuote