Hi,
I have an optimus Laptop (Dell Inspiron 3793), I have tried without success so install the nvidia drivers as described here : https://en.opensuse.org/SDB:NVIDIA_drivers.
I gave up and decided to continue with the nouveau driver. But, when trying to connect my external monitor, this was not recognized. As this is a no-go for me I’m back trying to configure the nvidia card.
I have read the thread here : https://forums.opensuse.org/showthread.php/538877-optimus-laptop-and-leap-15-1-do-not-connect-to-external-hdmi-monitor/.
I have installed the NVidia drivers the easy way and the prime. After I boot, no graphical interface shows up. Nevertheless prime-select seems to work : prime-select nvidia outputs “Driver configured: nvidia”. But, as I said no graphical interface.
Hi and welcome to the openSUSE Forums!
Please be aware that the page you followed generally doesn’t work well for “optimus” laptops. If the only thing you look for is using the discrete GPU you might be better off using Bumblebee: https://en.opensuse.org/SDB:NVIDIA_Bumblebee
I gave up and decided to continue with the nouveau driver. But, when trying to connect my external monitor, this was not recognized. As this is a no-go for me I’m back trying to configure the nvidia card.
How exactly did you try to use the nouveau driver? In a default Leap install on an “optimus” laptop you should be able to route your video through the discrete GPU by prepending DRI_PRIME=1 to your application, for instance open a terminal and issue:
Please be aware that the laptop referred to in that thread has a special configuration and that advice given there might not apply (and likely doesn’t apply ) to your configuration.
I have installed the NVidia drivers the easy way and the prime. After I boot, no graphical interface shows up. Nevertheless prime-select seems to work : prime-select nvidia outputs “Driver configured: nvidia”. But, as I said no graphical interface.
Not clear to me if you followed this page https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime or not.
Please be aware that htat page was apparently tested on Tumbleweed and may not work on Leap (personally I gave up testing that stuff long ago).
Also please note that SUSE Prime does not work on wayland, so if you are using a default Gnome install that is not going to work. XFCE with the LightDM display manager might have better chances.
Please be aware that the page you followed generally doesn’t work well for “optimus” laptops. If the only thing you look for is using the discrete GPU you might be better off using Bumblebee: https://en.opensuse.org/SDB:NVIDIA_Bumblebee
I have tried also with Bumblebee. But the page mentions that the procedure is tested for
I had problems because the symlinks are wrong, I’ve got stucked there.
How exactly did you try to use the nouveau driver? In a default Leap install on an “optimus” laptop you should be able to route your video through the discrete GPU by prepending DRI_PRIME=1 to your application, for instance open a terminal and issue:
DRI_PRIME=1 firefox
Just plain Leap 15.1 installation set up the nouveau driver for me.
Please be aware that the laptop referred to in that thread has a special configuration and that advice given there might not apply (and likely doesn’t apply ) to your configuration.
Yes, it looks like I’m not that lucky.
Not clear to me if you followed this page https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime or not.
Please be aware that htat page was apparently tested on Tumbleweed and may not work on Leap (personally I gave up testing that stuff long ago).
Also please note that SUSE Prime does not work on wayland, so if you are using a default Gnome install that is not going to work. XFCE with the LightDM display manager might have better chances.
I use KDE and there is no wayland.
Yes, I have followed that page even if is for Tumbleweed with the hope that it will bring something. After that point I returned to the initial installation but I was not aware that the external monitor is not recognized.
What I want to achieve is “simply” to connect my external monitor. But currently I only have a black screen. Apparently the HDMI1 port is attached to the Nvidia card, otherwise I cannot explain why the monitor is not recognized.
Hi
Just an observation in GNOME if you install switcheroo-control it will add a right-click the icon menu option to the likes of firefox to use the dGPU (DRI_PRIME=1)… this functions on my Dual AMD gpu setup…
so that the Intel integrated GPU is using only the fallback EFI VGA framebuffer; with that there is no chance for SUSE Prime to work, as shown at:
7.237] (II) NVIDIA: The X server does not support PRIME Render Offload.
Try to remove the “nomodeset” option and maybe SUSE Prime will start working.
??? Please copy-paste between CODE tags the whole sequence including:
-leading prompt
-command
-result including any errors
-trailing prompt
otherwise we cannot guess what you actually did or what results you actually got.
OK, so this is the Optimus config we are used to.
Not clear to me if you now get a graphical login or not and if SUSE Prime is working to an extent. Please try both in “nvidia” and “intel” mode if it makes any difference.
If you get to a graphical login, please show:
xrandr --listproviders
both in “nvidia” and “intel” mode if it makes any difference.
Something seems broken in the SUSE Prime configuration, since you still see:
7.340] (II) NVIDIA: The X server does not support PRIME Render Offload.
But you should get a graphical login in “intel” mode unless something else is broken.
Try booting adding “3” (without quotes) to the boot line, you should land to a text login.
Login, issue “prime-select intel”, then
systemctl isolate default-target
you should land in a graphical login in “intel” mode.
the command executed succesfully without an output.
“startx” failed like this
-------------------------------------------------------------------------------------------
xinit failed. /usr/bin/Xorg is not setuid, maybe that's the reason?
If so either use a display manager (strongly recommended) or adjust /etc/permissions.local and run "chkstat --system --set" afterwards
The “success” should be a graphical login, so did you get it or not?
“startx” failed like this
-------------------------------------------------------------------------------------------
xinit failed. /usr/bin/Xorg is not setuid, maybe that's the reason?
If so either use a display manager (strongly recommended) or adjust /etc/permissions.local and run "chkstat --system --set" afterwards
So am I right assuming that you didn’t get a graphical login? Why did you need to “startx”?
By the way, startx has been deprecated long ago in Leap, so no wonder that it gives errors.
Hi,
no, so still no graphical login after reboot also with the intel card. The log is the last attached one.
I’m not sure but these lines do not look good :
Fatal server error:
514.737] (EE) no screens found(EE)
514.737] (EE)
I have noticed that I have no xorg.conf file in /etc/X11