can not open "NVIDIA x server setting", how know it work

To restart x server you should log out of your DE and open a virtual terminal (ctrl+alt+F1). Login as root (or use sudo) then:

systemctl restart *display-manager*

Note: “display-manager” should call the correct display manager service, here it is sddm.
Then logout and go back to the graphic terminal using ctrl+alt+F7. It might be easier to just restart the box. :wink:

For the updating, a regular zypper up should be ok. In Leap the kernel usually isn’t changed except for security patches. These patches are pulled with zypper up automatically. The nvidia modules usually remain compatible. Or do you want to change from -preempt to -default? (I’m using YaST for more complex tasks, I have to admit.)

But after all I’m not sure if /etc/x11/xorg.conf is required or helpful at all. I don’t have any. You will see if it worked after restarting X. You may use/post:

inxi -G

to see if it helped. If it didn’t help, there is another thing to know:
Your system has got an intel and an nvidia gpu. This is called optimus. There is a tool called suse-prime (nice pun, isn’t it?)
BTW, sudo isn’t usually required in the (open)SUSE world. You can become root with

su -

As root:

zypper in suse-prime

then:

prime-select -h

to see the options. You can check with --get-current and then of course:

prime-select nvidia

You need to log out and in again.

1- when check after restart the display manager find same problem (NVIDIA server show same message).

2- find “suse-prime”, already installed. After used it i lose the desktop background and it turn to black.

3- after log out and back log in, find the cinnamon evierment lost, drop back to before install cinnamon.

4- the mouse pointer cross the screen border " you know it like it leave my screen and go to another screen", it’s laptop and there’s only one screen.

5- now I can not login, can not fund mouse pointer on login screen, the login rectangular did not appear also. So am kept out.

6- is there’s soluation or at least did I can use ctr+alt+f1 to undo what “suse-prime” do and back to old setting?

as I can not log to lap and use small phone, it hard to search, read.

Hi
Did you try a reboot? I don’t use suse-prime, just offload which is why I asked for the xrandr output to guide further…

1_ After wait until get cool, I use Ctrl+alt+f1, user log, root log.

2- first I try “prime-select unset”, but it did not work. So I back again and use " prime-select Intel", restart and it work(cinnamon back) and same for screen boundary limit for mouse pointer.

i try reboot two or three time but nothing change. so i go away until get cool and think, then go back and use ctr+alt+f1 to run prime-select intel" and reboot to find cinnamon work again.

there’s intel and itel1, is it my choice (intel) true


intel:       use the Intel card with the "modesetting" driver
             PRIME Render Offload possible with >= 435.xx NVIDIA driver with prime-select service DISABLED
intel2:      use the Intel card with the "intel" Open Source driver (xf86-video-intel)


lsmod | grep nvidia
nvidia_drm             53248  0
nvidia_modeset       1056768  1 nvidia_drm
nvidia_uvm            872448  0
nvidia              15880192  8 nvidia_uvm,nvidia_modeset
ipmi_msghandler       114688  2 ipmi_devintf,nvidia
drm_kms_helper        258048  2 nvidia_drm,i915
drm                   614400  8 drm_kms_helper,nvidia_drm,i915


if there’s other way to install drivers am OK to remove current drivers and install it from beginner.

Hi
You need to slow down :wink: can you post the output from the previous lspci and xrandr command please.

greeting, result of lspci and xreandr as next:


~> /sbin/lspci -nnk | egrep -A3 "VGA|Display|3D"
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo Device [17aa:3977]
    Kernel driver in use: i915
    Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 620M/630M/635M/640M LE] [10de:0de9] (rev a1)
    Subsystem: Lenovo Device [17aa:3902]
    Kernel driver in use: nvidia
    Kernel modules: nouveau, nvidia_drm, nvidia


xrandr --listproviders
Invalid MIT-MAGIC-COOKIE-1 keyProviders: number : 1
Provider 0: id: 0x46; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 3; outputs: 4; associated providers: 0; name: modesetting
    output LVDS-1
    output VGA-1
    output HDMI-1
    output DP-1



side question, just for feature what is the type of this NVIDIA card. you know there’s a lot number (108, 620, 630, 635, 640). so when i go to this page Official Drivers | NVIDIA , i did not know what i should choose.

Hi
OK, so no offload possible, so it’s either bbswitch or suse-prime.

https://en.opensuse.org/SDB:NVIDIA_Bumblebee

https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime

You indicated prime did not work for your system? Please read above also are you running Xorg, not Wayland?

i do not know if i running Xorg or Wayland. but when search find we first need to know session id, and can do that by running next command

:
just type loginctl

# in my case the session id is 2 as showing in next result:

SESSION  UID USER SEAT  TTY
      2 1000 mk   seat0    

1 sessions listed.


now we can run next code, to know if we use Xorg or Wayland


# we take the session id that we find in past step and put it in next command (replace 2 by your session id)
loginctl show-session 2 -p Type

