LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 05-17-2021, 05:29 PM   #1
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
2nd monitor/gpu crashes system, maybe a kernel bug?


Hello, thanks for reading. I am having trouble getting Arch to work with a 2nd gpu and monitor. If I try to enable the second display, it crashes the system. I have KDE and LXQT desktop environments installed.

Mobo: Asus B550-f
cpu: Ryzen 3600xt
gpu #1: XFX RX 5700xt
gpu #2: Visiontek Radeon 5450 2gb

As soon as the second monitor is plugged into gpu #2, the screen on monitor #1 goes black, with a mouse cursor that won't move. I am unable to change tty, and it doesn't respond to magic sysrq keys either. Unplugging the monitor does not fix it, and I have to hard reset.

Each gpu works fine on its own, when the other isn't installed, but I can't get them both working together on Arch. Ubuntu handles both gpu's/monitors without any manual configuration so I know it can work.

The only errors I find in the Xorg logs are (EE) AMDGPU(G0): amdgpu_device_initialize failed
and (EE) AMDGPU(0): Failed to make import prime FD as pixmap: 22. But those same errors occur in ubuntu, which is able to use both monitors and gpu's without issue. And I don't see anything in journalctl that looks relevant so I think it's happening so fast no logs are made or written to.

The freezes happen with kernel versions: 5.12.3-arch1-1, 5.12.4-arch1-2. But it DOES NOT happen with LTS kernel 5.10.37-1-lts. Any ideas how I can go about diagnosing exactly? Or getting any more useful information? Any help is appreciated
 
Old 05-20-2021, 01:52 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Reboot, lookk at
Code:
journalctl -b -1
Locate the time when the problem occured.

Also:
Quote:
Don't rush to claim that you have found a bug

When you are having problems with a piece of software, don't claim you have found a bug unless you are very, very sure of your ground. Hint: unless you can provide a source-code patch that fixes the problem, or a regression test against a previous version that demonstrates incorrect behavior, you are probably not sure enough. (...)

