Nvidia NVS 310 no output then bad output

Good work devs, recently installed and Garuda it's great so far.
I'm trying to install an NVS 310 alongside my RX580 so that I can pass through the RX580 to a windows vm. Until I booted with only the NVS 310 installed, it would have no output, but now I've booted with both and there is output, but the NVS 310 output is 'fuzzy' (it feels like the image is moving up and down many times per second by a few pixels and the image fades to black in bottom few pixels). Another unexpected consequence was that now I have a KDE boot screen after signing in and that my cursor reset to the default one and now behaves strangely - on the NVS 310 monitor it's the cursor I chose in settings and on the Rx580 it's the default one, apart from when hovering over the dock, when it switches back to the desired one.

Any help would be much appreciated :slight_smile:

╰─λ lspci -k | grep -A 2 -E "(VGA|3D)"
26:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
Subsystem: Sapphire Technology Limited Nitro+ Radeon RX 570/580/590
Kernel driver in use: amdgpu
--
27:00.0 VGA compatible controller: NVIDIA Corporation GF119 [NVS 310] (rev a1)
Subsystem: Hewlett-Packard Company Device 1154
Kernel driver in use: nouveau
Graphics:  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: Sapphire Limited Nitro+ driver: amdgpu v: kernel bus-ID: 26:00.0 chip-ID: 1002:67df
class-ID: 0300
Device-2: NVIDIA GF119 [NVS 310] vendor: Hewlett-Packard driver: nouveau v: kernel
bus-ID: 27:00.0 chip-ID: 10de:107d class-ID: 0300
Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver: loaded: amdgpu,ati,nouveau
unloaded: modesetting,vesa alternate: fbdev,nv display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.9x11.2") s-diag: 1052mm (41.4")
Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 93 size: 527x296mm (20.7x11.7")
diag: 604mm (23.8")
Monitor-2: DP-1-3 res: 1920x1080 hz: 60 dpi: 93 size: 527x296mm (20.7x11.7")
diag: 604mm (23.8")
OpenGL: renderer: AMD Radeon RX 580 Series (polaris10 LLVM 14.0.0 DRM 3.42 5.15.2-zen1-1-zen)
v: 4.6 Mesa 22.0.0-devel (git-63baeffc2d) direct render: Yes

Another difference - this no longer works:

find /sys/devices -name "edid"
/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0/card0-HDMI-A-1/edid
/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0/card0-DVI-D-1/edid
/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0/card0-DP-2/edid
/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0/card0-HDMI-A-2/edid
/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0/card0-DP-1/edid

Please post the full inxi -Faz to avoid SGS growing another Aneurysm.

2 Likes
╰─λ inxi -Faz
System:    Kernel: 5.15.2-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=a06a3792-a927-4401-921f-a9735f8f5dcd
rw [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.23.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:   Type: Desktop System: Micro-Star product: MS-7A33 v: 3.0 serial: <filter>
Mobo: MSI model: X370 GAMING PLUS (MS-7A33) v: 3.0 serial: <filter> UEFI: American Megatrends
v: 5.H0 date: 01/22/2019
CPU:       Info: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ family: 17 (23)
model-id: 8 stepping: 2 microcode: 800820D cache: L2: 3 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 91201
Speed: 3800 MHz min/max: N/A Core speeds (MHz): 1: 3800 2: 3800 3: 3800 4: 3800 5: 3800 6: 3800
7: 3629 8: 3800 9: 3800 10: 3800 11: 3800 12: 3800
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown 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: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: Sapphire Limited Nitro+ driver: amdgpu v: kernel bus-ID: 26:00.0 chip-ID: 1002:67df
class-ID: 0300
Device-2: NVIDIA GF119 [NVS 310] vendor: Hewlett-Packard driver: nouveau v: kernel
bus-ID: 27:00.0 chip-ID: 10de:107d class-ID: 0300
Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver: loaded: amdgpu,ati,nouveau
unloaded: modesetting,vesa alternate: fbdev,nv display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.9x11.2") s-diag: 1052mm (41.4")
Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 93 size: 527x296mm (20.7x11.7")
diag: 604mm (23.8")
Monitor-2: DP-1-3 res: 1920x1080 hz: 60 dpi: 93 size: 527x296mm (20.7x11.7")
diag: 604mm (23.8")
OpenGL: renderer: AMD Radeon RX 580 Series (polaris10 LLVM 14.0.0 DRM 3.42 5.15.2-zen1-1-zen)
v: 4.6 Mesa 22.0.0-devel (git-63baeffc2d) direct render: Yes
Audio:     Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Sapphire Limited
driver: snd_hda_intel v: kernel bus-ID: 26:00.1 chip-ID: 1002:aaf0 class-ID: 0403
Device-2: NVIDIA GF119 HDMI Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus-ID: 27:00.1 chip-ID: 10de:0e08 class-ID: 0403
Device-3: Generalplus USB Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid
bus-ID: 5-2:2 chip-ID: 1b3f:2008 class-ID: 0300
Sound Server-1: ALSA v: k5.15.2-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
driver: r8169 v: kernel port: f000 bus-ID: 21:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp33s0 state: up speed: 100 Mbps duplex: full mac: <filter>
IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Bluetooth: Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB driver: btusb v: 0.8
bus-ID: 1-12:3 chip-ID: 0a12:0001 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:    Local Storage: total: 2.87 TiB used: 1.4 TiB (48.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WDS500G3XHC-00SJG0
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
serial: <filter> rev: 102000WD temp: 43.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500LT012-9WS142 size: 465.76 GiB
block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 5400
serial: <filter> rev: SDM1 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000LM003 HN-M201RAD size: 1.82 TiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400
serial: <filter> rev: 0001 scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD1600HLFS-75G6U1 size: 149.01 GiB
block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 10000
serial: <filter> rev: 4V03 scheme: GPT
Partition: ID-1: / raw-size: 101.2 GiB size: 101.2 GiB (100.00%) used: 62.65 GiB (61.9%) fs: btrfs
dev: /dev/nvme0n1p7 maj-min: 259:7
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 38.2 MiB (39.8%) fs: vfat
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-3: /home raw-size: 101.2 GiB size: 101.2 GiB (100.00%) used: 62.65 GiB (61.9%) fs: btrfs
dev: /dev/nvme0n1p7 maj-min: 259:7
ID-4: /var/log raw-size: 101.2 GiB size: 101.2 GiB (100.00%) used: 62.65 GiB (61.9%) fs: btrfs
dev: /dev/nvme0n1p7 maj-min: 259:7
ID-5: /var/tmp raw-size: 101.2 GiB size: 101.2 GiB (100.00%) used: 62.65 GiB (61.9%) fs: btrfs
dev: /dev/nvme0n1p7 maj-min: 259:7
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 23.48 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:   System Temperatures: cpu: 38.0 C mobo: 38.0 C
Fan Speeds (RPM): fan-1: 423 fan-2: 566 fan-3: 587 fan-4: 611 fan-5: 582 fan-6: 383
GPU: device: amdgpu temp: 46.0 C fan: 1680 watts: 59.09 device: nouveau temp: 42.0 C fan: 1830
mV: 920.00
Power: 12v: N/A 5v: N/A 3.3v: 3.39 vbat: 3.33
Info:      Processes: 377 Uptime: 3m wakeups: 0 Memory: 23.49 GiB used: 2.85 GiB (12.1%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: N/A Packages: pacman: 2200 lib: 492
Shell: fish v: 3.3.1 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.08

wow thats a old card what are you trying to do with it in garuda? :grinning:

1 Like

Just want to have display out with linux while passing a gpu through to a vm

Oh ok you are trying to passthough the card?
what are you using as the hypervisor?

1 Like

Passing through the rx580 to the vm, keeping the nvs 310 with linux to retain basic display out

Oh and qemu

So you wish to passthough the rx580 to a garuda vm?
Is this to test to see if you can do this?

1 Like

No no im running garuda and i want to run windows, linux etc in vms with good graphics on top of garuda, but keep the ability to interact with garuda while the rx580 is passed through to vms.

This is not what garuda is intended for there are better ways to do what you are trying to do? :grinning:
proxmox
acp-ng
vmware

2 Likes

Might not be but that's not even relevant. Right now I can't get a gpu to work properly - haven't even got to the vm stuff (and I see no reason why garuda wouldn't be able to handle it)

you have alot to learn sorry :smiley:

1 Like

This is a Fermi card and needs the 390xx driver if you want reasonable performance.

This seems like a backwards step - if you want to play games on the RX580 then just use Windows. If you want to use Garuda (and play games using Steam and Proton) then use the RX580 directly.

2 Likes