Hi,
I followed the tutorial from https://archived.forum.manjaro.org/t/install-nvidia-prime-on-manjaro-18-1-4/114993 to get the NVIDIA offloading working but it seems that my GPU is always on (RTX 2070.
When I type
glxinfo | grep "OpenGL renderer"
the output is:
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)
and
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep "OpenGL renderer"
gives:
OpenGL renderer string: GeForce RTX 2070 with Max-Q Design/PCIe/SSE2
But If I launch, blender, vkcube or any other app, it doesn't matter if I append the env variables, it will always use my nvidia card
the output from inxi -Fx:
System: Host: legion Kernel: 5.4.2-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.0 Desktop: KDE Plasma 5.17.4
Distro: Manjaro Linux
Machine: Type: Laptop System: LENOVO product: 81UH v: Lenovo Legion Y740-15IRHg serial: <root required>
Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN serial: <root required> UEFI: LENOVO v: BVCN10WW(V1.06)
date: 06/06/2019
Battery: ID-1: BAT1 charge: 53.4 Wh condition: 54.2/57.4 Wh (95%) model: 74726570786C6543 324750334337314C status: Unknown
CPU: Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 12.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62431
Speed: 2600 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 2600 2: 2600 3: 2600 4: 2600 5: 2600 6: 2600 7: 2600
8: 2600 9: 2600 10: 2601 11: 2600 12: 2600
Graphics: Device-1: Intel UHD Graphics 630 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA TU106BM [GeForce RTX 2070 Mobile] vendor: Lenovo driver: nvidia v: 440.36 bus ID: 01:00.0
Display: x11 server: X.Org 1.20.6 driver: modesetting,nvidia resolution: 1920x1080~144Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) v: 4.5 Mesa 19.2.7 direct render: Yes
Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Device-2: NVIDIA TU106 High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k5.4.2-1-MANJARO
Network: Device-1: Intel Wireless-AC 9560 [Jefferson Peak] vendor: Bigfoot Networks driver: iwlwifi v: kernel port: 5000
bus ID: 00:14.3
IF: wlp0s20f3 state: up mac: a8:6d:aa:e8:10:cf
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000
bus ID: 3f:00.0
IF: enp63s0 state: down mac: 9c:5a:44:68:28:5c
Drives: Local Storage: total: 2.96 TiB used: 1.56 TiB (52.6%)
ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS256GD9TNG-L3A0B size: 238.47 GiB
ID-2: /dev/sda vendor: Seagate model: ST1000LM049-2GH172 size: 931.51 GiB
ID-3: /dev/sdb type: USB vendor: Western Digital model: WD Elements 25A2 size: 1.82 TiB
Partition: ID-1: / size: 233.44 GiB used: 21.10 GiB (9.0%) fs: ext4 dev: /dev/nvme0n1p2
Sensors: System Temperatures: cpu: 55.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 297 Uptime: 42m Memory: 15.52 GiB used: 3.55 GiB (22.9%) Init: systemd Compilers: gcc: 9.2.0
clang: 9.0.0 Shell: bash v: 5.0.11 inxi: 3.0.37
I tried different configs for Xorg but they all behaved like this.
Anyone have a clue on how to put my nvidia to "sleep" and only use it when invoking the env variables?
Thanks in advance