**How to install nvidia graphic driver on asus vivobook max x541nc?
**
Hello i’m new OpenSUSE user and i have a question about installing nvidia graphic driver on asus vivobook max x541nc.
i used Manjaro, Arch, and Ubuntu based linux distributions before and on Manjraro and Arch, i had the problem when i install nvidia graphic driver my pc won’t boot, but on
Ubuntu based Distibutions i was able to go to Driver Manager and just install it from there and it works prfectly.
Thats why i need your help to install nvidia driver on OpenSUSE because i dont want to do anything on my own and mess up my Linux Installation.
on Ubuntu based distros after installing nvidia graphic driver, when i open nvidia x settings i have two options nvidia high performance mode and Intel power saving mode.
When i was on Manjaro my friend has told me that i should install optimus drivers because my laptop might be using optimus tehnology but that didnt work i also have to mention that
when i had Windows 10 installed it did automatically detected drivers and installed both Intel and Nvidia so i really don’t know what to do and how to install drivers on OpenSUSE.
Hi and welcome to the openSUSE Forums.
Your laptop seems similar to one I’m using and it is indeed likely that it has an Optimus architecture;(EDIT: your last post while I was typing confirms that).
You should be able to install and use openSUSE out of the box without any Nvidia driver; you can use DRI_PRIME to engage the Nvidia chip through the Nouveau driver installed as default.
Just open a terminal and issue a command like (for instance):
DRI_PRIME=1 glxinfo
to engage the Nvidia chip and
DRI_PRIME=0 glxinfo
to see the same with the Intel integrated graphics.
If that doesn’t suit you, you have two choices depending on what you really need to do via the Nvidia graphics:
install SUSE Prime (please see https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime ).
Please be aware that installing Nvidia drivers on openSUSE might be less straightforward than with some other distro (notably Ubuntu and Fedora), so be prepared to open a terminal and tweak your install if something doesn’t work as expected.
I want to play some games on my nvidia gpu, but it uses intel gpu, fps is around 40, on ubuntu based distros i was able to get around 120 with Nvidia gpu
so i want to do same on OpenSUSE because i’m going to use SUSE as my daily driver.
i remember when i did “suddo zypper dup” having to accept this
idk does this means something but it might be useful info to know.
In order to install 'Mesa-dri-nouveau', you must agree to terms of the following
license agreement:
WARNING: Nouveau DRI/3D driver selected.
This driver is considered experimental and is known to have issues with
applications that use certain 3D acceleration features of modern
NVIDIA hardware.
Symptoms include application crashes or lockups & crashes of your system's
graphical environment. Older Hardware and less demanding applications may work
just fine and do benefit from the Hardware acceleration features this driver
offers over software emulation.
Use of this driver is especially not recommended for use with the KDE Desktop
Environment or Qt-based Applications.
The hardware vendor potentially offers alternative drivers.
Please click "Accept" if you accept the risks that may come with the
installation of this driver. Choose "Cancel" to prevent installation
of the driver and use software emulation instead.
Not sure about the latest Ubuntu, but a couple of years ago comparable results were available installing SUSE Prime on the same HW.
Please be aware that on Tumbleweed:
you need to logout and login again to change the GPU in use when using SUSE Prime (the same was true with Ubuntu if I recall correctly, though);
Tumbleweed is a rolling distro with quite frequent kernel updates and this might cause occasional hiccups with Nvidia drivers not updated at the same time.
So if you are prepared to giving up gaming occasionally, Tumbleweed and SUSE Prime may be a viable solution.
I would not recommend TW on a “game station” unless you are prepared to tweak your system a few times a year…
[ul]
[li]i got this reddit help from VortexAcherontic[/li]
on reddit but it didnt worked, i did “prime-select nvidia” in terminal it told me to reboot to apply changes and i did. then i did “prime-select” nvidia again to make sure it works and output is shown on this picture: https://i.imgur.com/1cweJYA.png and i tought it works, but when i fire up Minecraft for example it still uses Intel gpu as shown on this picture: https://i.imgur.com/U8Cpp0A.png
Enable the NVidia repository (if not already)
[LIST]
[li]YaST[/li]
[li]Software Repositoreis[/li]
[li]Add[/li]
[li]Community-Repositories[/li]
[li]NVIDIA repository[/li]
[/ul]
[li]Install or Remove software[/li]
[li]install suse-prime (or suse-prime-bbswitch if you want to use power management on your GPU so that it is turned off if it is not used)[/li]
[li]Reboot[/li]
[/LIST]
After this you should be able to switch GPUs by typing either:
prime-select nvidia
or
prime-select intel
There is a KDE widget to toggle GPUs via UI but that one didn’t worked for me right in the past so I avoid it.
If your system is up to date (20200116) and running the 5.4.10-1-default, hopefully the nvidia driver is working as it’s only built for the old kernel…
Hi
So you haven’t installed the nvidia drivers and still using nouveau, I would suggest waiting until the nvidia drivers are updated to match your running kernel…
Or you can install what you have and see if it rebuilds… I always install the hard way, for me it seems easier…
Your card 810M is only supported on the 04 drivers 390.xx series, at some point you will have fun with that driver on Tumbleweed as the kernel changes, patches might be needed, but that will be down the road…
oh thank you, i installed nvidia driver
now how do i swotch to it
i also have some error when booting it takes me to command line instead of display manager and when i try to run startx i get error and when i run startx again it actually work and i’m able to use the computer.
sorry if i’m annoying this is the error log from /home/viktor/.local/share/xorg/Xorg.1.log
165.466]
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
165.466] Build Operating System: openSUSE SUSE LINUX
165.466] Current Operating System: Linux localhost.localdomain 5.4.10-1-default #1 SMP Thu Jan 9 15:45:45 UTC 2020 (556a6fe) x86_64
165.466] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.10-1-default root=UUID=b1225a82-fa3d-42c6-bd2e-ff16987de897 splash=silent resume=/dev/disk/by-id/ata-KINGSTON_SUV500120G_50026B7682131F67-part3 mitigations=auto quiet
165.467] Build Date: 29 November 2019 12:00:00PM
165.467]
165.467] Current version of pixman: 0.36.0
165.467] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
165.467] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
165.473] (==) Log file: "/home/viktor/.local/share/xorg/Xorg.1.log", Time: Sat Jan 18 20:08:26 2020
165.474] (==) Using config directory: "/etc/X11/xorg.conf.d"
165.474] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
165.474] (==) ServerLayout "layout"
165.474] (**) |-->Screen "intel" (0)
165.474] (**) | |-->Monitor "<default monitor>"
165.475] (**) | |-->Device "intel"
165.475] (==) No monitor specified for screen "intel".
Using a default monitor configuration.
165.475] (==) Automatically adding devices
165.475] (==) Automatically enabling devices
165.475] (==) Automatically adding GPU devices
165.475] (==) Max clients allowed: 256, resource mask: 0x1fffff
165.475] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
165.475] Entry deleted from font path.
165.475] (==) FontPath set to:
/usr/share/fonts/misc:unscaled,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/ghostscript/,
/usr/share/fonts/cyrillic:unscaled,
/usr/share/fonts/truetype/,
built-ins
165.475] (==) ModulePath set to "/usr/lib64/xorg/modules"
165.475] (WW) Ignoring unrecognized extension "XFree86-DGA"
165.475] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
165.475] (II) Loader magic: 0x55be7ffc9d00
165.475] (II) Module ABI versions:
165.475] X.Org ANSI C Emulation: 0.4
165.475] X.Org Video Driver: 24.0
165.475] X.Org XInput driver : 24.1
165.475] X.Org Server Extension : 10.0
165.477] (++) using VT number 2
165.491] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
165.492] (II) xfree86: Adding drm device (/dev/dri/card0)
165.496] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
165.503] (--) PCI:*(0@0:2:0) 8086:5a85:1043:16a0 rev 11, Mem @ 0xa4000000/16777216, 0x80000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
165.503] (--) PCI: (3@0:0:0) 10de:0fee:1043:137e rev 161, Mem @ 0xa2000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x0000c000/128, BIOS @ 0x????????/524288
165.503] (II) LoadModule: "glx"
165.503] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
165.504] (II) Module glx: vendor="X.Org Foundation"
165.505] compiled for 1.20.6, module version = 1.0.0
165.505] ABI class: X.Org Server Extension, version 10.0
165.505] (II) LoadModule: "modesetting"
165.505] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
165.505] (II) Module modesetting: vendor="X.Org Foundation"
165.505] compiled for 1.20.6, module version = 1.20.6
165.505] Module class: X.Org Video Driver
165.505] ABI class: X.Org Video Driver, version 24.0
165.505] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
165.505] (EE)
Fatal server error:
165.505] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
165.505] (EE)
165.505] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
165.507] (EE) Please also check the log file at "/home/viktor/.local/share/xorg/Xorg.1.log" for additional information.
165.507] (EE)
165.507] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
165.507] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
165.546] (EE) Server terminated with error (1). Closing log file.
i have some error when booting it takes me to command line instead of display manager and when i try to run startx i get error and when i run startx again it actually work and i’m able to use the computer.
sorry if i’m annoying this is the error log from
/home/viktor/.local/share/xorg/Xorg.1.log
i also have trouble when i want to open any app gui with sudo command
viktor@localhost:~> sudo mousepad /home/viktor/.local/share/xorg/Xorg.1.log
[sudo] password for root:
Unable to init server: Could not connect: Connection refused
Cannot open display:
log from
/home/viktor/.local/share/xorg/Xorg.1.log
how did i get it? i did open it with nano and saved it to the desktop using ctrl+x.
and also how do i contact OrsoBruno you told me about or if someone know how to switch to nvidia driver, because i did checked in game and it still show intel integrated gpu.
That log reports the proprietary driver was not used. You can see that from the many lines that say modeset(, which would say nvidia( if it was in use. It didn’t fail to load the nvidia driver. It didn’t even try.
The modesetting DDX in use as a newer technology is preferred to the nouveau DDX and to the intel DDX, and the upstream default, which explains its use. Both the Intel and the NVidia GPUs can use that same DDX. How that interplays with Optimus or Prime I can’t say, as I have no such hardware.
I don’t see anything in the log to explain why the greeter doesn’t appear. What I do know is there is a history of reports of trouble with NVidia’s proprietary drivers used in conjunction with the Plymouth software installed by openSUSE by default. Your next best move might be to try disabling Plymouth. This can be tested by including a kernel command line parameter via the E key at the Grub menu, appended at the end of the line that begins with linu. It will be either noplymouth, plymouth=0 or plymouth.enable=0. I don’t know which, or if all or some pair are equivalent, since I always keep Plymouth uninstalled (and thus can’t experiment), which is what you can do if disabling it works. Alternatively, permanent disabling is done by including whichever parameter worked on the GRUB_CMDLINE_LINUX_DEFAULT= line and regenerating grub.cfg, most easily done using YaST2 Bootloader.