Remember, there are many other users that are not experiencing your problem. Otherwise you would have learned about it while reading the documentation and searching the Web (you did do that before complaining, didn't you?). This means that very probably it is you who are doing something wrong, not the software.
 
Old 05-20-2021, 03:21 AM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,885
Blog Entries: 1

Rep: Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079
AFAICT, the Radeon HD 5450 is an entry level ATI/AMD product. ISTR more than a few reports in the not too distant past that FOSS support for it could be better than it is. These are two quite recent ones that I can remember seeing/writing in:I'm thinking your best help might come from either making a report in Arch's bug tracking system, or asking for help in one of Arch's own forums, unless that's what you've already done.

I have two 5450s, one by Sapphire, the other by XFX. But, I'm not in position to run either of them paired with another, much less along with one as new or expensive as your RX 5700xt gamer. Also, I've yet to make my first Arch installation. Otherwise, I'd try to reproduce. Mine do have foibles not experienced with other GPUs.

The B550-f seems to support at least 3 displays with a suitable CPU selection. Methinks you could sell or trade the RX 5700xt and install a CPU that includes an APU, so that you'd have no need for any second discrete GPU, much less any entry level model. Or, offload, if that's the reason for the 5450, to an APU. IOW, boot the 5450 out of your system.
 
Old 05-20-2021, 03:28 AM   #4
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Original Poster
Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by ondoho View Post
Reboot, lookk at
Code:
journalctl -b -1
Locate the time when the problem occured.

Also:
Thank you for the assistance. Just a note: There is a new kernel not in the lts line now, 5.12.5-arch1-1. I have installed it, and the symptoms persist. The lts kernel continues to work.

On to what you asked, after forcing a lockup and rebooting, I ran the command you suggested. It appears I am experiencing the same or a similar problem described here: https://bugzilla.redhat.com/show_bug.cgi?id=1946312. He appears to be using Fedora, I'm not sure if that's relevant. And he is experiencing this on kernel 5.12.0-0.rc5.180.fc35.x86_64 #1

Here is the relevant section of my journal
Code:
May 20 00:29:46 archDesktop kernel: ------------[ cut here ]------------
May 20 00:29:46 archDesktop kernel: WARNING: CPU: 10 PID: 827 at drivers/dma-buf/dma-buf.c:880 dma_buf_pin+0x24/0x30
May 20 00:29:46 archDesktop kernel: Modules linked in: xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables libcrc32c nfnetlink bridge stp llc amdgpu snd_hda_codec_realtek snd_hda_codec_generic vfat intel_rapl_msr radeon intel_rapl_common fat ledtrig_audio snd_hda_codec_hdmi btusb btrtl gpu_sched edac_mce_amd i2c_algo_bit eeepc_wmi snd_hda_intel btbcm asus_wmi btintel sparse_keymap video snd_intel_dspcfg snd_usb_audio kvm_amd snd_intel_sdw_acpi wmi_bmof drm_ttm_helper snd_hda_codec bluetooth ttm snd_usbmidi_lib kvm snd_rawmidi snd_hda_core drm_kms_helper snd_seq_device mc snd_hwdep snd_pcm cec snd_timer snd syscopyarea rapl sp5100_tco sysfillrect ecdh_generic pcspkr k10temp rfkill mousedev sysimgblt igc i2c_piix4 soundcore joydev fb_sys_fops ecc wmi mac_hid gpio_amdpt pinctrl_amd acpi_cpufreq gpio_generic drm fuse crypto_user agpgart bpf_preload ip_tables x_tables ext4 crc32c_generic crc16
May 20 00:29:46 archDesktop kernel:  mbcache jbd2 usbhid dm_crypt cbc encrypted_keys dm_mod trusted tpm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cryptd ccp rng_core xhci_pci xhci_pci_renesas vfio_pci irqbypass vfio_virqfd vfio_iommu_type1 vfio
May 20 00:29:46 archDesktop kernel: CPU: 10 PID: 827 Comm: Xorg Not tainted 5.12.5-arch1-1 #1
May 20 00:29:46 archDesktop kernel: Hardware name: ASUS System Product Name/ROG STRIX B550-F GAMING, BIOS 2006 03/19/2021
May 20 00:29:46 archDesktop kernel: RIP: 0010:dma_buf_pin+0x24/0x30
May 20 00:29:46 archDesktop kernel: Code: 5d c3 0f 1f 40 00 0f 1f 44 00 00 48 83 7f 30 00 48 8b 07 74 15 48 8b 40 20 48 8b 40 18 48 85 c0 74 05 e9 ff c6 6f 00 31 c0 c3 <0f> 0b eb e7 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 83 7f 30 00
May 20 00:29:46 archDesktop kernel: RSP: 0018:ffffaac6816f3cf8 EFLAGS: 00010246
May 20 00:29:46 archDesktop kernel: RAX: ffff9d2524a52800 RBX: 0000000000000000 RCX: 0000000000000000
May 20 00:29:46 archDesktop kernel: RDX: ffff9d2504361f40 RSI: 0000000000000000 RDI: ffff9d2506432ae0
May 20 00:29:46 archDesktop kernel: RBP: ffff9d2524a52800 R08: ffff9d2523405218 R09: 0000000000000000
May 20 00:29:46 archDesktop kernel: R10: ffffffffffffffff R11: 0000000000000000 R12: ffff9d2506432ae0
May 20 00:29:46 archDesktop kernel: R13: ffff9d25016c90c8 R14: 0000000000000000 R15: ffff9d2500b73dc8
May 20 00:29:46 archDesktop kernel: FS:  00007f87e1ce0940(0000) GS:ffff9d2c1ec80000(0000) knlGS:0000000000000000
May 20 00:29:46 archDesktop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 20 00:29:46 archDesktop kernel: CR2: 000055731e2c8918 CR3: 0000000108e82000 CR4: 0000000000350ee0
May 20 00:29:46 archDesktop kernel: Call Trace:
May 20 00:29:46 archDesktop kernel:  dma_buf_dynamic_attach+0x119/0x250
May 20 00:29:46 archDesktop kernel:  drm_gem_prime_import_dev+0x46/0x150 [drm]
May 20 00:29:46 archDesktop kernel:  ? __fget_files+0x6b/0xa0
May 20 00:29:46 archDesktop kernel:  drm_gem_prime_fd_to_handle+0x196/0x1d0 [drm]
May 20 00:29:46 archDesktop kernel:  ? drm_prime_destroy_file_private+0x20/0x20 [drm]
May 20 00:29:46 archDesktop kernel:  drm_ioctl_kernel+0xb2/0x100 [drm]
May 20 00:29:46 archDesktop kernel:  drm_ioctl+0x21e/0x3b0 [drm]
May 20 00:29:46 archDesktop kernel:  ? drm_prime_destroy_file_private+0x20/0x20 [drm]
May 20 00:29:46 archDesktop kernel:  radeon_drm_ioctl+0x49/0x80 [radeon]
May 20 00:29:46 archDesktop kernel:  __x64_sys_ioctl+0x82/0xb0
May 20 00:29:46 archDesktop kernel:  do_syscall_64+0x33/0x40
May 20 00:29:46 archDesktop kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xae
May 20 00:29:46 archDesktop kernel: RIP: 0033:0x7f87e26e359b
May 20 00:29:46 archDesktop kernel: Code: ff ff ff 85 c0 79 9b 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a5 a8 0c 00 f7 d8 64 89 01 48
May 20 00:29:46 archDesktop kernel: RSP: 002b:00007ffdd5bb0b08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
May 20 00:29:46 archDesktop kernel: RAX: ffffffffffffffda RBX: 00007ffdd5bb0b4c RCX: 00007f87e26e359b
May 20 00:29:46 archDesktop kernel: RDX: 00007ffdd5bb0b4c RSI: 00000000c00c642e RDI: 0000000000000018
May 20 00:29:46 archDesktop kernel: RBP: 00000000c00c642e R08: 00007ffdd5bb0bf0 R09: 0000000000000014
May 20 00:29:46 archDesktop kernel: R10: 00007f87e059e9b0 R11: 0000000000000246 R12: 000055731e2c6ae0
May 20 00:29:46 archDesktop kernel: R13: 0000000000000018 R14: 0000000000100000 R15: 00007ffdd5bb1150
May 20 00:29:46 archDesktop kernel: ---[ end trace 63c1a366de1821d1 ]---
May 20 00:29:46 archDesktop kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000
May 20 00:29:46 archDesktop kernel: #PF: supervisor read access in kernel mode
May 20 00:29:46 archDesktop kernel: #PF: error_code(0x0000) - not-present page
May 20 00:29:46 archDesktop kernel: PGD 0 P4D 0 
May 20 00:29:46 archDesktop kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
May 20 00:29:46 archDesktop kernel: CPU: 10 PID: 827 Comm: Xorg Tainted: G        W         5.12.5-arch1-1 #1
May 20 00:29:46 archDesktop kernel: Hardware name: ASUS System Product Name/ROG STRIX B550-F GAMING, BIOS 2006 03/19/2021
May 20 00:29:46 archDesktop kernel: RIP: 0010:radeon_gart_bind+0x3c/0xf0 [radeon]
May 20 00:29:46 archDesktop kernel: Code: 08 80 bf 98 04 00 00 00 0f 84 b3 00 00 00 c1 ee 0c 49 89 cf 48 89 fd 45 89 ce 8d 0c 32 89 f3 4d 89 c5 89 4c 24 04 85 d2 7e 66 <49> 8b 17 48 8b 85 88 04 00 00 41 89 dc 44 89 f6 4a 89 14 e0 48 8b
May 20 00:29:46 archDesktop kernel: RSP: 0018:ffffaac6816f3a40 EFLAGS: 00010202
May 20 00:29:46 archDesktop kernel: RAX: ffff9d25034d46e8 RBX: 00000000000002a4 RCX: 0000000000000990
May 20 00:29:46 archDesktop kernel: RDX: 00000000000006ec RSI: 00000000000002a4 RDI: ffff9d25034d4000
May 20 00:29:46 archDesktop kernel: RBP: ffff9d25034d4000 R08: ffff9d2533a30000 R09: 000000000000000f
May 20 00:29:46 archDesktop kernel: R10: ffff9d2c3f37ce90 R11: fffff90c04ce8c08 R12: ffffaac6816f3b50
May 20 00:29:46 archDesktop kernel: R13: ffff9d2533a30000 R14: 000000000000000f R15: 0000000000000000
May 20 00:29:46 archDesktop kernel: FS:  00007f87e1ce0940(0000) GS:ffff9d2c1ec80000(0000) knlGS:0000000000000000
May 20 00:29:46 archDesktop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 20 00:29:46 archDesktop kernel: CR2: 0000000000000000 CR3: 0000000108e82000 CR4: 0000000000350ee0
May 20 00:29:46 archDesktop kernel: Call Trace:
May 20 00:29:46 archDesktop kernel:  radeon_bo_move+0x37d/0x6d0 [radeon]
May 20 00:29:46 archDesktop kernel:  ttm_bo_handle_move_mem+0x90/0x170 [ttm]
May 20 00:29:46 archDesktop kernel:  ttm_bo_validate+0x12f/0x160 [ttm]
May 20 00:29:46 archDesktop kernel:  ttm_bo_init_reserved+0x18e/0x300 [ttm]
May 20 00:29:46 archDesktop kernel:  ttm_bo_init+0x5e/0xd0 [ttm]
May 20 00:29:46 archDesktop kernel:  ? radeon_update_memory_usage.isra.0+0x40/0x40 [radeon]
May 20 00:29:46 archDesktop kernel:  radeon_bo_create+0x175/0x200 [radeon]
May 20 00:29:46 archDesktop kernel:  ? radeon_update_memory_usage.isra.0+0x40/0x40 [radeon]
May 20 00:29:46 archDesktop kernel:  radeon_gem_prime_import_sg_table+0x68/0x100 [radeon]
May 20 00:29:46 archDesktop kernel:  drm_gem_prime_import_dev+0x8f/0x150 [drm]
May 20 00:29:46 archDesktop kernel:  ? __fget_files+0x6b/0xa0
May 20 00:29:46 archDesktop kernel:  drm_gem_prime_fd_to_handle+0x196/0x1d0 [drm]
May 20 00:29:46 archDesktop kernel:  ? drm_prime_destroy_file_private+0x20/0x20 [drm]
May 20 00:29:46 archDesktop kernel:  drm_ioctl_kernel+0xb2/0x100 [drm]
May 20 00:29:46 archDesktop kernel:  drm_ioctl+0x21e/0x3b0 [drm]
May 20 00:29:46 archDesktop kernel:  ? drm_prime_destroy_file_private+0x20/0x20 [drm]
May 20 00:29:46 archDesktop kernel:  radeon_drm_ioctl+0x49/0x80 [radeon]
May 20 00:29:46 archDesktop kernel:  __x64_sys_ioctl+0x82/0xb0
May 20 00:29:46 archDesktop kernel:  do_syscall_64+0x33/0x40
May 20 00:29:46 archDesktop kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xae
May 20 00:29:46 archDesktop kernel: RIP: 0033:0x7f87e26e359b
May 20 00:29:46 archDesktop kernel: Code: ff ff ff 85 c0 79 9b 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a5 a8 0c 00 f7 d8 64 89 01 48
May 20 00:29:46 archDesktop kernel: RSP: 002b:00007ffdd5bb0b08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
May 20 00:29:46 archDesktop kernel: RAX: ffffffffffffffda RBX: 00007ffdd5bb0b4c RCX: 00007f87e26e359b
May 20 00:29:46 archDesktop kernel: RDX: 00007ffdd5bb0b4c RSI: 00000000c00c642e RDI: 0000000000000018
May 20 00:29:46 archDesktop kernel: RBP: 00000000c00c642e R08: 00007ffdd5bb0bf0 R09: 0000000000000014
May 20 00:29:46 archDesktop kernel: R10: 00007f87e059e9b0 R11: 0000000000000246 R12: 000055731e2c6ae0
May 20 00:29:46 archDesktop kernel: R13: 0000000000000018 R14: 0000000000100000 R15: 00007ffdd5bb1150
May 20 00:29:46 archDesktop kernel: Modules linked in: xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables libcrc32c nfnetlink bridge stp llc amdgpu snd_hda_codec_realtek snd_hda_codec_generic vfat intel_rapl_msr radeon intel_rapl_common fat ledtrig_audio snd_hda_codec_hdmi btusb btrtl gpu_sched edac_mce_amd i2c_algo_bit eeepc_wmi snd_hda_intel btbcm asus_wmi btintel sparse_keymap video snd_intel_dspcfg snd_usb_audio kvm_amd snd_intel_sdw_acpi wmi_bmof drm_ttm_helper snd_hda_codec bluetooth ttm snd_usbmidi_lib kvm snd_rawmidi snd_hda_core drm_kms_helper snd_seq_device mc snd_hwdep snd_pcm cec snd_timer snd syscopyarea rapl sp5100_tco sysfillrect ecdh_generic pcspkr k10temp rfkill mousedev sysimgblt igc i2c_piix4 soundcore joydev fb_sys_fops ecc wmi mac_hid gpio_amdpt pinctrl_amd acpi_cpufreq gpio_generic drm fuse crypto_user agpgart bpf_preload ip_tables x_tables ext4 crc32c_generic crc16
May 20 00:29:46 archDesktop kernel:  mbcache jbd2 usbhid dm_crypt cbc encrypted_keys dm_mod trusted tpm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cryptd ccp rng_core xhci_pci xhci_pci_renesas vfio_pci irqbypass vfio_virqfd vfio_iommu_type1 vfio
May 20 00:29:46 archDesktop kernel: CR2: 0000000000000000
May 20 00:29:46 archDesktop kernel: ---[ end trace 63c1a366de1821d2 ]---
May 20 00:29:46 archDesktop kernel: RIP: 0010:radeon_gart_bind+0x3c/0xf0 [radeon]
May 20 00:29:46 archDesktop kernel: Code: 08 80 bf 98 04 00 00 00 0f 84 b3 00 00 00 c1 ee 0c 49 89 cf 48 89 fd 45 89 ce 8d 0c 32 89 f3 4d 89 c5 89 4c 24 04 85 d2 7e 66 <49> 8b 17 48 8b 85 88 04 00 00 41 89 dc 44 89 f6 4a 89 14 e0 48 8b
May 20 00:29:46 archDesktop kernel: RSP: 0018:ffffaac6816f3a40 EFLAGS: 00010202
May 20 00:29:46 archDesktop kernel: RAX: ffff9d25034d46e8 RBX: 00000000000002a4 RCX: 0000000000000990
May 20 00:29:46 archDesktop kernel: RDX: 00000000000006ec RSI: 00000000000002a4 RDI: ffff9d25034d4000
May 20 00:29:46 archDesktop kernel: RBP: ffff9d25034d4000 R08: ffff9d2533a30000 R09: 000000000000000f
May 20 00:29:46 archDesktop kernel: R10: ffff9d2c3f37ce90 R11: fffff90c04ce8c08 R12: ffffaac6816f3b50
May 20 00:29:46 archDesktop kernel: R13: ffff9d2533a30000 R14: 000000000000000f R15: 0000000000000000
May 20 00:29:46 archDesktop kernel: FS:  00007f87e1ce0940(0000) GS:ffff9d2c1ec80000(0000) knlGS:0000000000000000
May 20 00:29:46 archDesktop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 20 00:29:46 archDesktop kernel: CR2: 0000000000000000 CR3: 0000000108e82000 CR4: 0000000000350ee0
May 20 00:30:09 archDesktop systemd[1]: libvirtd.service: Deactivated successfully.
May 20 00:30:09 archDesktop kernel: audit: type=1131 audit(1621495809.047:129): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=libvirtd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 20 00:30:09 archDesktop audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=libvirtd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 20 00:30:09 archDesktop systemd[1]: libvirtd.service: Unit process 792 (dnsmasq) remains running after unit stopped.
May 20 00:30:09 archDesktop systemd[1]: libvirtd.service: Unit process 793 (dnsmasq) remains running after unit stopped.
May 20 00:30:09 archDesktop kernel: sysrq: This sysrq operation is disabled.
May 20 00:30:09 archDesktop kernel: sysrq: This sysrq operation is disabled.
May 20 00:30:09 archDesktop kernel: sysrq: This sysrq operation is disabled.
 May 20 00:30:09 archDesktop kernel: sysrq: Emergency Sync

I have again removed my gpu's and tested them individually and they work on their own. But will not work when both are installed simultaneously (on Arch). I will note though, that while they do both work on the lts kernel, the performance of the radeon 5450 is abysmal compared to when it is installed on its own (or its performance in ubuntu, with both cards installed).
 
Old 05-20-2021, 03:35 AM   #5
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Original Poster
Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by mrmazda View Post
AFAICT, the Radeon HD 5450 is an entry level ATI/AMD product. ISTR more than a few reports in the not too distant past that FOSS support for it could be better than it is. These are two quite recent ones that I can remember seeing/writing in:I'm thinking your best help might come from either making a report in Arch's bug tracking system, or asking for help in one of Arch's own forums, unless that's what you've already done.

I have two 5450s, one by Sapphire, the other by XFX. But, I'm not in position to run either of them paired with another, much less along with one as new or expensive as your RX 5700xt gamer. Also, I've yet to make my first Arch installation. Otherwise, I'd try to reproduce. Mine do have foibles not experienced with other GPUs.

The B550-f seems to support at least 3 displays with a suitable CPU selection. Methinks you could sell or trade the RX 5700xt and install a CPU that includes an APU, so that you'd have no need for any second discrete GPU, much less any entry level model. Or, offload, if that's the reason for the 5450, to an APU. IOW, boot the 5450 out of your system.
Yes the 5700xt does indeed support more than one display lol. The reason for the second card is for virtualization reasons. I have considered getting an apu, and plan to... once I can get my hands on the latest gen, like an 5700g.
And 95% of the time what I do, I don't care about graphics, which is the reason for the low end gpu, but I do like to throw on a game every now and then.
 
Old 05-20-2021, 03:49 AM   #6
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Original Poster
Rep: Reputation: 190Reputation: 190
Interestingly, switching the gpu's in the slots on the motherboard seems to make them play nicely together. Unfortunately, this is not a solution for my situation. The second pcie slot is not gen4 compatible (realistically idk the consequences of this, though my better gpu advertises it is gen4). Also, the IOMMU groupings for the second slot make things more complicated for virtualization.
 
Old 05-22-2021, 03:26 PM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,885
Blog Entries: 1

Rep: Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079
I just stumbled across a configuration option that stands a chance of helping:
Code:
	Option "ReprobeOutputs" "true"
Put it in /etc/X11/xorg.conf itself (create it if absent; absent is highly probable) or in any .conf file that contains a 'Section "Device"' in /etc/X11/xorg.conf.d/. If the ReprobeOutputs option does not seem to help, try switching to a vtty and back, e.g. Ctrl-Alt-F3, Alt-F7, after switching the #2 display on or off.

Example file /etc/X11/xorg.conf.d/50-device.conf:
Code:
Section "Device"
    Identifier	"Default Device"
	Option	"ReprobeOutputs"	"true"
EndSection
 
Old 05-23-2021, 01:55 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ Yes, try that.

Quote:
Originally Posted by TheEzekielProject View Post
Just a note: There is a new kernel not in the lts line now, 5.12.5-arch1-1. I have installed it, and the symptoms persist. The lts kernel continues to work.
Are you saying you aren't experiencing any problems with the LTS kernel? Why don't you just stick with that then?

Quote:
Originally Posted by TheEzekielProject View Post
Here is the relevant section of my journal
Thanks, unfortunately it's way beyond me.
All I see is some sort of kernel panic/coredump. It would be interesting to see the journal entries leading up to it. Something must be triggering it.

If both the above is exactly as you say then I would indeed say you should file a bug report against the affected kernel.
 
Old 05-24-2021, 02:20 PM   #9
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Original Poster
Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by ondoho View Post
^ Yes, try that.


Are you saying you aren't experiencing any problems with the LTS kernel? Why don't you just stick with that then?

Partly because I figured if it was a kernel a bug, it looks like a regression, since the LTS kernel works, and because I figured it was kind of a fix it now or later thing lol. The current kernel versions are bound to be the LTS kernel eventually, right? So I figure it's gonna break eventually.


But unfortunately there were issues that I didn't foresee with the motherboard I purchased, so I swapped my motherboard for a different one.


I was intending to setup my system with windows in kvm/qemu, passing through the 5700 xt to Windows. I mistakenly expected to be able to change the boot gpu in the uefi on the B-550-f, but Asus has not implemented this functionality. I emailed their support, and they said the engineers have no plans to implement it. So I switched out my motherboard for one that does allow you to change the boot gpu. The Gigabyte x570 Aorus Pro wifi.


Interestingly, this kernel issue seems to have gone away with an otherwise identical setup. This particular issue is not one of the ones I expected to resolve by switching mobo's.
Thank you both for your help and effort, ondoho and mrmazda

Last edited by TheEzekielProject; 05-24-2021 at 02:22 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Handbrake GPU Acceleration - Inexpensive AMD GPU for Old PC Mr. Macintosh Linux - Software 8 01-03-2018 03:11 PM
Does blacklisting discrete GPU driver completely disables discrete GPU, or using acpi_call is better decision? SuperPrower Linux - Hardware 2 08-21-2017 08:32 PM
how can I setup the amd GPU as a default gpu instead of intel graphics? divinefishersmith Linux - Newbie 33 08-22-2015 06:03 PM
Tried to swap GPU in HP workstation. GPU not working good. LexMK Linux - Hardware 1 06-21-2013 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration