Recently I wasn’t able to connect my laptop to my TV via HDMI, so I created this topic, and I was told to try optimus-manager.
So I followed this guide and I did not face any boot issues, and my laptop works fine with the Intel card, but when I switch to Nvidia, the display goes blank, and I’d be left with the only option to enter a tty and reboot.
What I’ve tried:
I used Nouveau mode to switch GPU’s but my DM goes blank after logging out.
Tried bbswitch, but it shows a warning “The bbswitch module does not seem to be available for the current kernel”, and it logs back with the intel card.
My objective however is still to connect my HDMI to my TV screen, which still doesn’t seem to work. But, the same HDMI cable and monitor work when connected to the same laptop running Windows.
Open to provide any more info if needed, thanks in advance!
Nor quite experienced with Optimus-Manager, but from what i gathered it requires Nvidia Drivers to work and in most cases to add modprobe.blacklist=nouveau as kernel boot parameter. Have you tried that when using the Nvidia drivers.
When switching to Nouveau, have you checked is was still blacklisted or not in /etc/modprobe.d/ file stou have there?
If you have trouble to switch to Nvidia GPU then i guess you missed some step in the tutorial you followed.
Since Optimus-Manager also requires to disable bumblebeed.service … i don’t know if you did that too.
Ok, but i see a problem here. If you tested nouveau with that file, then it would not work. Also, to my knowledge with the
then NVIDIA GPU driver will allow the GPU to go into its lowest power state when no applications are running that use the nvidia driver stack. Whenever an application requiring NVIDIA GPU access is started, the GPU is put into an active state. In other words, you have to use prime-run <application> to use the dGPU with it. Are you sure if that option allows then to completely switch to dGPU and is not only for render-offload?
Not sure what driver are you using right now. From here:
is like none.
Then the alternate is even more confusing for me. I would go step by step from the linked tutorial and see what is different. You still should have better results with the Nvidia driver than nouveau. But, did you also checked if that HP laptop doesn’t require some custom kernel boot parameters related to ACPI, as described here:
Are you sure you have installed the nvidia propietary drivers? I have a 1050 Ti and i can connect to the TV just fine,you need to install the video-hybrid-intel-nvidia-450xx-prime drivers,you can find it in hardware configuration,if you are using KDE is in the settings
The driver I’m using is video-hybrid-intel-nvidia-prime-440x. And about the HP laptop, I’m not sure if I need specific kernel parameters, but I do see ACPI errors in my journalctl, I can attach them if you want to. I’m attaching mhwd li:
>>> mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-440xx-prime 2019.10.25 false PCI
video-modesetting 2020.01.13 true PCI
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
I don’t know how to do it in the terminal way,but in the gui you just right click the 440 driver and select remove,then right click on the 450 and select install,then you should reboot.
@XRaTiX That did the trick, I’ve upgraded to 450xx and I’m able to connect to my TV now, and xrandr -q outputs this:
>>> xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
...
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 connected (normal left inverted right x axis y axis)
...
However I still can’t switch to nvidia using optimus-manager, it still blacks out.
Just tried hybrid mode and that blacks out as well. I’m using Nouveau in the swtiching method.
Yeah me too, anyways @XRaTiX thanks man I’m atleast happy that the HDMI works, have been at the HDMI thingy for a week now. But I’d really like to use the 4GB Nvidia card, somebody help!
Also, I’mn not able to open nvidia-settings which gives me even more reason to believe that something isn’t right with my drivers, should I start a new thread perhaps?
>>> nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
I just tried using bbswitch and rebooting caused my HDMI to stop working again
I’ve installed bbswitch, but there is still a warning that pops up when I try to switch “The bbswitch module does not seem to be available for the current kernel”, and it logs back with the intel card.