Type=x11


so find i use xorg. note: on from yast find installed packages for both Xorg and Wayland.

greeting

i know it away from using NVIDIA card it self, but if it OK hope tell me how you know that “so no offload possible” (how you know NVIDIA card did not work now, after install correct drivers)? also when i search about 'NVIDIA offload) find it some setting to change between NVIDIA card and Intel card depend on required load"

i start take fast look on two web pages (bbswitch, suse-prime), in suse-prime webpage find “Make sure you have no /etc/X11/xorg.conf”. when check my machine find this file and it continue setting. i think to give suse-prime another chance by deleting the file and try again.

as English not my first language it will take some time until understand(and little bit afraidlol!) , especially they direct me to another page continue more instruction for “Optimus laptop” (depend on what our friend **kasi042 **say, i own Optimus laptop).

Hi
Offload won’t work because no output from xrandr… whilst I’m an AMD, also have an nvidia card (this is a desktop)…


xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x58; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 5; outputs: 4; associated providers: 1; name: Radeon RX550/550 Series @ pci:0000:02:00.0
    output HDMI-A-0
    output HDMI-A-1
    output HDMI-A-2
    output HDMI-A-3
Provider 1: id: 0x215; cap: 0x2 (Sink Output); crtcs: 2; outputs: 2; associated providers: 1; name: NVIDIA-G0
    output DVI-D-1-0
    output HDMI-1-0

glxinfo | grep "OpenGL vendor"

OpenGL vendor string: AMD

 __NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia  glxinfo | grep "OpenGL vendor"

OpenGL vendor string: NVIDIA Corporation

1- so i follow the instruction in SDB:NVIDIA Bumblebee - openSUSE Wiki



 sudo zypper in bumblebee bbswitch (Installing bumblebee)  

   sudo usermod -aG bumblebee mk (Add user to the bumblebee group)

   sudo usermod -aG video mk (Add user to the video group)

   sudo systemctl enable bumblebeed (enable bumblebee)
sudo systemctl start bumblebeed (start bumblebee)

   echo "blacklist nouveau" | sudo tee -a /etc/modprobe.d/99-local.conf (Blacklist nouveau)
sudo mkinitrd


2- after that they say “If you plan to use 32bit apps (like steam), install required libraries”. as i do not plan so i do not install it.

3- after that they say "optional: install NVIDIA driver (If you want to use the advanced features of the secondary Nvidia graphics card, you can install the proprietary NVIDIA driver as follows). but as i already install them before i stop and go back to run lspci and xrender command and the result as next:


/sbin/lspci -nnk | egrep -A3 "VGA|Display|3D"
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo Device [17aa:3977]
    Kernel driver in use: i915
    Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 620M/630M/635M/640M LE] [10de:0de9] (rev ff)
    Kernel modules: nouveau, nvidia_drm, nvidia

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
    Subsystem: Lenovo Device [17aa:3975]


xrandr --listproviders
Invalid MIT-MAGIC-COOKIE-1 keyProviders: number : 1
Provider 0: id: 0x46; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 3; outputs: 4; associated providers: 0; name: modesetting
    output LVDS-1
    output VGA-1
    output HDMI-1
    output DP-1


4- if i understod correct our disscion, so depend on lspci and xrander results nividia did not in use. even it look like when use nividia dfault kernal with os preempt kernal. so i go back to follow the “optional: install NVIDIA driver”.

5- first step in “optional: install NVIDIA driver” they say “Make sure all lines in /etc/ld.so.conf.d/nvidia-gfxG*.conf”, but this directory only one file his name is “graphviz.conf”. even when i search for all system i did not find file named nvidia-gfxG*.conf (i search for gfxG4, 5 and also with *).

6- did i need to create it or just go to next step. also as the title is “optional: install NVIDIA driver”, so did i need unistall the current nvidia drivers?

you know it’s first time deal with graphic card, it’s very hard to set it with linux:'(.

Hi again,

@naive2021, Thank you very much for the compliments. I’m doing my best. But I have to point out that Malcolm is much more experienced and sophisticated than I am. I’m just an interested user trying to help. However, your question and the result of this:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 620M/630M/635M/640M LE] [10de:0de9] (rev a1)
    Subsystem: Lenovo Device [17aa:3902]
    Kernel driver in use: nvidia
    Kernel modules: nouveau, nvidia_drm, nvidia

made me think.
I have been searching for GF108M without result. I’d assume it’s the GeForce 100M series. GeForce GT 620M/630M etc. lead me here:
Linux x64 (AMD64/EM64T) Display Driver | 390.144 | Linux 64-bit | NVIDIA
The G05 driver.
Searching for 100M series leads me here:
Geforce Driver Results | NVIDIA
Now, that’s the G03 driver which has been discontinued. And even on that page I can’t find GF108M but only 105M and 110M.
This one tells me the 108 is “fermi”: NVIDIA GF108 GPU Specs | TechPowerUp GPU Database

