Integrated graphics performance is poor when hybrid driver is installed

I have a new laptop, with plenty of CPU & GPU power (Ryzen 7 5800H & NV RTX 3060), but my last system wasn’t bad either (i7 7700H / GTX 1050 Ti). I noticed performance on the desktop (Gnome 43) is about the same as my last system–sluggish–when proprietary drivers are used in a hybrid scenario (Desktop: integrated / 3D Apps: discrete).

I had to resize my partitions and USB live-booted using the Open Source drivers, and the Gnome desktop responsiveness and smoothness is something to behold (144hz)!! Stunning. Seeing as most of the time I’m on the desktop but I do play a few games, I would love to have my cake and eat it.

I used to use NV Prime on Manjaro but TBH the only difference vs default hybrid set-up seems to be I get to pick which one at a given time. So it doesn’t solve the issue.

  • Is there a reason why only one is good (desktop with open source or 3d with proprietary)?
  • And can anything be done to get my desktop running smoothly as well as 3d apps?

…this next to the rest of the story leaves me confused.

What exactly were you using before and what are you using now?

What did you install and how did you do that?

Ex:

inxi -av7zy
mhwd -l -d

Sorry for the confusion. I guess what I mean to say was that in the past I had used the manual configuration for setting up Prime for manjaro as according to the instructions available whereas the default proprietary configuration is a hybrid automatic switching when moving between desktop 2d apps and eg full-screen 3d apps (games, etc).

inxi -av7zy:

  Kernel: 6.2.13-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.2-x86_64
    root=UUID=293fba23-2965-419e-bbb1-8fb4ea790fe7 rw rootflags=subvol=@ quiet
    splash apparmor=1 security=apparmor udev.log_priority=3
  Desktop: GNOME v: 43.5 tk: GTK v: 3.24.37 wm: gnome-shell dm: GDM v: 44.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA506QM_TUF506QM
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: FA506QM v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: FA506QM.311 date: 06/06/2022
Battery:
  ID-1: BAT1 charge: 41.8 Wh (50.2%) condition: 83.3/90.2 Wh (92.3%)
    volts: 15.1 min: 15.9 model: ASUS A32-K55 type: Li-ion serial: N/A
    status: discharging
Memory:
  System RAM: available: 15.03 GiB used: 7.96 GiB (52.9%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 1599 high: 3200 min/max: 1200/4462 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1200 2: 1396
    3: 1198 4: 1200 5: 3200 6: 1200 7: 1200 8: 3200 9: 1396 10: 3200 11: 1200
    12: 1200 13: 1198 14: 1200 15: 1200 16: 1200 bogomips: 102241
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK
    driver: nvidia v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:2520 class-ID: 0300
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: HDMI-A-1,eDP-1 empty: none
    bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 45.0 C
  Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:3 chip-ID: 322e:202c
    class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau,radeon alternate: fbdev,nv,vesa dri: radeonsi
    gpu: amdgpu display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-size: <missing: xdpyinfo>
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 pos: right model: Sony TV
    serial: <filter> built: 2010 res: 1920x1080 hz: 60 dpi: 30 gamma: 1.2
    size: 1600x900mm (62.99x35.43") diag: 1836mm (72.3") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  Monitor-2: eDP-1 mapped: eDP pos: primary,left
    model: Najing CEC Panda 0x004d built: 2019 res: 1920x1080 hz: 144 dpi: 142
    gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
    modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.49 6.2.13-1-MANJARO) direct-render: Yes
