gr-fosphor didn't work with AMD(R) Radeon graphics

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

雪碧 0xroot renxianyuanqi at gmail.com
Sat Dec 12 07:09:49 UTC 2020


Hi osmocom community,

I am using nuc8i7hvk which devices with AMD® Radeon graphics.

And build gnuradio 3.7.14  gr-fosphor  gr3.7



when I run  osmocom_fft -F

> linux; GNU C++ version 7.5.0; Boost_106501;
> UHD_003.010.000.heads-release_003_010_000_000-0-g6e1ac3fc
> gr-osmosdr 0.1.5 (0.1.5) gnuradio 3.7.14.0
> built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace
> airspy soapy redpitaya
> Using AirSpy MINI v1.0.0-rc10-0-g946184a 2016-09-19, samplerates: 3M 6M
>   Airspy decim:1  kernel size:47
> -1 -1
> [w] CL Error (-1, /home/init3/SDR/gr-fosphor/lib/fosphor/cl.c:309): Unable
> to fetch device IDs for platform 0. Skipping.
> [!] No suitable OpenCL device found
>
> OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO^C



I try run lib fosphor :

/gr-fosphor/lib/fosphor$ ./main
> -1 -1
> [w] CL Error (-1, cl.c:309): Unable to fetch device IDs for platform 0.
> Skipping.
> [!] No suitable OpenCL device found
> [!] Failed to initialize fosphor




What should I do to make it work fine?



There is some infomation maybe helpful



Kernel   5.4.1-050401-lowlatency


 lspci | grep VGA
> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
> Polaris 22 [Radeon RX Vega M GH] (rev c0)


inxi -G
> Graphics:  Card: Advanced Micro Devices [AMD/ATI] Polaris 22 [Radeon RX
> Vega M GH]
>            Display Server: x11 (X.Org 1.19.6 )
>            drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
>            Resolution: 3840x2160 at 60.00hz
>            OpenGL: renderer: AMD Radeon Graphics version: 4.6.14736 20.20
>


lshw -c video
> WARNING: you should run this program as super-user.
>   *-display
>        description: VGA compatible controller
>        product: Polaris 22 [Radeon RX Vega M GH]
>        vendor: Advanced Micro Devices, Inc. [AMD/ATI]
>        physical id: 0
>        bus info: pci at 0000:01:00.0
>        version: c0
>        width: 64 bits
>        clock: 33MHz
>        capabilities: vga_controller bus_master cap_list rom
>        configuration: driver=amdgpu latency=0
>        resources: iomemory:200-1ff iomemory:210-20f irq:172
> memory:2000000000-20ffffffff memory:2100000000-21001fffff
> ioport:e000(size=256) memory:dba00000-dba3ffff memory:c0000-dffff
> WARNING: output may be incomplete or inaccurate, you should run this
> program as super-user.



Thanks



----------------------------------------------------------------

0xroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20201212/4e2738ed/attachment.htm>


More information about the osmocom-sdr mailing list