And on an NVidia Forum page which I can’t find anymore the support said in one thread “fermi is not supported (anymore?)”. So, I’m not sure what this exactly means:
GF108M [GeForce GT 620M/630M/635M/640M LE]
It seems to be misleading. If 108M is the GPU I’m afraid you might not have a driver from the repository available.
This is where I’m at my wits’ end and Malcolm may have more profound knowledge.

Funfact: I wanted to show my optimus config but I seem to have lost my intel due to the last line of my dmesg “broken atomic…”:

  983.089103] ***broken atomic modeset userspace detected, disabling atomic
***
**pluto:~ #** inxi -G

**Graphics:  Message:** No device data found.  
           **Device-1:** Quanta **type:** USB **driver:** uvcvideo  
           **Display:****server:** X.Org 1.20.3 **driver:****loaded:** modesetting,nvidia **resolution:** 1920x1080~60Hz  
           **OpenGL:****renderer:** GeForce MX150/PCIe/SSE2 **v:** 4.6.0 NVIDIA 390.144 

So I’m left with my nvidia card which is fine by me now. However, can you post your “inxi -G”? Just to see if it is referring to GF108M only, or to GT6xx as well?

all thanks for you both, really thanks. as this first time deal with graphic card + system administration, it’s impossible to do any thing without support of you and our friend @Malcolm.

out pout of inxi -G (show same result, if i understand correct)


inxi -G
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
  Device-2: NVIDIA GF108M [GeForce GT 620M/630M/635M/640M LE] driver: N/A 
  Device-3: Acer Lenovo Integrated Webcam type: USB driver: uvcvideo 
  Display: x11 server: X.Org 1.20.3 driver: modesetting FAILED: nvidia 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) 
  v: 4.2 Mesa 20.2.4 


i keep thinking if installing opensuse generic version, then cinnamon one click can be connected with this problem. also is there’s chance if i install opensuse gnome the problem solve.
i do not know a lot about “broken atomic…”, but i hope you can find a solution and solve it easily (English my second language so did not catch all words, but still can get the over all meaning).

in my case the Funfact the laptop was come with preinstalled win os and work good, but i decide test linux on it. and the problem i follow in love with opensuse + debian OS and the most amazing environment from my side “cinnamon”.

I find it rather confusing this reference to GPU or “GPU product”. I think I mistook both:

So, gladly, your card is supported - I had a wrong apprehension:
http://us.download.nvidia.com/XFree86/Linux-x86_64/390.144/README/supportedchips.html
Here, with a different card but the same GPU, there is one hint:

Please set kernel parameter
nvidia-drm.modeset=1

It might be worth a try? Else, I don’t know. Probably Malcolm can give more advice?

many thanks friend. i will try with live cd (preset environment) and see what will happen. i normally run the machine without graphic card (do not need graphic card) but during assemble the machine find it so added it and try use it.

again many thanks for both of you

i reinstall opensuse but this time with gnome environment, then install cinnamon using terminal “sudo zypper in cinnamon”. after that run xrandr, lspci, uname -a. and gives me new results. if i understood correct that’s the normal results.

xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x8e; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 3; outputs: 4; associated providers: 1; name: modesetting
    output LVDS-1
    output VGA-1
    output HDMI-1
    output DP-1
Provider 1: id: 0x62; cap: 0x7 (Source Output, Sink Output, Source Offload); crtcs: 2; outputs: 1; associated providers: 1; name: nouveau
    output VGA-1-2

/sbin/lspci -nnk | egrep -A3 "VGA|Display|3D"
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo Device [17aa:3977]
    Kernel driver in use: i915
    Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 620M/630M/635M/640M LE] [10de:0de9] (rev a1)
    Subsystem: Lenovo Device [17aa:3902]
    Kernel driver in use: nouveau
    Kernel modules: nouveau

uname -a
Linux localhost.localdomain 5.3.18-57-default #1 SMP Wed Apr 28 10:54:41 UTC 2021 (ba3c2e9) x86_64 x86_64 x86_64 GNU/Linux



1- so with this new resualts is there’s chance to set it?
2- did the fourm rules require make new thired, or it’s ok to stay here?
3- this time i do not come near to nvidia, to be sure no interference happen betwwen what i do and your instration.

Hi
The xrandr output looks good now :slight_smile:

So does the following work with nouveau?


__NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER=nouveau __GLX_VENDOR_LIBRARY_NAME=nouveau  glxinfo | grep "OpenGL vendor

also the other problem (open as root) work correct now :slight_smile:

simple note: i did not do any thing for NVIDIA. by other words i did not add NVIDIA repository or install NVIDIA drivers. so should i run your command directly or should i install x11-video-nvidiaG04 and nvidia-glG04 first (before run your command)?

Hi
Yes, run that command as it is and see if it offloads with the nouveau driver.