Audio:
  Device-1: NVIDIA GA106 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:228e class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
    snd_sof_amd_rembrandt pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.2.13-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 0.3.70 status: off tools: pw-cli
  Server-4: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-3:2 chip-ID: 13d3:3563
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-022553bf-7102-4eda-8f50-5ce1b75436d4 maj-min: 254:0
    type: LUKS dm: dm-0 size: 393.69 GiB
  Components:
  p-1: nvme0n1p3 maj-min: 259:3 size: 393.69 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.43 TiB used: 940.94 GiB (64.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLQ512HBLU-00B00
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: FXM7201Q temp: 33.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: A-Data model: USB Flash Drive
    size: 58.88 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 3.0
    spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: SSD serial: <filter>
    fw-rev: 1.00 scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10EAVS-00D7B1
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 2.0 spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter>
    fw-rev: 1.75 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 60 GiB size: 60 GiB (100.00%) used: 29.16 GiB (48.6%)
    fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7 label: root
    uuid: 293fba23-2965-419e-bbb1-8fb4ea790fe7
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 28.3 MiB (11.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: SYSTEM uuid: 9620-CC95
  ID-3: /home raw-size: 393.69 GiB size: 373.69 GiB (94.92%)
    used: 368.07 GiB (98.5%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-022553bf-7102-4eda-8f50-5ce1b75436d4 label: home
    uuid: 4d937004-9467-4ef8-8201-656b28574806
  ID-4: /run/media/sam/EXT_BKUP raw-size: 931.51 GiB
    size: 931.51 GiB (100.00%) used: 543.68 GiB (58.4%) fs: btrfs dev: /dev/sdb1
    maj-min: 8:17 label: EXT_BKUP uuid: 498e2912-5101-4c5d-a73a-1be0819cb132
  ID-5: /var/cache raw-size: 60 GiB size: 60 GiB (100.00%)
    used: 29.16 GiB (48.6%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
    label: root uuid: 293fba23-2965-419e-bbb1-8fb4ea790fe7
  ID-6: /var/log raw-size: 60 GiB size: 60 GiB (100.00%)
    used: 29.16 GiB (48.6%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
    label: root uuid: 293fba23-2965-419e-bbb1-8fb4ea790fe7
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p4 maj-min: 259:4 size: 800 MiB fs: ntfs label: RECOVERY
    uuid: 90A827CAA827AE22
  ID-3: /dev/nvme0n1p5 maj-min: 259:5 size: 22 GiB fs: ntfs label: RESTORE
    uuid: D844C54244C5245A
  ID-4: /dev/nvme0n1p6 maj-min: 259:6 size: 200 MiB fs: vfat label: MYASUS
    uuid: 68C5-B3B0
  ID-5: /dev/sda1 maj-min: 8:1 size: 3.8 GiB fs: iso9660
  ID-6: /dev/sda2 maj-min: 8:2 size: 4 MiB fs: vfat label: MISO_EFI
    uuid: 9E59-F120
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-2:2 info: VIA Labs VL813 Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 2109:2813
    class-ID: 0900
  Device-1: 1-2.1:4 info: Microsoft Wireless keyboard (All-in-One-Media)
    type: keyboard,mouse,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 045e:0800 class-ID: 0300
  Hub-3: 1-2.2:5 info: Dell Multimedia Pro Keyboard Hub ports: 3 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA chip-ID: 413c:1005
    class-ID: 0900
  Device-1: 1-2.2.1:7 info: Dell Multimedia Pro Keyboard type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 90mA chip-ID: 413c:2011 class-ID: 0300
  Device-2: 1-2.3:6 info: Pixart Imaging Optical Mouse type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 093a:2521 class-ID: 0301
  Device-3: 1-2.4:8 info: Western Digital My Book Essential Edition 2.0
    (WDH1U) type: mass storage driver: usb-storage interfaces: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 2mA
    chip-ID: 1058:1100 class-ID: 0806 serial: <filter>
  Device-4: 1-4:3 info: Sonix USB2.0 HD UVC WebCam type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 322e:202c class-ID: 0e02
  Hub-4: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 2-2:2 info: VIA Labs VL813 Hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 2109:0813
    class-ID: 0900
  Hub-6: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-3:2 info: IMC Networks Wireless_Device type: bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
  Hub-7: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 4-1:2 info: A-DATA ADATA USB Flash Drive type: mass storage
    driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s)
    lanes: 1 mode: 3.2 gen-1x1 power: 304mA chip-ID: 125f:de7a class-ID: 0806
    serial: <filter>
Sensors:
  System Temperatures: cpu: 54.5 C mobo: N/A gpu: amdgpu temp: 45.0 C
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 463 Uptime: 2h 2m wakeups: 2 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
  Packages: 1481 pm: pacman pkgs: 1466 libs: 462 tools: gnome-software,pamac
  pm: flatpak pkgs: 15 Shell: Zsh v: 5.9 running-in: gnome-terminal
  inxi: 3.3.27

mhwd -l -d

--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.1/0000:02:00.0 (0200:10ec:8168)
  Network controller Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
--------------------------------------------------------------------------------
  > AVAILABLE:

   NAME:	network-r8168
   ATTACHED:	PCI
   VERSION:	2016.04.20
   INFO:	RealTek RTL-8168 Gigabit Ethernet driver
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0200 
   VENDORIDS:	1186 10ec 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:01.1/0000:01:00.0 (0300:10de:2520)
  Display controller nVidia Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-amd-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2023.03.23
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:	8
   FREEDRIVER:	false
   DEPENDS:	video-linux 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 1002 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 



  > AVAILABLE:

   NAME:	video-hybrid-amd-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2023.03.23
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:	8
   FREEDRIVER:	false
   DEPENDS:	video-linux 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 1002 

   NAME:	video-hybrid-amd-nvidia-470xx-prime
   ATTACHED:	PCI
   VERSION:	2023.03.23
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:	7
   FREEDRIVER:	false
   DEPENDS:	video-linux 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 1002 

   NAME:	video-nvidia
   ATTACHED:	PCI
   VERSION:	2023.03.23
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	5
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   NAME:	video-nvidia-470xx
   ATTACHED:	PCI
   VERSION:	2023.03.23
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	4
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

   NAME:	video-vesa
   ATTACHED:	PCI
   VERSION:	2017.03.12
   INFO:	X.org vesa video driver.
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:08.1/0000:05:00.0 (0300:1002:1638)
  Display controller ATI Technologies Inc Cezanne
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-amd-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2023.03.23
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:	8
   FREEDRIVER:	false
   DEPENDS:	video-linux 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 1002 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 



  > AVAILABLE:

   NAME:	video-hybrid-amd-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2023.03.23
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:	8
   FREEDRIVER:	false
   DEPENDS:	video-linux 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 1002 

   NAME:	video-hybrid-amd-nvidia-470xx-prime
   ATTACHED:	PCI
   VERSION:	2023.03.23
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:	7
   FREEDRIVER:	false
   DEPENDS:	video-linux 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 1002 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

   NAME:	video-vesa
   ATTACHED:	PCI
   VERSION:	2017.03.12
   INFO:	X.org vesa video driver.
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 


Warning: no configs for USB devices found!

Manually installing the packages and then using prime-run, or a collection of env vars when necessary?

This is why I am confused.

But in neither case would it be automatic … you would still need to use PRIME to switch somehow.

As it is now, seems to be the correct configuration … at least as far as the drivers/profile.
(amdgpu+nvidia)

Prliminary test:

glxinfo | grep "renderer string"
prime-run glxinfo | grep "renderer string"

And just so we are clear again … so this is in comparison to using the video-linux profile ?
(in which case it would be amdgpu+nouveau)

glxinfo | grep “renderer string”

OpenGL renderer string: AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.49, 6.2.13-1-MANJARO)

prime-run glxinfo | grep “renderer string”

OpenGL renderer string: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2

Yes, basically just some graphics file modifications. I can’t seem to find the original guide right now but basically this is the concept:

If I’m not mistaken, when running in hybrid it auto loads the proprietary graphics for high performance but on returning to the desktop it uses the integrated graphics for better power saving. This process is automatic. When I had the manual Prime config I was able to run the proprietary driver full-time for example using the manual switch. Integrated performance was still poor however.

Yes I think that’s correct. I have the following installed:

For Nvidia & Cezanne AMD:

  • video-hybrid-amd-nvidia-prime
  • video-linux (open source)

So those meaning video-linux just … as in amdgpu and nouveau … in which you must envoke DRI_PRIME=1 just like above, but the difference being that using that env var would result in nouveau.

Which I believe is different than what you are referring to here:

Which might be referring to some software like ‘optimus-manager’ or ‘optimus-switch’ which provides a way to select ‘nvidia’ or ‘amd’ or ‘hybrid’. But you are mistaken. All hybrid means is that it works as already illustrated here: you can envoke PRIME. With the other options being only one gpu or the other with no ability to switch. Nothing is automatic. You would still need to use prime-run to engage the nvidia card in that mode.


On to your current problem…
Given the previous confusion … it is possible the comparison is in error.
You can easily test this by removing the hybrid profile (/and reinstalling video-linux if desired).

EDIT: I’ve just tried the live image (open driver only) with X11 instead of Wayland and managed to get the poor performance. So it now looks as though it was Wayland providing the solution and X11 the problem. Now my question is, how to force Wayland on Hybrid graphics?

EDIT 2: OK I’ve managed to finally get the best of both worlds using this Guide: [HowTo] Use Wayland with proprietary NVIDIA drivers. Now, using Wayland I’ve got lovely smooth integrated graphics desktop performance to go with good Nvidia performance. It’s funny because I had followed that guide at least 10 times on my previous system and never managed to make it work.

Thanks for your help and responses cscs.

When the live image is booted only the video-linux is installed/running according Manjaro Settings, and the Gnome desktop performance on integrated graphics is superb (it’s loaded Wayland but I don’t believe that’s the sole reason for good performance based on past experience). What I’m trying to understand is:

why is integrated performance good only without the prescence of a hybrid/proprietary driver set-up?

With the Proprietary hybrid install, I don’t manually add the env var so it must be done automatically. it includes both drivers and I’m getting good 3d performance in games etc, but when I’m on the desktop, animations are sluggish. BTW I forgot to mention I have dual monitors and I’ve noticed this configuration takes a performance hit when there are 2+ screens connected.

Most of my games are run through Steam with Proton. Could it be that Steam is envoking the env var?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.