MHWD won't work for me?

This one will not work?!!

    john1@manjaro ~]$ sudo  mhwd -a pci nonfree 0300

[sudo] Passwort für john1:

Using config ‘video-hybrid-intel-nvidia-450xx-prime’ for device: 0000:00:02.0 (0300:8086:8a52) Display controller Intel Corporation Iris Plus Graphics G7
Dependencies to install: video-modesetting
Proceed with installation? [Y/n]
y

Whats wrong?

Hi!
Try installing video-modesetting first

sudo mhwd -i pci video-modesetting
sudo mhwd -a pci nonfree 0300
1 Like

*sudo mhwd -i pci video-modesetting

Installed successfull but:
glxinfo shows mesa as renderer?!!
nvidia-settings starts ok?

mhwd -li --pci:
video-modesetting 2020.01.13 true PCI
video-hybrid-intel-nvidia-450xx-prime 2019.10.25 false PCI

Do i have nvidea? YES!

Next problem sound: signal is visible but its mute :frowning:

Hi!
Now you have both cards working, if you want to use the nvidia launch any app with prime-run %command%

Ok, thanks!

But:

prime-run glxinfo still shows mesa?!!

–> because glxinfo itself can’t use nvidia?

Start prime-run glxgears and then run nvidia-smi to see if glxgears is using the nvidia gpu.

Hi!
Take a look at this link prime-run

A small note: prime-run works in the “nvidia” mode of optimus-manager as well.

I installed both:

video-modesetting            2020.01.13                true            PCI
video-nvidia-440xx            2019.10.25               false            PCI

video-hybrid-intel-nvidia-450xx-prime 2019.10.25 false PCI

So glxinfo shows nvidia and i never have to prime-run ? I hope so!

video-nvidia-440xx allone and lightdm can’t start!

…but whats the point?
If OM has set for only the nvidia to run … what exactly would prime-run do ?

This is wrong.

Thats correct.
Everything will show mesa.

If you want to look at how prime is working you could do:

glxinfo | grep renderer
prime-run glxinfo | grep renderer

But you need to fix your driver selections first.
You have a dual-gpu machine … you cant simply install ‘nvidia’ driver alone … it wont work.
Remove that.
Force reinstall the PRIME profile.

Well, not much in and of itself, but if you ever switch to hybrid mode it’ll of course make a difference if you use prime-run in your Steam launch command, etc.

yes … thats the point of prime-run … to activate the nvidia when you were using the intel by default.
(and how it works normally, without optimus manager)

Yes. What I mean is that if you switch between nvidia and hybrid mode on a regular basis, it makes sense to use prime-run for games/etc., since that guarantees that in both modes the nvidia gpu will be used.

For using NVIDIA in hybrid mode:

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia appname(command here - for steam games add %command% after the “nvidia” in launch options)

Example:

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep “OpenGL renderer”

I think your double Quotes " are wrong, take single quotes ’ ?!!

…uhm…
That is the same as prime-run … except missing the extra vulkan option.
So … whats the point?

(@pobrn - Oh I see. I guess that makes sense … I hadnt really even thought of people going into steam launch options and add/removing it every time … that certainly would be cumbersome)

1 Like

There was an issue in v20 for loading mesa, that’s why I generalized the message and ruled the vulkan out (not sure if it was solved)