[USRP-users] Re: RFNoC FFT block on X410

2024-05-06 Thread Wade Fife
Hi Sebastian,

You might be using an old YAML file and tring to apply it to a new version
of UHD. Take a look at the YAML file for the version of the FPGA closest to
what you want. For example, here's the default X410 image in UHD 4.6:

https://github.com/EttusResearch/uhddev/blob/UHD-4.6/fpga/usrp3/top/x400/x410_200_rfnoc_image_core.yml

Here's the same YAML with the DRAM commented out and a single FFT block
added:

https://drive.google.com/file/d/1TojBea56ZuPpXTYUIsgQRDg7F-EbVtWH/view?usp=sharing

You'll probably want to tailor this to your use case.

Wade

On Mon, May 6, 2024 at 7:03 AM  wrote:

> Hello Piotr, hello everybody,
>
> i am working with the USRP X410 as well and want to get the FFT Block to
> work in RFNoC.
>
> I have tried to use the yml as it is, but the Plausibility check failed,
> which i could resolve by editing the line 143 “dram” -> “dram0”. I guess
> this was a typo.
>
> After 2 h or so i had a .bit file and tried to flash it. However it
> doesn’t work and i get the following Message:
>
> [ERROR] [MPMD::MB_IFACE] Automatic clock detection requested, but no valid 
> clock index given (63). Make sure FPGA bitfile is up to date!
>
> [ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: 
> RuntimeError: NotImplementedError: Automatic clock detection requested, but 
> no valid clock index given (63). Make sure FPGA bitfile is up to date!
>
> Do you have any idea what the problem is or can you provide me your
> working yml file?
>
> Please note that i have no in depth experience with FPGA development or
> RFNoC and only tried to follow the available guides.
>
>
> Best Regards,
> Sebastian
>
>
> ___
> USRP-users mailing list -- usrp-users@lists.ettus.com
> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
>
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] NEWSDR on Friday May 31 at WPI (updated agenda!)

2024-05-06 Thread Neel Pandeya
The agenda has been updated!

The New England Workshop on Software Defined Radio (NEWSDR) will be held at
Worcester Polytechnic Institute (WPI) on Friday May 31, in Worcester,
Massachusetts, USA.

There will also be a tutorial session on the evening before on Thursday May
30.

The event is free, but advance registration is required.

To learn more about this event and to register, please visit our website at
the link below.

We are still interested in poster presentation submissions, so please
consider submitting.

*https://newsdr.org/workshops/newsdr2024/
*
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] Re: DPDK error : net_mlx5: port 1 empty mbuf pool

2024-05-06 Thread jmaloyan
After removing the lines you mentioned it seems it is now able to return 
successfully…

`sudo uhd_find_devices --args 
"addr=192.168.10.2,second_addr=192.168.20.2,mgmt_addr=192.168.1.184,use_dpdk=1"`

`[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; DPDK_19.11; 
UHD_4.5.0.HEAD-0-g471af98f`

`EAL: Detected 32 lcore(s)`

`EAL: Detected 1 NUMA nodes`

`EAL: Multi-process socket /var/run/dpdk/rte/mp_socket`

`EAL: Selected IOVA mode 'VA'`

`EAL: No available hugepages reported in hugepages-1048576kB`

`EAL: Probing VFIO support...`

`EAL: VFIO support initialized`

`EAL: PCI device :06:00.0 on NUMA socket -1`

`EAL:   probe driver: 15b3:1017 net_mlx5`

`EAL: PCI device :06:00.1 on NUMA socket -1`

`EAL:   probe driver: 15b3:1017 net_mlx5`

`--`

`-- UHD Device 0`

`--`

`Device Address:`

`serial: 329053B`

`claimed: False`

`fpga: CG_400`

`mgmt_addr: 192.168.1.184`

`name: ni-x4xx-329053B`

`product: x410`

`type: x4xx`

Thanks. Also, I am using a custom image, however, the same issue persisted when 
I was trying with the default CG_400 x410 image
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] Re: Sharing one UHD device across multiple hosts

2024-05-06 Thread Marcus D. Leech

On 06/05/2024 09:17, Rob Kossler wrote:


https://files.ettus.com/manual/page_stream.html#stream_remote
Thanks, Rob.  I still had "Alternative Stream Destination" in my head, 
which frustrated my search.


___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] Re: DPDK error : net_mlx5: port 1 empty mbuf pool

2024-05-06 Thread ettus
Hey there, 

can you try to remove the ‘dpdk_num_desc’ options the the uhd.conf file? 

I can reproduce this exact error with the line in the config file. Otherwise 
please provide more info on the device and FPGA image. 

Additionally: If i call the uhd_find_devices command with the argument 
type=x4xx at least the \[ERROR\] \[X300\] is no longer there (assuming you have 
a x4xx device).

Best Regards,\
Sebastian
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] Re: Sharing one UHD device across multiple hosts

2024-05-06 Thread Rob Kossler via USRP-users
On Sun, May 5, 2024 at 4:47 PM Marcus D. Leech  wrote:
>
> On 05/05/2024 16:00, Marcus Müller wrote:
> > That alternate streaming target functionality re-emerged in later UHD
> > versions for RFNoC-supported devices.
> Is there an example of this somewhere?  I only vaguely remember seeing
> this...

https://files.ettus.com/manual/page_stream.html#stream_remote
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] Re: RFNoC FFT block on X410

2024-05-06 Thread ettus
Hello Piotr, hello everybody,

i am working with the USRP X410 as well and want to get the FFT Block to work 
in RFNoC. 

I have tried to use the yml as it is, but the Plausibility check failed, which 
i could resolve by editing the line 143 “dram” -> “dram0”. I guess this was a 
typo.

After 2 h or so i had a .bit file and tried to flash it. However it doesn’t 
work and i get the following Message:

```
[ERROR] [MPMD::MB_IFACE] Automatic clock detection requested, but no valid 
clock index given (63). Make sure FPGA bitfile is up to date!
```

```
[ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: RuntimeError: 
NotImplementedError: Automatic clock detection requested, but no valid clock 
index given (63). Make sure FPGA bitfile is up to date!
```

Do you have any idea what the problem is or can you provide me your working yml 
file?

Please note that i have no in depth experience with FPGA development or RFNoC 
and only tried to follow the available guides.  

Best Regards,\
Sebastian

```
```
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] DPDK error : net_mlx5: port 1 empty mbuf pool

2024-05-06 Thread jmaloyan
Hello,

I am currently getting the following error when I try to run dpdk…

`net_mlx5: port 1 empty mbuf pool`

`net_mlx5: port 1 Rx queue allocation failed: Cannot allocate memory`

I am wondering if anyone has gotten a similar issue and how they fixed it. I 
double checked my uhd.conf and made sure my driver was in the right place, but 
things seem fine. Additionally, I believe dpdk-devbind.py shows the correct 
output. Below is the full output of the error, my uhd.conf, and dpdk-devbind

`sudo uhd_find_devices --args 
"addr=192.168.10.2,second_addr=192.168.20.2,mgmt_addr=192.168.1.184,use_dpdk=1"`

`[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; DPDK_19.11; 
UHD_4.5.0.HEAD-0-g471af98f`

`EAL: Detected 32 lcore(s)`

`EAL: Detected 1 NUMA nodes`

`EAL: Multi-process socket /var/run/dpdk/rte/mp_socket`

`EAL: Selected IOVA mode 'VA'`

`EAL: No available hugepages reported in hugepages-1048576kB`

`EAL: Probing VFIO support...`

`EAL: VFIO support initialized`

`EAL: PCI device :06:00.0 on NUMA socket -1`

`EAL:   probe driver: 15b3:1017 net_mlx5`

`EAL: PCI device :06:00.1 on NUMA socket -1`

`EAL:   probe driver: 15b3:1017 net_mlx5`

`net_mlx5: port 1 empty mbuf pool`

`net_mlx5: port 1 Rx queue allocation failed: Cannot allocate memory`

`[ERROR] [DPDK] Port 1: Could not start device`

`EAL: FATAL: already called initialization.`

`EAL: already called initialization.`

`[ERROR] [DPDK] Error with EAL initialization`

`[ERROR] [UHD] Device discovery error: RuntimeError: DPDK: Failure to start 
device`

`[ERROR] [X300] X300 Network discovery error RuntimeError: Error with EAL 
initialization`

`No UHD Devices Found`

———-

`python3 /usr/bin/dpdk-devbind.py --status`

`Network devices using kernel driver`

`===`

`:00:14.3 'Device 7a70' if=wlp0s20f3 drv=iwlwifi unused=vfio-pci *Active*`

`:06:00.0 'MT27800 Family [ConnectX-5] 1017' if=enp6s0f0np0 drv=mlx5_core 
unused=vfio-pci *Active*`

`:06:00.1 'MT27800 Family [ConnectX-5] 1017' if=enp6s0f1np1 drv=mlx5_core 
unused=vfio-pci *Active*`

`:09:00.0 'Device 125c' if=eno2 drv=igc unused=vfio-pci `

`No 'Baseband' devices detected`

`==`

`No 'Crypto' devices detected`

``

`No 'Eventdev' devices detected`

`==`

`No 'Mempool' devices detected`

`=`

`No 'Compress' devices detected`

`==`

`No 'Misc (rawdev)' devices detected`

`===`

———

`[use_dpdk=1]`

`dpdk_mtu=9000`

`dpdk_driver=/usr/lib/x86_64-linux-gnu/dpdk/pmds-20.0/`

`dpdk_corelist=8,9,10`

`dpdk_num_mbufs=4095`

`dpdk_mbuf_cache_size=315`

`[dpdk_mac=b8:3f:d2:bc:52:8a]`

`dpdk_lcore = 9`

`dpdk_ipv4 = 192.168.10.1/24`

`dpdk_num_desc = 4096`

`[dpdk_mac=b8:3f:d2:bc:52:8b]`

`dpdk_lcore = 10`

`dpdk_ipv4 = 192.168.20.1/24`

`dpdk_num_desc = 4096`
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com