pursim / system76
Hello Everything is done
I ran
optimus-manager --switch hybrid
and --status
tells i’m in hybrid mode.
But i cant detect nvidia,
I ran this to know if nvidia is running but it didnt returned anything
$ lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Plus Graphics G7 [8086:8a52] (rev 07) (prog-if 00 [VGA controller])
// https://askubuntu.com/a/503438
I also didnt found that nvidia-xserver-settings
tray icon , like below
But i’ve done all as you said previously, Is there something i lost or missed?
Thank you
This is not needed.
GNOME will automatically offload 3D applications to the dGPU and use the iGPU for all other software.
You can also use prime-run
to explicitly run applications on the dGPU.
optimus-manager
is like bumblebee
: it’s only really needed by older laptops and drivers.
Perhaps you removed the driver package?
i’m confused
-> Could not find all required packages:
prime-run (Target)
prime-run package is not avaialble.
I’ve already installed using yay -S nvidia-470xx-dkms
and installed optimius-manager
also qt . and setup for gdm.
If prime-run
to explicitly run applications on the dGPU, tell me how can i do this or please provide me some link on this forum to do this or give me your knowledge .
Thank you
https://wiki.archlinux.org/title/PRIME#PRIME_render_offload
However, if you’ve configured your system to use optimus-manager
then the built-in render offload may not work as expected: https://wiki.archlinux.org/title/NVIDIA_Optimus
(On both NVIDIA laptops I have, one using 495xx and one using 470xx, I didn’t have to do anything special to get render offload to work - after installing the nvidia drivers and enabling modesetting, everything “just worked”).
Oh then in modern systems only installing yay -S nvidia-470xx-dkms
would solve my problem . I dont need to use optimus hybrid because gnome handle it automatically ,
Thank you. I’ll remove that aur way of optimus , gdm-aur and use native and will reply if happens
Thank you for having here
I removed gdm-prime, optimus-manager , nvidia-470xx-dkms and reinstalled gdm, again installed nvidia-470xx-dkms i rebooted, i think that driver is still not running . i also didnt found that nvidia-xorg-settings
in apps, as i used to be in other distro .
I’ve downloaded that prime-select
nvidia-prime package but it is not working as i cant see nvidia package in application list
NVIDIA Settings is in the nvidia-settings
package (or nvidia-470xx-settings
if you’re using 470xx).
Why? What’s the output of inxi -Ga
and nvidia-smi
?
You can use the 495 series driver as well, and I guess it is a better choice than 470 in the long run.
I’m confused by this? as optimus -manager say’s “Optimus-Manager for Nvidia [for nvidia-latest driver and newer systems supported by that driver]”
Render offload is supported by default - with modern NVIDIA GPUs there are very few reasons to switch between hybrid and discrete, and none I can think of to use integrated-only.
Well i wish i could understand all these things better. It’s hard to know what to say other than don’t buy Hybrid or Nvidia!
Hello
inxi -Ga
gives this output
Graphics:
Device-1: Intel Iris Plus Graphics G7 vendor: Dell driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:8a52 class-ID: 0300
Device-2: NVIDIA GP108M [GeForce MX230] vendor: Dell driver: nvidia
v: 470.94 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1d11
class-ID: 0302
Device-3: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-6:2 chip-ID: 0bda:5520 class-ID: 0e02 serial: 200901010001
Display: x11 server: X.Org 1.21.1.3 compositor: gnome-shell v: 41.2
driver: loaded: intel,nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa display-ID: :1 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 143
size: 340x190mm (13.4x7.5") diag: 389mm (15.3")
OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2)
v: 4.6 Mesa 21.3.3 direct render: Yes
and nvidia-smi
gives
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.94 Driver Version: 470.94 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 51C P8 N/A / N/A | 4MiB / 2002MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2418 G /usr/lib/Xorg 4MiB |
+-----------------------------------------------------------------------------+
Manuel told me to download 495 version of driver os i’m removing 470 as yay -Rs nvidia-470xx-dkms
Hi @manuel would you please tell me how can i download 495 version of drivers. I think its not avaialble in aur as i searched yay -Ss nvidia-495xx-dkms
and with that please also tell me how can i get that nvidia-470xx-settings
but for 495
version of nvidia.
Appretiate you guys.
495 is in the Arch repos, so you can install the nvidia-dkms
package (note: no 470xx
in the package name), and also similarly replace all packages with 470xx in their names.
To see which packages to replace:
pacman -Qs nvidia | grep 470xx
Then sudo pacman -R
those packages.
Then sudo pacman -S
the new replacement packages.
Hello i on that command, I’ve found nvidia-470xx-utils
remaining and I’m removing those using
sudo pacman -Rs nvidia-470xx-utils
and after it shows nothing , means 470 are all removed.
That means i can install 495 version just by using
pacman -S nvidia-dkms
aummm do i need to configure sudo vim /etc/gdm/custom.conf
to uncomment #WaylandEnable=false
or pacman would do it automatically.
Thanks i’m installing that
I don’t think that is related to pacman nor nvidia driver, and pacman hardly does anything to that.
I’ve installed that nvidia-dkms
and also nvidia-settings
.
My gnome automatically changed to X11
but i cant know if my nvidia driver is running
running nvidia-smi
though shows, and also inxi -Ga
shows my nvidia driver as previouly .
But How can i be sure that it is running ?
When i go to gnome applications menu and right click i get
Sorry, no supported nvidia driver found for your g…
In other distro i used to get option like open in descrete grahics
like
it is so difficult to run nvidia on my machine , i dont know if i’m only one having such problem in this world.
Why don’t you use Optimus and switch to Nvidia instead of the command above to hybrid?
optimus-manager --switch nvidia
Also note that if you simply install Nvidia driver, your laptop will still run Intel if you don’t use Optimus manager. But you can connect an external monitor and it should switch on Nvidia for that monitor. You can check by opening nvidia-settings. Assuming you installed correctly your Nvidia driver.
inxi -Ga
Which driver is installed now?
Hello innxi -Ga
gives me this
Graphics:
Device-1: Intel Iris Plus Graphics G7 vendor: Dell driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:8a52 class-ID: 0300
Device-2: NVIDIA GP108M [GeForce MX230] vendor: Dell driver: nvidia
v: 495.46 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1d11
class-ID: 0302
Device-3: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-6:2 chip-ID: 0bda:5520 class-ID: 0e02 serial: 200901010001
Display: x11 server: X.Org 1.21.1.3 compositor: gnome-shell v: 41.2
driver: loaded: intel,nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa display-ID: :1 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 143
size: 340x190mm (13.4x7.5") diag: 389mm (15.3")
OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2)
v: 4.6 Mesa 21.3.3 direct render: Yes
I had previously installed that optimus-manager
but with 470, but later jonathon told not to
Because Newer gnome already gives hybrid as
and i removed optimus and i installed just from pacman, removing those gdm-prime
all those which needs to setup with optimus-manager
.
what should i do?
I don’t know about that.
For me hybrid/Intel work both if I connect an external monitor, Intel on laptop and Nvidia on monitor. The Nvidia never switches on automatically on the laptop. My hardware is 1-2 years old and I also used gnome in September 2021 but not using it now.
The second option to use optimus-manager if you want to switch regularly Intel and Nvidia on your laptop screen via terminal or tray icon. Bumblebee I would not touch.
The 3rd option for me is to only run Nvidia by disabling hybrid in bios/uefi but it requires some nouveau blacklisting on boot in grub.
I don’t know anything about prime an other options, these never worked or were too complicated for me.
You can wait to get an answer from @jonathon if you followed his advice. May be easier to troubleshoot, or see whether you misunderstood him