Unable to use prime-run with brave


these are my driver config i tried running

prime-run brave
prime-run brave --use-gl=desktop --enable-features=VaapiVideoDecoder --disable-features=UseChromeOSDirectVideoDecoder

but they didnt work, can anyone help me use brave with prime-run

You probably got some response to that terminal command that you used.
Some error message perhaps.
That response could be informative.

prime-run brave --use-gl=desktop --enable-features=VaapiVideoDecoder --disable-features=UseChromeOSDirectVideoDecoder

[29536:29536:1101/160041.512640:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29492:29492:1101/160041.514619:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
[29536:29536:1101/160041.515740:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29567:29567:1101/160041.634550:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29567:29567:1101/160041.638600:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29617:29617:1101/160041.879299:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29617:29617:1101/160041.883672:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29721:29721:1101/160042.052617:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29721:29721:1101/160042.056996:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29761:29761:1101/160042.168673:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29761:29761:1101/160042.172917:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29788:29788:1101/160042.256105:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29788:29788:1101/160042.258347:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29809:29809:1101/160042.308646:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29809:29809:1101/160042.312190:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29828:29828:1101/160042.353019:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29828:29828:1101/160042.356348:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29835:29835:1101/160042.381432:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29835:29835:1101/160042.384523:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29854:29854:1101/160042.422993:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29854:29854:1101/160042.425398:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29865:29865:1101/160042.452564:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29865:29865:1101/160042.456227:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29872:29872:1101/160042.486095:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[29872:29872:1101/160042.493413:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[29604:7:1101/160042.993369:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[29492:29492:1101/160044.727435:ERROR:sharing_service.cc(221)] Device registration failed with fatal error
[29492:29492:1101/160044.739967:ERROR:CONSOLE(4)] "Uncaught TypeError: Cannot read properties of undefined (reading 'toString')", source: chrome://gpu/info_view.js (4)
[29492:29492:1101/160044.742017:ERROR:CONSOLE(4)] "Uncaught TypeError: Cannot read properties of undefined (reading 'toString')", source: chrome://gpu/info_view.js (4)
[29492:29492:1101/160044.742937:ERROR:CONSOLE(4)] "Uncaught TypeError: Cannot read properties of undefined (reading 'toString')", source: chrome://gpu/info_view.js (4)
[29492:29492:1101/160044.744597:ERROR:CONSOLE(4)] "Uncaught TypeError: Cannot read properties of undefined (reading 'toString')", source: chrome://gpu/info_view.js (4)
[29492:29492:1101/160045.044577:ERROR:CONSOLE(4)] "Uncaught TypeError: Cannot read properties of undefined (reading 'toString')", source: chrome://gpu/info_view.js (4)

❯ prime-run brave --use-gl=egl

[50911:50911:1101/161439.906542:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
[50961:50961:1101/161440.238537:FATAL:gpu_init.cc(500)] Passthrough is not supported, GL is egl, ANGLE is 
[1101/161440.261096:ERROR:directory_reader_posix.cc(42)] opendir /home/gunit/.config/BraveSoftware/Brave-Browser/Crash Reports/attachments/b53032a2-8a94-4f2f-bb83-79f1ea60b1a5: No such file or directory (2)
[50911:50911:1101/161441.609685:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=133
[51266:51266:1101/161441.921526:FATAL:gpu_init.cc(500)] Passthrough is not supported, GL is egl, ANGLE is 
[50911:50911:1101/161442.798233:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=133
[51317:51317:1101/161442.950438:FATAL:gpu_init.cc(500)] Passthrough is not supported, GL is egl, ANGLE is 
[50911:50911:1101/161443.653432:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=133
[51013:7:1101/161443.913980:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[50911:50911:1101/161446.094968:ERROR:sharing_service.cc(221)] Device registration failed with fatal error

❯ prime-run brave --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-gpu-

driver-bug-workarounds --use-gl=egl --enable-accelerated-video-decode
[67325:67325:1101/162416.309079:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
[67376:67376:1101/162416.565832:FATAL:gpu_init.cc(500)] Passthrough is not supported, GL is egl, ANGLE is 
[67325:67325:1101/162417.868685:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=133
[67638:67638:1101/162418.185695:FATAL:gpu_init.cc(500)] Passthrough is not supported, GL is egl, ANGLE is 
[67325:67325:1101/162419.093375:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=133
[67710:67710:1101/162419.298634:FATAL:gpu_init.cc(500)] Passthrough is not supported, GL is egl, ANGLE is 
[67325:67325:1101/162420.001885:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=133
[67741:67741:1101/162420.212072:ERROR:gl_display.cc(520)] EGL Driver message (Error) eglCreateContext: Requested GLES version (3.0) is greater than max supported (2, 0).
[67741:67741:1101/162420.301279:ERROR:gl_display.cc(520)] EGL Driver message (Error) eglCreateContext: Requested GLES version (3.0) is greater than max supported (2, 0).
[67432:7:1101/162420.317642:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
Fontconfig error: Cannot load default config file: No such file: (null)
[67325:67325:1101/162426.364443:ERROR:sharing_service.cc(221)] Device registration failed with fatal error

Hi @Fexa,

You get this :point_up: error when using prime-run. And indeed, I’m not expert and taking an educated guess, bu it doesn’t look like the hybrid drivers are installed.

Please provide the output of:

inxi --admin --verbosity=7 --filter --no-host --width

As well as

mhwd --listinstalled

and

mhwd --list

❯ inxi --admin --verbosity=7 --filter --no-host --width

System:
  Kernel: 6.5.5-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.5-x86_64
    root=UUID=0194280d-666a-45fa-b29e-bca21245c9fc rw quiet splash
    udev.log_priority=3 iommu=pt amd_iommu=on
  Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.11 info: latte-dock
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: Vivobook_ASUSLaptop M3500QC_M3500QC
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: M3500QC v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: M3500QC.314 date: 01/06/2023
Battery:
  ID-1: BAT0 charge: 60.6 Wh (100.0%) condition: 60.6/63.0 Wh (96.2%)
    volts: 12.0 min: 12.0 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: not charging cycles: 25
Memory:
  System RAM: total: 16 GiB note: est. available: 15.03 GiB
    used: 6.98 GiB (46.5%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 5800HS 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: 0xA50000D
  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: 2188 high: 2196 min/max: 400/4463 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 2195 2: 2196 3: 2195
    4: 2188 5: 2188 6: 2186 7: 2188 8: 2182 9: 2190 10: 2189 11: 2180 12: 2196
    13: 2188 14: 2173 15: 2186 16: 2188 bogomips: 102250
  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: gather_data_sampling status: Not affected
  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_rstack_overflow mitigation: safe RET, no microcode
  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 GA107M [GeForce RTX 3050 Mobile] vendor: ASUSTeK
    driver: nvidia v: 535.129.03 alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-09) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-23 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:25a2 class-ID: 0302
  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: eDP-1 empty: HDMI-A-1
    bus-ID: 04:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 60.0 C
  Device-3: Quanta USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-3:4 chip-ID: 0408:30e1
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.1
    compositor: kwin_x11 driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: Samsung 0x4161 built: 2020
    res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: radeonsi device: 3 drv: swrast surfaceless:
    drv: nvidia x11: drv: radeonsi inactive: gbm,wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM
    16.0.6 DRM 3.54 6.5.5-1-MANJARO) device-ID: 1002:1638 memory: 500 MiB
    unified: no
  API: Vulkan v: 1.3.264 layers: 6 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 3050 Laptop GPU driver: nvidia v: 535.129.03
    device-ID: 10de:25a2 surfaces: xcb,xlib device: 1 type: integrated-gpu
    name: AMD Radeon Graphics (RADV RENOIR) driver: mesa radv
    v: 23.1.9-manjaro1.1 device-ID: 1002:1638 surfaces: xcb,xlib
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio 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: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK 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: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: 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: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.5.5-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: 0.126.0 status: off tools: N/A
  Server-3: PipeWire v: 0.3.81 status: off with: wireplumber status: active
    tools: pw-cli,wpctl
  Server-4: PulseAudio v: 16.1 status: active with: 1: pulseaudio-alsa
    type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp2s0 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
  IF-ID-1: virbr0 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: vnet0 state: unknown speed: 10000 Mbps duplex: full mac: <filter>
  IP v6: <filter> virtual: proto kernel_ll scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-2:3 chip-ID: 8087:0029
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 210.22 GiB (22.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM001TD3JX013N
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 41000C20 temp: 44.9 C
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 341.8 GiB size: 335.37 GiB (98.12%)
    used: 210.18 GiB (62.7%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
    label: N/A uuid: 0194280d-666a-45fa-b29e-bca21245c9fc
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 45.7 MiB (17.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: SYSTEM uuid: F08E-D61E
Swap:
  Kernel: swappiness: 1 (default 60) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: file size: 8 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 463.89 GiB fs: ntfs label: OS
    uuid: 4E4A90954A907B81
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 146.48 GiB fs: ntfs
    label: New Volume uuid: 8280016780016351
  ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 1.17 GiB fs: ntfs label: RECOVERY
    uuid: 720E652C0E64EA95
  ID-5: /dev/nvme0n1p6 maj-min: 259:6 size: 260 MiB fs: vfat label: MYASUS
    uuid: 0A35-7394
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
  Device-1: 1-3:2 info: Google Nexus/Pixel Device (charging + debug)
    type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 18d1:4ee7 class-ID: 0000 serial: <filter>
  Device-2: 1-4:3 info: HP HP 2.4G wireless and BT Mouse type: HID,mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 03f0:0d4c class-ID: 0301
  Hub-2: 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-3: 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-1:2 info: Elan Micro ELAN:Fingerprint type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 04f3:0c6e class-ID: 0000
  Device-2: 3-2:3 info: Intel AX200 Bluetooth type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 8087:0029 class-ID: e001
  Device-3: 3-3:4 info: Quanta USB2.0 HD UVC WebCam type: video
    driver: uvcvideo interfaces: 3 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 0408:30e1 class-ID: fe01 serial: <filter>
  Hub-4: 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
Sensors:
  System Temperatures: cpu: 66.5 C mobo: N/A gpu: amdgpu temp: 62.0 C
  Fan Speeds (rpm): cpu: 4600
Info:
  Processes: 435 Uptime: 39m wakeups: 37675 Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 2142 pm: dpkg pkgs: 1 pm: pacman pkgs: 2131 libs: 480
  tools: pamac,paru,yay pm: flatpak pkgs: 0 pm: snap pkgs: 10 Shell: Zsh v: 5.9
  running-in: yakuake inxi: 3.3.30

❯ mhwd --listinstalled

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

❯ mhwd --list

> 0000:01:00.0 (0302:10de:25a2) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2023.03.23               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2023.03.23               false            PCI
          video-nvidia            2023.03.23               false            PCI
    video-nvidia-470xx            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI


> 0000:04:00.0 (0300:1002:1638) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2023.03.23               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


Hmmm…

I see it is installed:

However, I see this one is as well:

And it might be taking control of everything. So let’s see what happens when it’s removed:

sudo mhwd --remove pci video-linux

Reboot and see what happens. Provide the output to the above-mentioned inxi command again when back, please.

❯ sudo mhwd --remove pci video-linux

Error: config 'video-linux' is required by config(s): video-hybrid-amd-nvidia-prime

i m unable to remove video-linux

Hmmm…

That’s…well, I can’t say it’s not right, as I have an nvidia card and no experience with AMD, but it is unexpected.

I’m starting to suspect a setting in your BIOS/UEFI…especially because of:

While the hybrid drivers are installed…

Double check your BIOS/UEFI settings for something about the possibility on power-saving, or some such…

I actually don’t know where to go from here, but i THINK the BIOS/UEFI is a good place to start…

i checked my BIOS/UEF , there was no option for power saving but in kde i checked it was disabled
i tried running minecraft using prime-run and it works

image
image

minecraft works but brave doesnt with prime-run

Then I’m going to go ahead and guess it requires some environment variables to get working…but I don’t know which or how to find them…

But maybe this helps at least some:

P.S.

Have you tried it with a different browser?

i have already tried it those commands earlier

❯ prime-run brave --enable-features=VaapiVideoEncoder,VaapiVideoDecodeLinuxGL --enable-gpu

[153927:153927:1101/171746.206957:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
[154002:154002:1101/171746.466572:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[154002:154002:1101/171746.466711:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[154002:154002:1101/171746.466756:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[154002:154002:1101/171746.467271:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[154002:154002:1101/171746.467329:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[154002:154002:1101/171746.467371:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[154002:154002:1101/171746.467410:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[154002:154002:1101/171746.467489:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[154002:154002:1101/171746.538461:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[154002:154002:1101/171746.539133:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[154002:154002:1101/171746.539394:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[154002:154002:1101/171746.540448:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[154002:154002:1101/171746.540597:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[154002:154002:1101/171746.540670:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[154002:154002:1101/171746.540753:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[154002:154002:1101/171746.540830:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[154002:154002:1101/171746.551242:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[154177:154177:1101/171746.966177:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[154177:154177:1101/171746.966439:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[154177:154177:1101/171746.966508:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[154177:154177:1101/171746.967463:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[154177:154177:1101/171746.967596:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[154177:154177:1101/171746.967720:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[154177:154177:1101/171746.967816:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[154177:154177:1101/171746.967919:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[154177:154177:1101/171747.070219:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[154177:154177:1101/171747.090879:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[154177:154177:1101/171747.091008:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[154177:154177:1101/171747.092331:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[154177:154177:1101/171747.092482:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[154177:154177:1101/171747.092562:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[154177:154177:1101/171747.092629:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[154177:154177:1101/171747.092693:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[154177:154177:1101/171747.098425:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[154055:7:1101/171747.685536:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[153927:153927:1101/171748.633478:ERROR:interface_endpoint_client.cc(702)] Message 0 rejected by interface blink.mojom.WidgetHost
[153927:153927:1101/171748.749052:ERROR:sharing_service.cc(221)] Device registration failed with fatal error

i tried firefox there gpu works

Well, then it seems to be something related to brave, rather than Manjaro. I don’t know if they have a forum, or what their support channels are, but I suspect you might be better off asking them/there…

:man_shrugging:

Their community might be better suited for this:

hmm okay

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