Ok, here we go again.
I nearly lost my mind last time trying to deal with this that ended up with me disabling the iGPU and just running on my nvidia.
The problem was I could not get other tty:s to work.
I figured out that if I change tty it went to the hdmi port on my motherboard but never went further because it worked when I disabled the igpu so I left it at that.
But now that I understand a bit more of how manjaro and arch works in this matter I decided to give it another go.
I uninstalled my video-nvidia and installed the hybrid prime closed source drivers, desktop loaded and everything looked fine BUT the issue is still there, only tty2 (used to be tty1, its a bug, I know) works where my desktop gui is. So I tried starting tty3 and connected my hdmi output to that and yepp, it’s there. installed nvidia-settings in the tty because that apparently does not come with the mhwd installation and rebooted AND FORGOT I WAS ON THE IGPU HDMI.
Edit. Is it a bug nvidia-settings is not installed with mhwd?
For some reason video-linux also got installed, but that might have been because I had to removed the old drivers before installing hybrid, and that forced them to be installed because then the computer was without video drivers?
Should I uninstall them?
mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
video-hybrid-amd-nvidia-prime 2023.03.23 false PCI
Rebooted fine, logged in to my desktop and tried other tty and nothing, but the screen did not turn black like it did before, so I pressed oter tty:s a couple of times and BOOM, it worked. I then realized I had forgotten that I was on my igpu hdmi port. Sometimes I have to press the same F-key multiple times for the tty to “wake up”.
BUT, here is the strange part. I have read up on reverse prime and all that so I tried to reverse it back but that ended up in no desktop so I restored my snapshot (I so regret not saving the logs from this).
So I was back at using the igpu htmi on my desktop, and prime-run shows that I run on nvidia, so I tried a game on steam and YES!! It works this way!!!
My nvidia.conf is completely empty, apparently nothing is needed in there (I do not care about the coolbits and all that so I guess it’s fine, I just leave it like that)
Things I need help with.
-
I would prefer to change back to my gpu hdmi, but can not for my life understand in what order I should do things. xrandr confuses the crap out of me. I think I should do this? But can’t figure out how. Or should I do this? Also very confused about what to do on that page.
Edit. Trying to figure this out was what broke my desktop so I restored a snapshot that I mentioned earlier, that’s when I decided to write this post. -
if point 1 is not doable.
I have a constant static noise when playing sound on my hdmi this way. I found some posts about it but all of them says their noise stops after a few seconds, mine doesn’t. Only on iGPU hdmi, not other outputs. On my nvidia hdmi this was not an issue.Is pipewire the only solution here you think?
Edit, yes, pipewire solves this. -
What will happen when I get my new monitor and connect it to my gpu, I only have one igpu hdmi you know. I want to be ahead, will that break everything?
All below is from me on the iGPU hdmi.
System:
Kernel: 6.4.6-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.4-x86_64
root=UUID=700d034d-b99a-482b-880b-9060acf3a6b3 rw rootflags=subvol=@
nvidia_drm.modeset=1 resume=UUID=5ae8fbf5-a704-41ea-be6d-bf26b38325ed
udev.log_priority=3
Desktop: KDE Plasma v: 5.27.6 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: X670 AORUS ELITE AX v: -CF
serial: <superuser required>
Mobo: Gigabyte model: X670 AORUS ELITE AX v: x.x
serial: <superuser required> UEFI: American Megatrends LLC. v: F10a
date: 06/07/2023
CPU:
Info: model: AMD Ryzen 9 7900X bits: 64 type: MT MCP arch: Zen 4 gen: 5
level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
model-id: 0x61 (97) stepping: 2 microcode: 0xA601203
Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 12 MiB desc: 12x1024 KiB
L3: 64 MiB desc: 2x32 MiB
Speed (MHz): avg: 3406 high: 5436 min/max: 3000/5733 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3000 2: 3000
3: 2721 4: 3000 5: 3000 6: 5436 7: 3000 8: 3000 9: 3000 10: 3000 11: 3592
12: 3000 13: 4903 14: 3000 15: 3000 16: 3000 17: 3000 18: 3000 19: 4700
20: 4700 21: 3000 22: 3000 23: 3000 24: 4700 bogomips: 225283
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
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: Enhanced / Automatic IBRS, IBPB: conditional,
RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA102 [GeForce RTX 3090] vendor: eVga.com. driver: nvidia
v: 535.86.05 alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-07) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s
lanes: 16 link-max: gen: 4 speed: 16 GT/s ports: active: none empty: DP-1,
DP-2, DP-3, HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:2204 class-ID: 0300
Device-2: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel
arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: HDMI-A-2 empty: DP-4,DP-5,DP-6
bus-ID: 15:00.0 chip-ID: 1002:164e class-ID: 0300 temp: 53.0 C
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
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: HDMI-A-2 mapped: HDMI-A-1 model: Asus VX279 serial: <filter>
built: 2015 res: 1920x1080 hz: 60 dpi: 79 gamma: 1.2
size: 621x341mm (24.45x13.43") diag: 690mm (27.2") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
API: OpenGL v: 4.6 Mesa 23.1.4 renderer: AMD Radeon Graphics
(raphael_mendocino LLVM 15.0.7 DRM 3.52 6.4.6-1-MANJARO) direct-render: Yes
Audio:
Device-1: NVIDIA GA102 High Definition Audio vendor: eVga.com.
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1 chip-ID: 10de:1aef
class-ID: 0403
Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 15:00.1
chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 15:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.4.6-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: 0.3.75 status: off with: wireplumber status: active
tools: pw-cli,wpctl
Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
type: plugin tools: pacat,pactl
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0e:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp14s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 0f:00.0
chip-ID: 14c3:0616 class-ID: 0280
IF: wlp15s0 state: down mac: <filter>
Bluetooth:
Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-7:5 chip-ID: 0e8d:0616
class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: see --recommends
Drives:
Local Storage: total: 4.09 TiB used: 1.56 TiB (38.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 47.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 4B6Q scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD30EFRX-68EUZN0 size: 2.73 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
fw-rev: 0A80 scheme: GPT
Partition:
ID-1: / raw-size: 122 GiB size: 122 GiB (100.00%) used: 80.32 GiB (65.8%)
fs: btrfs dev: /dev/sda7 maj-min: 8:7
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
used: 292 KiB (0.1%) fs: vfat dev: /dev/sda5 maj-min: 8:5
ID-3: /home raw-size: 104.53 GiB size: 104.53 GiB (100.00%)
used: 46.05 GiB (44.1%) fs: btrfs dev: /dev/sda8 maj-min: 8:8
ID-4: /var/log raw-size: 122 GiB size: 122 GiB (100.00%)
used: 80.32 GiB (65.8%) fs: btrfs dev: /dev/sda7 maj-min: 8:7
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 38 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda6 maj-min: 8:6
Sensors:
System Temperatures: cpu: 62.2 C mobo: N/A gpu: amdgpu temp: 53.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 453 Uptime: 46m wakeups: 0 Memory: total: 32 GiB note: est.
available: 30.5 GiB used: 4.83 GiB (15.8%) Init: systemd v: 253
default: graphical tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7
Packages: pm: pacman pkgs: 1528 libs: 421 tools: pamac,yay pm: flatpak
pkgs: 0 Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: yakuake
inxi: 3.3.28
xrandr --listproviders  ✔
Providers: number : 2
Provider 0: id: 0x56 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 4 associated providers: 1 name:AMD Radeon Graphics @ pci:0000:15:00.0
Provider 1: id: 0x20f cap: 0x2, Sink Output crtcs: 4 outputs: 7 associated providers: 1 name:NVIDIA-G0
glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD Radeon Graphics (raphael_mendocino, LLVM 15.0.7, DRM 3.52, 6.4.6-1-MANJARO)
prime-run glxinfo | grep "OpenGL renderer"
OpenGL renderer string: NVIDIA GeForce RTX 3090/PCIe/SSE2