and I use the Kernel 5.10.
I tried to install the Nvidia Driver via Manjaro Settings Auto Install Open-Source and Proprietary Driver and none seem to work.
The Driver is not detected Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: N/A.
You need to run stuff you want on the nvidia card with prime-run if you intend to use nvidia’s real prime offloading support.
Example: prime-run glxinfo -B prime-run glxgears prime-run firefox
what do you get if you run that?
Thanks, I get the following if I run these commands:
prime-run glxinfo -B
name of display: :1
display: :1 screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 4096 MB
Total available memory: 4096 MB
Currently available dedicated video memory: 3906 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1650/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 460.73.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 460.73.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 460.73.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
and
prime-run glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
10662 frames in 5.0 seconds = 2130.741 FPS
10633 frames in 5.0 seconds = 2126.486 FPS
10387 frames in 5.0 seconds = 2077.345 FPS
10144 frames in 5.0 seconds = 2026.024 FPS
10221 frames in 5.0 seconds = 2044.071 FPS
10079 frames in 5.0 seconds = 2015.713 FPS
9677 frames in 5.0 seconds = 1935.331 FPS
10090 frames in 5.0 seconds = 2017.739 FPS
10134 frames in 5.0 seconds = 2026.753 FPS
10171 frames in 5.0 seconds = 2034.198 FPS
10371 frames in 5.0 seconds = 2072.837 FPS
9309 frames in 5.0 seconds = 1858.688 FPS
13718 frames in 5.0 seconds = 2743.520 FPS
14649 frames in 5.0 seconds = 2929.694 FPS
15012 frames in 5.0 seconds = 3002.255 FPS
14618 frames in 5.0 seconds = 2920.123 FPS
13911 frames in 5.0 seconds = 2782.194 FPS
12856 frames in 5.0 seconds = 2571.137 FPS
13830 frames in 5.0 seconds = 2765.881 FPS
11910 frames in 5.0 seconds = 2381.964 FPS
13120 frames in 5.0 seconds = 2623.872 FPS
9993 frames in 5.0 seconds = 1998.505 FPS
You don’t actually need the switch you can just use the prime-run command like @anon89812132 said. Personally I run everything on the intergrated gpu and then use lutris for launching games/steam. In lutris just tick the prime render offload option and then all games will automatically run on the nvidia card
Thanks, so I reinstalled Manjaro with booting into proprietary drivers and if I open kdenlive for example with prime-run kdenlive in the terminal, then it seems to work.
Thanks a lot.
You can add kdenlive to your desktop and then right click/edit and go into properties. If you edit the launch command there by putting prime-run infront of it everytime you launch it from desktop it will run on nvidia card. Bit nicer than using cli all the time