Hey! Does someone know how to change GPU?
optimus-manager is not working btw
post the output of the mandatory inxi first.
inxi --admin --verbosity=7 --filter --no-host --width
Hey, thanks for answering, here is the output for that code
System:
Kernel: 6.6.3-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.6-x86_64
root=UUID=4442ba72-fb6b-439c-93d5-10a448d5a85f rw quiet splash
udev.log_priority=3
Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: HP product: OMEN by HP Laptop 16-c0xxx v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: HP model: 8901 v: 89.62 serial: <superuser required> UEFI: AMI
v: F.20 date: 03/16/2023
Battery:
ID-1: BAT0 charge: 54.5 Wh (100.0%) condition: 54.5/54.5 Wh (100.0%)
volts: 17.0 min: 15.4 model: HP Primary type: Li-ion serial: <filter>
status: full cycles: 193
Memory:
System RAM: total: 40 GiB note: est. available: 38.52 GiB
used: 13.24 GiB (34.4%)
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: 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: 1768 high: 4117 min/max: 400/4463 scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 3307 2: 4112 3: 3287
4: 400 5: 400 6: 400 7: 400 8: 3293 9: 400 10: 4117 11: 3293 12: 400
13: 400 14: 400 15: 400 16: 3291 bogomips: 102248
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 debug_swap 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 user_shstk 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 status: Vulnerable: 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 Ti Mobile] vendor: Hewlett-Packard
driver: N/A alternate: nouveau non-free: 545.xx+ status: current (as of
2023-11; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
built: 2020-2023 pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:25a0 class-ID: 0300
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: Hewlett-Packard 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: DP-1
bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 45.0 C
Device-3: Chicony HP Wide Vision HD Camera driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2 chip-ID: 04f2:b735
class-ID: fe01 serial: <filter>
Display: x11 server: X.Org v: 21.1.9 compositor: kwin_x11 driver: X:
loaded: modesetting 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 model: ChiMei InnoLux 0x1619 built: 2021 res: 1920x1080
hz: 144 dpi: 137 gamma: 1.2 size: 355x199mm (13.98x7.83") diag: 407mm (16")
ratio: 16:9 modes: max: 1920x1080 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
inactive: gbm,wayland
API: OpenGL v: 4.6 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.6.3-1-MANJARO) device-ID: 1002:1638 memory: 500 MiB
unified: no
API: Vulkan v: 1.3.269 layers: 1 device: 0 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: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
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: 06:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
driver: snd_rn_pci_acp3x v: kernel alternate: snd_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, snd_sof_amd_vangogh pcie: gen: 3
speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.5
chip-ID: 1022:15e2 class-ID: 0480
Device-4: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
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: 06:00.6 chip-ID: 1022:15e3
class-ID: 0403
API: ALSA v: k6.6.3-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 1.0.0 status: off with: pipewire-media-session
status: active tools: pw-cli
Server-3: 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: Hewlett-Packard 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: eno1 state: down mac: <filter>
Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8852
class-ID: 0280
IF: wlo1 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
IF-ID-1: docker0 state: down mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
IF-ID-2: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
IP v6: <filter> virtual: proto kernel_ll scope: link
IF-ID-3: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
IP v6: <filter> virtual: proto kernel_ll scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:3 chip-ID: 0bda:2852
class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes 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: 123.35 GiB (12.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB1T0HBLR-000H1
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: HPS0NEXF temp: 32.9 C
scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 953.57 GiB size: 937.53 GiB (98.32%)
used: 123.35 GiB (13.2%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 4442ba72-fb6b-439c-93d5-10a448d5a85f
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 296 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
uuid: 3EBB-B932
Swap:
Alert: No swap data was found.
Unmounted:
Message: No unmounted partitions found.
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-2:7 info: Razer USA DeathAdder Essential type: mouse,keyboard
driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
lanes: 1 mode: 1.1 power: 500mA chip-ID: 1532:006e class-ID: 0300
Device-2: 1-3:2 info: Chicony HP Wide Vision HD Camera 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: 04f2:b735 class-ID: fe01 serial: <filter>
Device-3: 1-4:3 info: Realtek Bluetooth Radio type: bluetooth driver: btusb
interfaces: 2 rev: 1.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
power: 500mA chip-ID: 0bda:2852 class-ID: e001 serial: <filter>
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
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: 77.1 C mobo: N/A gpu: amdgpu temp: 46.0 C
Fan Speeds (rpm): fan-1: 3093 fan-2: 2909
Info:
Processes: 446 Uptime: 3h 32m wakeups: 1 Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
Packages: 1383 pm: pacman pkgs: 1319 libs: 369 tools: pamac pm: flatpak
pkgs: 64 Shell: Zsh v: 5.9 default: Bash v: 5.2.21 running-in: konsole
inxi: 3.3.31
okay, the driver isn’t installed. you’ll have to install the driver first before ongoing.
https://wiki.manjaro.org/index.php/Configure_Graphics_Cards
sudo mhwd -a pci nonfree 0300
use the nonfree option to install the propietary driver. after installing and rebooting post the output of the inxi command above to see that it is installed.
then we’ll check that you’re using x11 instead of wayland because nvidia doesn’t work well with wayland.
echo $XDG_SESSION_TYPE && glxinfo | grep server
i expect that the glxinfo will still output “SGI” but please do this steps first.
error script failed
output
x11
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
sudo mhwd -i pci video-nvidia
does that work, remember to read the wiki-link
It gives script failed, even the link.
Uhh…
Lets start over…
Please provide the output of
mhwd -li -l
Also please remove optimus-manager
and any augmentations related to it.
output:
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
> 0000:02:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
network-r8168 2023.09.12 true PCI
> 0000:01:00.0 (0300:10de:25a0) 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
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
> 0000:06: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
I uninstalled optimus-manager
And I installed the Nvidia drivers and I have no video output, how can I fix without seeing anything?
I installed Nvidia drivers and now I have no video output on the screen, I have no other computer to use to do pen bootable with anything, how can I fix it?
Maybe a code using the Ctrl + alt + F2???
You do not want the nvidIa drivers just.
…or else things like that could happen.
You can use chroot or runlevel 3 or tty to remove it again.
sudo mhwd -r pci video-nvidia
What you really want for your hybrid setup is … the hybrid profile.
sudo mhwd -i pci video-hybrid-amd-nvidia-prime
Whenever you get that done and reboot we want to see it working;
glxinfo | grep 'renderer string'
DRI_PRIME=1 glxinfo | grep 'renderer string'
Instructions are over in the thread where you did this…
Output: config ‘video-nvidia’ is not installed!
Well … what nvidia did you install?
You said quote:
I assumed that meant the latest ones … but apparently not.
I guess if you dont know … then show us …
mhwd -li
Output: … Error: script failed!
There is just video-linux