Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-24-2022, 12:38 AM
|
#1
|
Member
Registered: Jul 2022
Posts: 37
Rep:
|
Radeon GPU card failing while barfing some "*ERROR* failed to bind X pages at 0x00000000"
Hi.
Yes, yet ANOTHER post in the ongoing Firefly ITX-3588J / ROCKCHIP RK3588 quest (you can find my other posts about it browsing my history for context). After getting some help on another forum where I discovered that apparently the integrated ARM Mali G610 "Valhall" GPU is not supported by mainstream Linux (actually the whole RK3588 is not yet completely supported, but the board vendor gives you a patched 5.10.66 kernel which is all I can use right now), I decided to use the single onboard PCI Express x4 slot to adduce an external GPU card that was hopefully better supported. Given I was having woes trying to find one that would fit the rather exacting requirements here - half height case, PCIe x4 must fit (didn't wanna mutilate the port or card), and low enough power consumption to not overwhelm the external PSU - I ended up getting this "VisionTek RADEON 4350" card, which seems like it might be very old, unfortunately (! box said "Copyright 2005"), but smelled new (?!) when it came out of the package. It has PCIe x1, so will physically fit the slot at least. Can't imagine it's a potent GPU at all, but I don't need lots of GPU muscle for this machine (won't be running many games on ARM after all).
And I got it in, and with some fiddling trying to configure the kernel, I had thus FINALLY made a breakthrough - you see, up until this point, because the Mali GPU was not supported, Linux running on this machine and not as the (likely patched in some obscure way) stock vendor-provided image which couldn't install to external HDD, would only ever come up via serial debug - now I have framebuffer console! YESSSS! BUT, unfortunately, when I then went to install the desktop system (This is Ubuntu 20.04), it failed bad: the screen flickers from showing the blinking cursor to what looks like a failed attempt for the desktop to come up in that a frozen mouse cursor appears against a black background in the lower-right corner, then it flashes again and returns to cursor blinking, this time stable - though I can "Ctrl+Alt+Fx" to other ttys and get in. On the serial debug, though, there's a huge ream of this kind of spam:
Code:
[ 17.218136] [drm:radeon_ttm_backend_bind [radeon]] *ERROR* failed to bind 16 pages at 0x00000000
[ 17.218259] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (65536, 2, 4096, )
[ 17.231612] [drm:radeon_ttm_backend_bind [radeon]] *ERROR* failed to bind 16 pages at 0x00000000
[ 17.231728] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (65536, 2, 4096, )
[ 17.244040] [drm:radeon_ttm_backend_bind [radeon]] *ERROR* failed to bind 16 pages at 0x00000000
[ 17.244160] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (65536, 2, 4096, )
[ 17.253405] [drm:radeon_ttm_backend_bind [radeon]] *ERROR* failed to bind 16 pages at 0x00000000
[ 17.253497] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (65536, 2, 4096, )
with various numbers (256 pages, 2 pages, ...) as it goes on. No other errors, though, that seem related, which is a situation _different_ from the posts I've seen elsewhere.
I've Googled for this and it seems this is not solely an issue with this card or platform (though this _platform_ is super new), but a depressingly large amount of the results say "BUG..." and it is currently impossible to upgrade the 5.10.66 kernel to a newer one because the RK3588 SoC is not supported yet in mainline. Am I SOL with this graphics card? I especially don't want my ~$75 wasted on that card so wanna try as much as possible to salvage it.
ADD: I dmesg'd and found some more detail with "trying to bind memory to unintialized GART !":
Code:
[ 21.909385] [drm:radeon_ttm_backend_bind [radeon]] *ERROR* failed to bind 256 pages at 0x00000000
[ 21.909477] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (1048576, 2, 4096)
[ 21.909781] ------------[ cut here ]------------
[ 21.909783] trying to bind memory to uninitialized GART !
[ 21.909829] WARNING: CPU: 6 PID: 1030 at drivers/gpu/drm/radeon/radeon_gart.c:297 radeon_gart_bind+0x40/0x1]
[ 21.909830] Modules linked in: radeon bcmdhd ttm
[ 21.909837] CPU: 6 PID: 1030 Comm: gnome-shell Tainted: G W 5.10.66 #2
[ 21.909838] Hardware name: Firefly ITX-3588J HDMI(Linux) (DT)
[ 21.909840] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[ 21.909865] pc : radeon_gart_bind+0x40/0x104 [radeon]
[ 21.909890] lr : radeon_gart_bind+0x40/0x104 [radeon]
[ 21.909892] sp : ffffffc015ccb7c0
[ 21.909893] x29: ffffffc015ccb7c0 x28: ffffffc0092f06ac
[ 21.909896] x27: ffffffc00915c340 x26: ffffff8110410820
[ 21.909898] x25: ffffff8103972000 x24: 0000000000000000
[ 21.909901] x23: ffffffc015ccba88 x22: ffffffc015ccb970
[ 21.909903] x21: ffffff8110410808 x20: 000000000000000f
[ 21.909905] x19: ffffff8110410000 x18: 0000000000000000
[ 21.909909] x17: 0000000000000000 x16: 0000000000000000
[ 21.909912] x15: 0000000000000000 x14: 0000000000000000
[ 21.909914] x13: 0000000000000000 x12: 0000000000000000
[ 21.909917] x11: 0000000000000000 x10: 0000000000000000
[ 21.909919] x9 : ffffffc0100d7cd0 x8 : 6974696e696e7520
[ 21.909921] x7 : 6f742079726f6d65 x6 : ffffffc012275a1e
[ 21.909923] x5 : ffffff81fef679c8 x4 : 0000000000000000
[ 21.909927] x3 : 0000000000000027 x2 : 0000000000000023
[ 21.909930] x1 : 0000000000000000 x0 : 0000000000000000
[ 21.909932] Call trace:
[ 21.909957] radeon_gart_bind+0x40/0x104 [radeon]
[ 21.909982] radeon_ttm_backend_bind+0xc0/0x1fc [radeon]
[ 21.910008] radeon_ttm_tt_bind+0x1c/0x30 [radeon]
[ 21.910012] ttm_bo_tt_bind+0x30/0x3c [ttm]
[ 21.910016] ttm_bo_handle_move_mem+0x118/0x248 [ttm]
[ 21.910020] ttm_bo_validate+0xd0/0x148 [ttm]
[ 21.910029] ttm_bo_init_reserved+0x230/0x244 [ttm]
[ 21.910040] ttm_bo_init+0x58/0xa4 [ttm]
[ 21.910070] radeon_bo_create+0x17c/0x224 [radeon]
[ 21.910102] radeon_gem_object_create+0xa4/0x194 [radeon]
[ 21.910133] radeon_gem_create_ioctl+0x70/0x108 [radeon]
[ 21.910142] drm_ioctl_kernel+0xac/0x100
[ 21.910149] drm_ioctl+0x2f8/0x33c
[ 21.910179] radeon_drm_ioctl+0x84/0x98 [radeon]
[ 21.910188] vfs_ioctl+0x30/0x50
[ 21.910195] __arm64_sys_ioctl+0x68/0x9c
[ 21.910202] el0_svc_common.constprop.0+0x13c/0x1f0
[ 21.910211] do_el0_svc+0x84/0xa4
[ 21.910218] el0_svc+0x20/0x30
[ 21.910225] el0_sync_handler+0xcc/0x154
[ 21.910233] el0_sync+0x1a0/0x1c0
[ 21.910239]
PC: 0xffffffc0092f1d40:
[ 21.910243] 1d40 aa0003f3 a9025bf5 f9001bf7 3956e000 35000160 d0000660 912c5000 95f7f608
[ 21.910305] 1d60 d4210000 a94153f3 a9425bf5 f9401bf7 a8c47bfd d50323bf d65f03c0 530c7c34
[ 21.910331] 1d80 2a0203f7 2a1403f6 52800015 0b1402a0 6b1702bf 5400012b f942ca60 b4fffe40
[ 21.910337] 1da0 d5033f9f f94c3a60 f9403001 aa1303e0 d63f0020 17ffffec f942d661 d37d7c00
[ 21.910344] 1dc0 f8606822 b40001a2 f820683f f942da60 f9510e62 f8365802 f942ca60 b40000c0
[ 21.910352] 1de0 f94c3a60 2a1603e1 f9403803 aa1303e0 d63f0060 110006d6 110006b5 17ffffe4
[ 21.910359] 1e00 aa1e03e9 d503201f d503233f a9ba7bfd 910003fd a90153f3 aa0003f3 a9025bf5
[ 21.910367] 1e20 a90363f7 a9046bf9 f9002bfb 3956e000 350001c0 d0000660 912d1c00 95f7f5d0
[ 21.910373] 1e40 d4210000 128002a0 a94153f3 a9425bf5 a94363f7 a9446bf9 f9402bfb a8c67bfd
[ 21.910381] 1e60 d50323bf d65f03c0 2a0203f7 aa0303f8 aa0403f9 2a0503fa 530c7c35 d2800014
[ 21.910388] 1e80 0b1402bb 6b1402ff 5400014c f942ca60 b40000c0 d5033f9f f94c3a60 f9403001
[ 21.910395] 1ea0 aa1303e0 d63f0020 52800000 17ffffe7 f942d660 d37d7f76 f8747b01 f8366801
[ 21.910405] 1ec0 2a1a03e1 f94c3a60 f9403402 f8747b20 d63f0040 aa0003e2 f942da60 f8366802
[ 21.910411] 1ee0 f942ca60 b40000c0 f94c3a60 2a1b03e1 f9403803 aa1303e0 d63f0060 91000694
[ 21.910418] 1f00 17ffffe0 aa1e03e9 d503201f d503233f a9be7bfd 910003fd f9000bf3 aa0003f3
[ 21.910425] 1f20 3956e001 34000081 b9459c02 52800001 97ffff7e f942d660 3916e27f 95bb5564
[ 21.910432]
LR: 0xffffffc0092f1d40:
[ 21.910432] 1d40 aa0003f3 a9025bf5 f9001bf7 3956e000 35000160 d0000660 912c5000 95f7f608
[ 21.910439] 1d60 d4210000 a94153f3 a9425bf5 f9401bf7 a8c47bfd d50323bf d65f03c0 530c7c34
[ 21.910449] 1d80 2a0203f7 2a1403f6 52800015 0b1402a0 6b1702bf 5400012b f942ca60 b4fffe40
[ 21.910456] 1da0 d5033f9f f94c3a60 f9403001 aa1303e0 d63f0020 17ffffec f942d661 d37d7c00
[ 21.910463] 1dc0 f8606822 b40001a2 f820683f f942da60 f9510e62 f8365802 f942ca60 b40000c0
[ 21.910470] 1de0 f94c3a60 2a1603e1 f9403803 aa1303e0 d63f0060 110006d6 110006b5 17ffffe4
[ 21.910476] 1e00 aa1e03e9 d503201f d503233f a9ba7bfd 910003fd a90153f3 aa0003f3 a9025bf5
[ 21.910483] 1e20 a90363f7 a9046bf9 f9002bfb 3956e000 350001c0 d0000660 912d1c00 95f7f5d0
[ 21.910490] 1e40 d4210000 128002a0 a94153f3 a9425bf5 a94363f7 a9446bf9 f9402bfb a8c67bfd
[ 21.910501] 1e60 d50323bf d65f03c0 2a0203f7 aa0303f8 aa0403f9 2a0503fa 530c7c35 d2800014
[ 21.910508] 1e80 0b1402bb 6b1402ff 5400014c f942ca60 b40000c0 d5033f9f f94c3a60 f9403001
[ 21.910515] 1ea0 aa1303e0 d63f0020 52800000 17ffffe7 f942d660 d37d7f76 f8747b01 f8366801
[ 21.910521] 1ec0 2a1a03e1 f94c3a60 f9403402 f8747b20 d63f0040 aa0003e2 f942da60 f8366802
[ 21.910528] 1ee0 f942ca60 b40000c0 f94c3a60 2a1b03e1 f9403803 aa1303e0 d63f0060 91000694
[ 21.910535] 1f00 17ffffe0 aa1e03e9 d503201f d503233f a9be7bfd 910003fd f9000bf3 aa0003f3
[ 21.910546] 1f20 3956e001 34000081 b9459c02 52800001 97ffff7e f942d660 3916e27f 95bb5564
[ 21.910553]
SP: 0xffffffc015ccb6c0:
[ 21.910554] b6c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 21.910560] b6e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 21.910567] b700 00000000 00000000 10410000 ffffff81 0000000f 00000000 10410808 ffffff81
[ 21.910573] b720 15ccb970 ffffffc0 15ccba88 ffffffc0 00000000 00000000 03972000 ffffff81
[ 21.910580] b740 10410820 ffffff81 0915c340 ffffffc0 092f06ac ffffffc0 15ccb7c0 ffffffc0
[ 21.910589] b760 092f1e40 ffffffc0 15ccb7c0 ffffffc0 092f1e40 ffffffc0 60400009 00000000
[ 21.910596] b780 0915c340 ffffffc0 00000000 00000000 ffffffff 0000007f 0f07a000 ffffff81
[ 21.910603] b7a0 15ccb7c0 ffffffc0 092f1e40 ffffffc0 00000000 00000000 00000000 00000000
[ 21.910609] b7c0 15ccb820 ffffffc0 092ef730 ffffffc0 118f7100 ffffff81 0000000f 00000000
[ 21.910616] b7e0 10410808 ffffff81 15ccb970 ffffffc0 15ccba88 ffffffc0 00000000 00000000
[ 21.910623] b800 03972000 ffffff81 10410820 ffffff81 0915c340 ffffffc0 10410808 ffffff81
[ 21.910631] b820 15ccb870 ffffffc0 092ef888 ffffffc0 00000000 00000000 0f077478 ffffff81
[ 21.910638] b840 15ccb970 ffffffc0 10410808 ffffff81 15ccba88 ffffffc0 00000000 00000000
[ 21.910645] b860 03972000 ffffff81 09151664 ffffffc0 15ccb880 ffffffc0 09152948 ffffffc0
[ 21.910651] b880 15ccb890 ffffffc0 09152a6c ffffffc0 15ccb930 ffffffc0 091531ac ffffffc0
[ 21.910657] b8a0 00000000 00000000 0f077478 ffffff81 15ccba88 ffffffc0 00002480 00000000
[ 21.910664]
X0: 0xffffffffffffff00:
[ 21.910666] ff00 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910677] ff20 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910684] ff40 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910691] ff60 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910698] ff80 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910706] ffa0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910714] ffc0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910724] ffe0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910747] 0000 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910807] 0020 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910865] 0040 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910926] 0060 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910951] 0080 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910960] 00a0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910967] 00c0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910976] 00e0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910983]
X1: 0xffffffffffffff00:
[ 21.910984] ff00 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.910993] ff20 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911000] ff40 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911008] ff60 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911017] ff80 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911024] ffa0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911034] ffc0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911041] ffe0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911048] 0000 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911056] 0020 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911063] 0040 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911073] 0060 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911080] 0080 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911088] 00a0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911095] 00c0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911102] 00e0 ******** ******** ******** ******** ******** ******** ******** ********
[ 21.911112]
(... goes on like this for each CPU register apparently ...)
Last edited by shimmy00; 09-24-2022 at 02:40 AM.
|
|
|
09-24-2022, 01:39 AM
|
#2
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,354
|
I have several older and newer Radeon HD cards (e.g. 2600, 3470, 5450, 6450) working fine in various current and old distros. If the upstream named xf86-video-ati driver and/or its possible cohort xf86-video-radeon are installed, try removing. That normally causes automatic fallback to the upstream, newer technology, default, DIX display driver named modesetting, which is provided by the Xorg server package by whatever name your distro gives it. Distros sometimes put FOSS Radeon firmware in a separate package, so make sure radeon firmware from whatever source is installed. Both radeon and modesetting display drivers depend on kernel modesetting (KMS), so be sure not to disable it.
|
|
|
09-24-2022, 02:22 AM
|
#3
|
Member
Registered: Jul 2022
Posts: 37
Original Poster
Rep:
|
Just tried it. On Ubuntu, the package looks to be named "xserver-xorg-video-radeon", but removing that did nothing to help the problem - it still spews all that out and fails. So it didn't seem to work. It also seems this "radeon" refers to a kernel facility (note the debug dump: "WARNING: CPU: 6 PID: 1030 at drivers/gpu/drm/radeon/radeon_gart.c:297 radeon_gart_bind+0x40/0x1]" - that's in the kernel code.).
Last edited by shimmy00; 09-24-2022 at 02:24 AM.
|
|
|
09-24-2022, 03:34 AM
|
#4
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,354
|
Quote:
Originally Posted by shimmy00
It also seems this "radeon" refers to a kernel facility (note the debug dump: "WARNING: CPU: 6 PID: 1030 at drivers/gpu/drm/radeon/radeon_gart.c:297 radeon_gart_bind+0x40/0x1]" - that's in the kernel code.).
|
I think that's the kernel module where KMS comes from.
I just upgraded a Jammy and got this:
Code:
# lsmod | sort | grep -E 'radeon|video'
drm 622592 7 drm_kms_helper,radeon,drm_ttm_helper,ttm
drm_kms_helper 311296 1 radeon
drm_ttm_helper 16384 1 radeon
i2c_algo_bit 16384 1 radeon
radeon 1839104 3
ttm 86016 2 radeon,drm_ttm_helper
# xdriinfo
Screen 0: r600
# inxi -GSaz --vs
inxi 3.3.21-00 (2022-08-22)
System:
Kernel: 5.15.0-48-generic arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: ro root=LABEL=<filter> net.ifnames=0 biosdevname=0
ipv6.disable=1 noresume mitigations=auto consoleblank=0 plymouth.enable=0
Desktop: Trinity v: R14.0.13 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
vt: 7 dm: 1: TDM 2: XDM Distro: Ubuntu 22.04 (Jammy Jellyfish)
Graphics:
Device-1: AMD RV620 PRO [Radeon HD 3470] vendor: Dell C120D driver: radeon
v: kernel arch: TeraScale process: TSMC 55-65nm built: 2005-13 pcie: gen: 1
speed: 2.5 GT/s lanes: 16 ports: active: DP-1,DP-2 empty: none
bus-ID: 01:00.0 chip-ID: 1002:95c0 class-ID: 0300 temp: 83.0 C
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
alternate: fbdev,vesa dri: r600 gpu: radeon display-ID: :0 screens: 1
Screen-1: 0 s-res: 4240x1440 s-dpi: 120 s-size: 897x304mm (35.31x11.97")
s-diag: 947mm (37.29")
Monitor-1: DP-1 pos: primary,left model: Acer K272HUL serial: <filter>
built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
max: 2560x1440 min: 720x400
Monitor-2: DP-2 pos: right model: Lenovo L2251x Wide serial: <filter>
built: 2011 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
size: 474x296mm (18.66x11.65") diag: 559mm (22") ratio: 16:10 modes:
max: 1680x1050 min: 720x400
OpenGL: renderer: AMD RV620 (DRM 2.50.0 / 5.15.0-48-generic LLVM 13.0.1)
v: 3.3 Mesa 22.0.1 compat-v: 3.0 direct render: Yes
I then ran dpkg-query -l | grep -iE 'g-video|radeon|mesa|xorg|x11' | grep -v ^rc and attached it.
HTH
Last edited by mrmazda; 09-24-2022 at 03:51 AM.
Reason: attached installed files list better than pastebin
|
|
|
09-24-2022, 03:46 AM
|
#5
|
Member
Registered: Jul 2022
Posts: 37
Original Poster
Rep:
|
Not sure if your post was meant to be a request or not, but mine looks like (used SSH terminal to fetch the information, better than trying to fetch over serial via minicom, which messes the formatting):
Code:
# lsmod | sort | grep -E 'radeon|video'
radeon 1220608 1
ttm 69632 1 radeon
# xdriinfo
Error: Couldn't open display
# inxi -GSaz --vs
Error 22: Unsupported option: --vs
Check -h for correct parameters.
# inxi -GSaz
System:
Kernel: 5.10.66 aarch64 bits: 64 compiler: N/A
parameters: rw rootwait root=/dev/sda2 console=tty1 console=ttyFIQ0,1500000
Console: tty 0 dm: GDM3 3.34.1 Distro: Ubuntu 20.04 LTS (Focal Fossa)
Graphics:
Device-1: AMD RV710 [Radeon HD 4350/4550] vendor: VISIONTEK driver: radeon
v: kernel bus ID: 0000:01:00.0 chip ID: 1002:954f
Device-2: display-subsystem driver: rockchip_drm v: N/A bus ID: N/A
chip ID: rockchip:display-subsystem
Device-3: mali-bifrost driver: mali v: N/A bus ID: N/A
chip ID: arm:fb000000
Device-4: rk3588-dw-hdmi driver: dwhdmi_rockchip v: N/A bus ID: N/A
chip ID: rockchip:fde80000
Device-5: rk3588-dw-hdmi driver: dwhdmi_rockchip v: N/A bus ID: N/A
chip ID: rockchip:fdea0000
Display: server: X.org 1.20.8 driver: modesetting,radeon unloaded: fbdev
alternate: ati tty: 80x24
Message: Advanced graphics data unavailable in console for root.
(Note the "Couldn't open display", which makes sense since X failed, but also the extra devices which appear to be leftover from the unused/unsupported Mali integrated GPU within the RK3588.)
The other command, *without* the pastebin (my proxy seems to be causing some issues there), gives
Code:
ii dbus-x11 1.12.16-2ubuntu2 arm64 simple interprocess messaging system (X11 deps)
ii ghostscript-x 9.50~dfsg-5ubuntu4 arm64 interpreter for the PostScript language and for PDF - X11 support
ii gstreamer1.0-x:arm64 1.16.2-4 arm64 GStreamer plugins for X11 and Pango
ii libdrm-radeon1:arm64 2.4.101-2 arm64 Userspace interface to radeon-specific kernel DRM services -- runtime
ii libegl-mesa0:arm64 20.0.4-2ubuntu1 arm64 free implementation of the EGL API -- Mesa vendor library
ii libfontenc1:arm64 1:1.1.4-0ubuntu1 arm64 X11 font encoding library
ii libgl1-mesa-dri:arm64 20.0.4-2ubuntu1 arm64 free implementation of the OpenGL API -- DRI modules
ii libglapi-mesa:arm64 20.0.4-2ubuntu1 arm64 free implementation of the GL API -- shared library
ii libglu1-mesa:arm64 9.0.1-1build1 arm64 Mesa OpenGL utility library (GLU)
ii libglx-mesa0:arm64 20.0.4-2ubuntu1 arm64 free implementation of the OpenGL API -- GLX vendor library
ii libice6:arm64 2:1.0.10-0ubuntu1 arm64 X11 Inter-Client Exchange library
ii libsm6:arm64 2:1.2.3-1 arm64 X11 Session Management library
ii libx11-6:arm64 2:1.6.9-2ubuntu1 arm64 X11 client-side library
ii libx11-data 2:1.6.9-2ubuntu1 all X11 client-side library
ii libx11-protocol-perl 0.56-7 all Perl module for the X Window System Protocol, version 11
ii libx11-xcb1:arm64 2:1.6.9-2ubuntu1 arm64 Xlib/XCB interface library
ii libxau6:arm64 1:1.0.9-0ubuntu1 arm64 X11 authorisation library
ii libxaw7:arm64 2:1.0.13-1 arm64 X11 Athena Widget library
ii libxcomposite1:arm64 1:0.4.5-1 arm64 X11 Composite extension library
ii libxdamage1:arm64 1:1.1.5-2 arm64 X11 damaged region extension library
ii libxdmcp6:arm64 1:1.1.3-0ubuntu1 arm64 X11 Display Manager Control Protocol library
ii libxext6:arm64 2:1.3.4-0ubuntu1 arm64 X11 miscellaneous extension library
ii libxfixes3:arm64 1:5.0.3-2 arm64 X11 miscellaneous 'fixes' extension library
ii libxfont2:arm64 1:2.0.3-1 arm64 X11 font rasterisation library
ii libxi6:arm64 2:1.7.10-0ubuntu1 arm64 X11 Input extension library
ii libxinerama1:arm64 2:1.1.4-2 arm64 X11 Xinerama extension library
ii libxkbcommon-x11-0:arm64 0.10.0-1 arm64 library to create keymaps with the XKB X11 protocol
ii libxkbfile1:arm64 1:1.1.0-1 arm64 X11 keyboard file manipulation library
ii libxmu6:arm64 2:1.1.3-0ubuntu1 arm64 X11 miscellaneous utility library
ii libxmuu1:arm64 2:1.1.3-0ubuntu1 arm64 X11 miscellaneous micro-utility library
ii libxpm4:arm64 1:3.5.12-1 arm64 X11 pixmap library
ii libxrandr2:arm64 2:1.5.2-0ubuntu1 arm64 X11 RandR extension library
ii libxres1:arm64 2:1.2.0-4 arm64 X11 Resource extension library
ii libxt6:arm64 1:1.1.5-1 arm64 X11 toolkit intrinsics library
ii libxtst6:arm64 2:1.2.3-1 arm64 X11 Testing -- Record extension library
ii libxv1:arm64 2:1.0.11-1 arm64 X11 Video extension library
ii libxxf86dga1:arm64 2:1.1.5-0ubuntu1 arm64 X11 Direct Graphics Access extension library
ii libxxf86vm1:arm64 1:1.1.4-1build1 arm64 X11 XFree86 video mode extension library
ii mesa-utils 8.4.0-1build1 arm64 Miscellaneous Mesa GL utilities
ii mesa-vulkan-drivers:arm64 20.0.4-2ubuntu1 arm64 Mesa Vulkan graphics drivers
ii python3-xkit 0.5.0ubuntu4 all library for the manipulation of xorg.conf files (Python 3)
ii x11-apps 7.7+8 arm64 X applications
ii x11-common 1:7.7+19ubuntu14 all X Window System (X.Org) infrastructure
ii x11-session-utils 7.7+4 arm64 X session utilities
ii x11-utils 7.7+5 arm64 X11 utilities
ii x11-xkb-utils 7.7+5 arm64 X11 XKB utilities
ii x11-xserver-utils 7.7+8 arm64 X server utilities
ii xorg 1:7.7+19ubuntu14 arm64 X.Org X Window System
ii xorg-docs-core 1:1.7.1-1.1 all Core documentation for the X.org X Window System
ii xserver-xorg 1:7.7+19ubuntu14 arm64 X.Org X server
ii xserver-xorg-core 2:1.20.8-2ubuntu2 arm64 Xorg X server - core server
ii xserver-xorg-input-all 1:7.7+19ubuntu14 arm64 X.Org X server -- input driver metapackage
ii xserver-xorg-input-libinput 0.29.0-1 arm64 X.Org X server -- libinput input driver
ii xserver-xorg-input-wacom 1:0.39.0-0ubuntu1 arm64 X.Org X server -- Wacom input driver
ii xserver-xorg-legacy 2:1.20.8-2ubuntu2 arm64 setuid root Xorg server wrapper
ii xserver-xorg-video-fbdev 1:0.5.0-1ubuntu1 arm64 X.Org X server -- fbdev display driver
ii xserver-xorg-video-nouveau 1:1.0.16-1 arm64 X.Org X server -- Nouveau display driver
ii xserver-xorg-video-radeon 1:19.1.0-1 arm64 X.Org X server -- AMD/ATI Radeon display driver
ii xserver-xorg-video-vesa 1:2.4.0-2 arm64 X.Org X server -- VESA display driver
Does this help, or what?
Last edited by shimmy00; 09-24-2022 at 03:57 AM.
|
|
|
09-24-2022, 04:03 AM
|
#6
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,354
|
I did that so you could try to find something that had not been installed, and know what the result should look like. I didn't know you were using Focal before.
Older inxi versions than very recent don't support --vs.
I don't have rootwait or console=tty1 on my Grub linu line. What are they there for?
Lack of several drivers in your lsmod output says kernel issue, but I don't know how to determine what. Here's more of what you should see, assuming Jammy doesn't materially differ from Focal except in version numbers:
Code:
# dmesg | grep drm
[ 3.059450] systemd[1]: Starting Load Kernel Module drm...
[ 5.071924] [drm] radeon kernel modesetting enabled.
[ 5.078211] [drm] initializing kernel modesetting (RV620 0x1002:0x95C0 0x1028:0x3243 0x00).
[ 5.078381] [drm] Detected VRAM RAM=256M, BAR=256M
[ 5.078383] [drm] RAM width 64bits DDR
[ 5.078413] [drm] radeon: 256M of VRAM memory ready
[ 5.078415] [drm] radeon: 512M of GTT memory ready.
[ 5.078426] [drm] Loading RV620 Microcode
[ 5.195150] [drm] Internal thermal controller with fan control
[ 5.195234] [drm] radeon: power management initialized
[ 5.240419] [drm] GART: num cpu pages 131072, num gpu pages 131072
[ 5.270028] [drm] PCIE GART of 512M enabled (table at 0x0000000000142000).
[ 5.276352] [drm] radeon: irq initialized.
[ 5.312017] [drm] ring test on 0 succeeded in 1 usecs
[ 5.513052] [drm] ring test on 5 succeeded in 1 usecs
[ 5.513082] [drm] UVD initialized successfully.
[ 5.513433] [drm] ib test on ring 0 succeeded in 0 usecs
[ 6.201835] [drm] ib test on ring 5 succeeded
[ 6.214957] [drm] Radeon Display Connectors
[ 6.214961] [drm] Connector 0:
[ 6.214962] [drm] DP-1
[ 6.214963] [drm] HPD2
[ 6.214964] [drm] DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
[ 6.214966] [drm] Encoders:
[ 6.214967] [drm] DFP1: INTERNAL_UNIPHY
[ 6.214968] [drm] Connector 1:
[ 6.214969] [drm] DP-2
[ 6.214970] [drm] HPD4
[ 6.214970] [drm] DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
[ 6.214972] [drm] Encoders:
[ 6.214973] [drm] DFP2: INTERNAL_UNIPHY
[ 6.384696] [drm] fb mappable at 0xD0243000
[ 6.384702] [drm] vram apper at 0xD0000000
[ 6.384703] [drm] size 5324800
[ 6.384705] [drm] fb depth is 24
[ 6.384706] [drm] pitch is 5888
[ 6.385310] fbcon: radeondrmfb (fb0) is primary device
[ 6.493472] radeon 0000:01:00.0: [drm] fb0: radeondrmfb frame buffer device
[ 6.510111] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on minor 0
|
|
|
09-24-2022, 04:38 AM
|
#7
|
Member
Registered: Jul 2022
Posts: 37
Original Poster
Rep:
|
Thanks. I mentioned "This is Ubuntu 20.04" once in my post but maybe it kinda got lost in there - I'm using it because I'm stuck with 5.10.66 kernel due to the RK3588 platform not being mainlined yet; not sure if that kernel could drive a newer Ubuntu. Those options were mostly leftovers from the extensive trial-and-error it took to learn my way around this platform and set it up as I'd pretty much never had to actually work on an ARM machine before, much less build what amounted to a custom ROM to get it to the point you could load a Linux (it actually isn't so hard in retrospect, just that there was NO easily-found documentation and forum posts seemed like they already "knew it all"). I don't know if they are actually necessary or not. The drivers are there, it just doesn't appear the modules are loaded by default - I think it has something to do with my initramfs; it's not one of those that "loads all drivers at start". I can modprobe them in, though, but that doesn't seem to help X work if I do so. And I think that the whole idea is that the kernel is supposed to dynamically load and unload the modules when it does or doesn't need them.
Also, the only thing grepping drm on dmesg gives me is the spew of "failed to bind..." errors - but it looks like actually dmesg has saturated its buffer, because there is so much spam from each one (that whole register and memory dump thing you saw in the OP, each and every time), so I can't go back far enough - just using "dmesg" alone gives a first entry that is like 20 s after boot.
Last edited by shimmy00; 09-24-2022 at 04:39 AM.
|
|
|
09-24-2022, 09:22 AM
|
#8
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,354
|
Try appending log_buf_len=1M to the linu line in Grub to catch the whole of dmesg.
|
|
|
09-24-2022, 07:26 PM
|
#9
|
Member
Registered: Jul 2022
Posts: 37
Original Poster
Rep:
|
I'm back. Shrikes! I had to increase the buffer size to 64M! to get the relevant bits, there was so much spam. This is what I got for the beginning part. Most looks pretty similar (numbers are different, but that's about it), but there is one "*ERROR*" message there that I didn't see before but am not sure if it's relevant or not:
Code:
[ 0.912214] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@00000000': base 0x0000000000000000, size 0 MiB
[ 3.923950] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp0 assign plane mask: 0x5, primary plane phy id: 2
[ 3.923997] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp1 assign plane mask: 0xa, primary plane phy id: 3
[ 3.924045] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp2 assign plane mask: 0x140, primary plane phy id: 8
[ 3.924077] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp3 assign plane mask: 0x280, primary plane phy id: 9
[ 3.924813] [drm] failed to init overlay plane Cluster0-win1
[ 3.924909] [drm] failed to init overlay plane Cluster1-win1
[ 3.924997] [drm] failed to init overlay plane Cluster2-win1
[ 3.925083] [drm] failed to init overlay plane Cluster3-win1
[ 3.956335] rockchip-drm display-subsystem: bound fdd90000.vop (ops 0xffffffc01128a3f8)
[ 3.959023] rockchip-drm display-subsystem: bound fde80000.hdmi (ops 0xffffffc0112920b8)
[ 3.960770] rockchip-drm display-subsystem: bound fdea0000.hdmi (ops 0xffffffc0112920b8)
[ 3.960839] rockchip-drm display-subsystem: bound fde50000.dp (ops 0xffffffc0112943d8)
[ 3.960918] rockchip-drm display-subsystem: bound fde60000.dp (ops 0xffffffc0112943d8)
[ 3.961548] rockchip-drm display-subsystem: connector[HDMI-A-1] can't found any modes
[ 4.074710] rockchip-drm display-subsystem: connector[DP-2] can't found any modes
[ 4.075208] rockchip-drm display-subsystem: connector[HDMI-A-2] can't found any modes
[ 4.075287] rockchip-drm display-subsystem: can't not find any logo display
[ 4.075357] rockchip-drm display-subsystem: failed to show kernel logo
[ 4.075524] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 4.078968] [drm] Initialized rockchip 3.0.0 20140818 for display-subsystem on minor 0
[ 4.364642] [drm] Initialized rknpu 0.6.4 20211227 for fdab0000.npu on minor 1
[ 11.463682] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[ 12.122178] [drm] radeon kernel modesetting enabled.
[ 12.122761] [drm] initializing kernel modesetting (RV710 0x1002:0x954F 0x1545:0x4472 0x00).
[ 12.243154] [drm] GPU not posted. posting now...
[ 12.244918] [drm] Detected VRAM RAM=512M, BAR=256M
[ 12.244920] [drm] RAM width 64bits DDR
[ 12.245042] [drm] radeon: 512M of VRAM memory ready
[ 12.245044] [drm] radeon: 1024M of GTT memory ready.
[ 12.245059] [drm] Loading RV710 Microcode
[ 12.252444] [drm] Internal thermal controller without fan control
[ 12.263010] [drm] radeon: dpm initialized
[ 12.264317] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 12.265837] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[ 12.328679] [drm] PCIE GART of 1024M enabled (table at 0x000000000014C000).
[ 12.332212] [drm] radeon: irq initialized.
[ 12.604827] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x8504)=0xCAFEDEAD)
[ 12.622986] [drm] Radeon Display Connectors
[ 12.622989] [drm] Connector 0:
[ 12.622991] [drm] DVI-I-1
[ 12.622992] [drm] HPD4
[ 12.622994] [drm] DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[ 12.622995] [drm] Encoders:
[ 12.622997] [drm] DFP1: INTERNAL_UNIPHY
[ 12.622998] [drm] CRT2: INTERNAL_KLDSCP_DAC2
[ 12.622999] [drm] Connector 1:
[ 12.623000] [drm] DIN-1
[ 12.623002] [drm] Encoders:
[ 12.623003] [drm] TV1: INTERNAL_KLDSCP_DAC2
[ 12.623004] [drm] Connector 2:
[ 12.623005] [drm] DVI-I-2
[ 12.623006] [drm] HPD1
[ 12.623008] [drm] DDC: 0x7f10 0x7f10 0x7f14 0x7f14 0x7f18 0x7f18 0x7f1c 0x7f1c
[ 12.623009] [drm] Encoders:
[ 12.623010] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 12.623012] [drm] DFP2: INTERNAL_UNIPHY2
[ 12.685919] [drm] fb mappable at 0x90034D000
[ 12.685923] [drm] vram apper at 0x900000000
[ 12.685924] [drm] size 3145728
[ 12.685925] [drm] fb depth is 24
[ 12.685926] [drm] pitch is 4096
[ 12.719455] radeon 0000:01:00.0: [drm] fb0: radeondrmfb frame buffer device
[ 12.753695] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on minor 2
[ 14.170217] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 15.279448] WARNING: CPU: 0 PID: 1031 at drivers/gpu/drm/radeon/radeon_gart.c:297 radeon_gart_bind+0x40/0x104 [radeon]
[ 15.280117] drm_ioctl_kernel+0xac/0x100
[ 15.280121] drm_ioctl+0x2f8/0x33c
[ 15.280181] radeon_drm_ioctl+0x84/0x98 [radeon]
[ 15.289267] [drm:radeon_ttm_backend_bind [radeon]] *ERROR* failed to bind 16 pages at 0x00000000
[ 15.289384] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (65536, 2, 4096, -22)
[ 15.289631] WARNING: CPU: 0 PID: 1031 at drivers/gpu/drm/radeon/radeon_gart.c:297 radeon_gart_bind+0x40/0x104 [radeon]
[ 15.290518] drm_ioctl_kernel+0xac/0x100
[ 15.290523] drm_ioctl+0x2f8/0x33c
[ 15.290583] radeon_drm_ioctl+0x84/0x98 [radeon]
[ 15.302670] [drm:radeon_ttm_backend_bind [radeon]] *ERROR* failed to bind 16 pages at 0x00000000
[ 15.302921] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (65536, 2, 4096, -22)
[ 15.310746] WARNING: CPU: 4 PID: 1031 at drivers/gpu/drm/radeon/radeon_gart.c:297 radeon_gart_bind+0x40/0x104 [radeon]
[ 15.311007] drm_ioctl_kernel+0xac/0x100
[ 15.311009] drm_ioctl+0x2f8/0x33c
[ 15.311032] radeon_drm_ioctl+0x84/0x98 [radeon]
[ 15.314224] [drm:radeon_ttm_backend_bind [radeon]] *ERROR* failed to bind 16 pages at 0x00000000
[ 15.314315] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (65536, 2, 4096, -22)
[ 15.315628] WARNING: CPU: 4 PID: 1031 at drivers/gpu/drm/radeon/radeon_gart.c:297 radeon_gart_bind+0x40/0x104 [radeon]
[ 15.315949] drm_ioctl_kernel+0xac/0x100
[ 15.315951] drm_ioctl+0x2f8/0x33c
[ 15.315979] radeon_drm_ioctl+0x84/0x98 [radeon]
[ 15.319899] [drm:radeon_ttm_backend_bind [radeon]] *ERROR* failed to bind 16 pages at 0x00000000
[ 15.319963] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (65536, 2, 4096, -22)
[ 15.321852] WARNING: CPU: 4 PID: 1031 at drivers/gpu/drm/radeon/radeon_gart.c:297 radeon_gart_bind+0x40/0x104 [radeon]
[ 15.322178] drm_ioctl_kernel+0xac/0x100
[ 15.322180] drm_ioctl+0x2f8/0x33c
[ 15.322208] radeon_drm_ioctl+0x84/0x98 [radeon]
(... the sea of spam begins ...)
ADD: I found a thread on this now, looking up that error message, and they were talking about Rockchip(yes!) but a slightly older one, the RK3566:
https://www.spinics.net/lists/amd-gfx/msg75949.html
and it looks like it is a quirk of Rockchip. That guy says he came up with a kernel patch - that was back in 2021 - but the post provides no patch code  And they mentioned this was important given RK3588 was coming out ... sure enough this problem then appears to have Reared its ugly head once more as here I am, in 2022, with my RK3588, with ATI Radeon adduced, and it's doing ... yup!
ADD 2: Following up the follow ups does not paint a rosy picture here unfortunately ... that patch looks like it might've been dodgy anyway and it sounds like that ROCKCHIP did not include a fully spec-compliant PCIe controller because some political/IP-related crap (and apparently this kinda thing is somewhat common in the ARMsphere given that the Broadcom SoC used in the Raspberry Pi suffers from issues related to its PCIe controller too [while an RPi is, of course, absent of PCIe connections by itself, you can adduce a breakout board]), but the question as to whether and how it can be worked around in software to get a GPU card working looks to be really much up in the air - the last message to that thread was:
https://www.spinics.net/lists/amd-gfx/msg76035.html
and everything petered out after that. It also looks like they were trying to advise someone who sounded like maybe they actually had some connections with the Rockchip design team to try and fix it in the RK3588 before it was released - apparently that didn't go through.
IOW, it seems this is a fundamental problem - funky hardware and perhaps not too pressing an issue for developers mostly because most people don't adduce GPU cards in this case, they use the on-chip GPU i.e. here the Mali, which won't work of course because not only it, but the whole RK3588 SoC, is not yet supported mainline. It seems that unless there's something someone else knows about, some level of coding - requiring suitable expertise in HW - would be required to get this working, and the machine is dead in the water for now. I hope though that maybe it's not that pessimistic and there's something someone knows since '21 that might help, but can't vouch for it & not a clue where to start looking, as those message boards don't look particularly postable to. Nor can I email anyone there because all their email addys have had the provider domain name censored, presumably to prevent spam.
Last edited by shimmy00; 09-24-2022 at 08:08 PM.
|
|
|
09-24-2022, 08:37 PM
|
#10
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,354
|
Quote:
Originally Posted by shimmy00
Code:
[ 12.604827] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x8504)=0xCAFEDEAD)
[ 12.622986] [drm] Radeon Display Connectors
|
r600 is DRI. Without /dev/dri/cardN, there is no KMS, and competent display drivers are blocked. https://en.wikipedia.org/wiki/Direct...Infrastructure
Asking the amdgpu/ati driver developers what to do would be my next move. https://lists.x.org/mailman/listinfo/xorg-driver-ati shows how to use the ati driver mailing list, but there isn't much activity there any more. What communication channel the amdgpu driver developers are using seems Google doesn't want to cough up. The kernel mailing list is another possibility, maybe the best.
iommu=soft or amd_iommu=off or similar on linu line might be worth a try. If your BIOS has any kind of configurable iommu setting try flipping it. https://www.kernel.org/doc/Documenta...parameters.txt
|
|
|
09-25-2022, 12:10 AM
|
#11
|
Member
Registered: Jul 2022
Posts: 37
Original Poster
Rep:
|
I am not sure though I could contact the kernel mailing list; their rules:
http://vger.kernel.org/lkml/#s3-8
say that you should not use it for "user space issues". I suppose this could be considered a kernel "bug", though, but I'm not sure. Kernel boot options did not work.
|
|
|
09-26-2022, 01:34 AM
|
#12
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,354
|
I'm not sure, but I don't think ring 0 is user space. Device drivers sit on top of it. There must be a hangout somewhere for AMD/ATI driver developers where this would surely be appropriate. I asked on IRC (twice) <irc://irc.oftc.net/dri-devel> but got no response as yet.
|
|
|
09-26-2022, 07:47 PM
|
#13
|
Member
Registered: Jul 2022
Posts: 37
Original Poster
Rep:
|
Thanks. Yeah, I checked the chat logs and it doesn't look like you've gotten any responses even today, still.  Also, yeah I don't think it's user-space either especially given the threads I mentioned, but is kinda hard to understand by itself because "rings" in that sense are on x86, on ARM you apparently have only two: "supervisor mode" and "user mode". Of course, presumably the kernel might still call these rings for interest of consistency, so then there are two rings, ring 0 and ring 1, so also presumably supervisor mode is ring 0 alright, but that I'm not sure and they could be numbered the other way around, though that wouldn't make sense I'd think...
Last edited by shimmy00; 09-26-2022 at 07:55 PM.
|
|
|
09-28-2022, 02:09 PM
|
#14
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,279
|
From post #1, Looks like you're on a voyage of discovery. May I suggest discovering?
The manufacturer gives you this patched 5.10.66 kernel,but do you have the kernel source?
In the early 2000s, ATI/Radeon dropped linux support. In 2007, AMD who had bought ATI hired a few linux devs and started linux support for ATI/Radeon up again with their newer stuff. They never released a linux driver for old ATI stuff that I know of. So your 'Copyright 2005' card was never at any stage supported by linux. The AMD RS690M integrated graphics I bought in 2008 isn't supported at all either. I'd try for something later. They don't consider their ancient stuff at all, so you are better going at generic drivers than AMD specific code. You wouldn't want the r600 driver anyhow. Maybe r100 or r200, not even r300 (which I used for the RS690M). What Mesa Version do you have?
|
|
|
09-28-2022, 02:44 PM
|
#15
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,354
|
Quote:
Originally Posted by business_kid
You wouldn't want the r600 driver anyhow. Maybe r100 or r200, not even r300 (which I used for the RS690M.
|
HD 4350 is from around 2008. For that, r600 is correct for DRI.
Code:
# xdriinfo
Screen 0: r600
# inxi -GSaz
System:
Kernel: 5.15.0-48-generic arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: ro root=LABEL=ub22-snb net.ifnames=0 biosdevname=0
ipv6.disable=1 noresume mitigations=auto consoleblank=0 plymouth.enable=0
Desktop: Trinity v: R14.0.13 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
vt: 7 dm: 1: TDM 2: XDM Distro: Ubuntu 22.04 (Jammy Jellyfish)
Graphics:
Device-1: AMD RV620 PRO [Radeon HD 3470] vendor: Dell C120D driver: radeon
v: kernel arch: TeraScale process: TSMC 55-65nm built: 2005-13 pcie: gen: 1
speed: 2.5 GT/s lanes: 16 ports: active: DP-1,DP-2 empty: none
bus-ID: 01:00.0 chip-ID: 1002:95c0 class-ID: 0300 temp: 83.0 C
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
alternate: fbdev,vesa dri: r600 gpu: radeon display-ID: :0 screens: 1
Radeonsi, which followed r600, is for much newer Radeons.
Note that on Ubuntu for full graphics support from the kernel, linux-image and linux-module packages are insufficient. linux-modules-extra is also required.
Last edited by mrmazda; 09-28-2022 at 02:49 PM.
Reason: add "Note"
|
|
|
All times are GMT -5. The time now is 10:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|