Lines Matching full:rga

1 # RGA FAQ
63 For RGA driver and user-mode API librga, this document summarizes some common problems occurred whe…
73 RGA hardware consists of three versions: RGA1, RGA2, and RGA3. See section Introducions in [Rockchi…
108 - RGA Driver
134 When using RGA, you need to confirm that the current operating environment can work normally. The f…
139 | 1.0.0 ~ 1.3.2 | RGA Device Driver(kernel - 4.4 and above)<br/>RGA2 Device Driver(no version or v2…
140 | > 1.4.0 | RGA multicore Device Driver(v1.2.0 and above) | RGA2、RGA3 |
141 | > 1.9.0 | RGA Device Driver(kernel-4.4 and above)<br/>RGA2 Device Driver(no version or v2.1…
143 …ersion librga.so, you can use the following Baidu Cloud link to obtain the RGA module code update …
149 … When the original driver is RGA Device Driver or RGA2 Device Driver, use this update package to …
153 …When the original driver is RGA multicore Device Driver, use this update package to update the dri…
161 …When the original driver is RGA Device Driver, use this update package to update the driver versio…
180 setprop vendor.rga.log 1
189 setprop vendor.rga.log_level 6
256 E librga : render_mode=0 rotate_mode=0 //RGA rendering mode, rotation mode.
277 The configurations of different SDK kernels are different. Generally, the debugging node of RGA exi…
291 …ation options according to your own project requirements to implement a custom RGA debug node path.
301 | RGA Device Driver | rga_debug |
304 | RGA multicore Device Driver | rkrga |
330 | RGA Device Driver | rga_debug/rga |
333 | RGA multicore Device Driver | rkrga/debug |
337 …gging logs of different driver versions are the same, and they all operate on rga/rga2/debug nodes.
339 Taking RGA multicore Device Driver as an example, you can get the corresponding function descriptio…
360 …s command switches the printing of RGA register configuration information. When it is opened, the …
362 … printing of RGA register upper-layer configuration information. When it is opened, The parameters…
364 …bug:This command switches the printing of RGA time information. When it is opened, the time taken …
366 …debug:This command switches the RGA internal test case. When it is opened, corresponding parameter…
368 > echo stop> debug:This command switches the RGA working status. When it is opened, rga directly re…
370 …g of RGA register interrupt information. When it is opened, the current value of the interrupt reg…
372 …bug:This command causes rga driver to perform an internal SLT case to test whether the RGA hardwar…
378 > Take RGA multicore Device Driver as an example, open the running log 'msg':
446 For RGA problem debugging, logs are needed to confirm work of RGA hardware. When HAL parameters are…
450 - RGA Device Driver、RGA2 Device Driver
468 - RGA multicore Device Driver
473 rga: import buffer info:
484 rga: Blit mode: request id = 192732 //running mode and request id
565 rga2: sync one cmd end time 2414 //Print the RGA. hardware time of the work,in us.
585 RGA multicore Device Driver: v1.2.23
592 Use the following command to query the RGA load status:
646 rga internal request dump:
709 … dump the running data for debugging. You can write the next few frames of RGA data to the specifi…
726 .... RGA running ....
743RGA in the form of Q&A. If the problem is not in this section, please sort out the relevant log an…
747 **Q1.1**:How to evaluate RGA efficiency?
749 **A1.1**: When RGA performs copying, the following formula can be used to calculate the theoretical…
751 ​ Time required for a single image copy = width × height / number of pixels that RGA can process …
753 ​ = width × height / (number of pixels that RGA can process per clock cycle × RGA frequen…
755 ​ For example, the theoretical consuming time of copying an image of 1920 × 1080 size with RGA (f…
765 …sy-to-use memory type when learning about RGA. The following table shows the actual test data of d…
772 | RGA Frequency | 300 M |
802 **Q1.3**:Why does RGA perform poorly in certain scenarios, taking up to twice as long as running a …
804RGA in the current RK platform is the lowest. When bandwidth resources are tight, for example, in …
808 **Q1.4**:The efficiency of RGA cannot meet the needs of our products. Is there any way to improve i…
810RGA frequency of the factory firmware of some chips is not the highest frequency. For example, the…
814 > Query RGA Frequency
817 cat /sys/kernel/debug/clk/clk_summary | grep rga //Query rga frequency.
820 > Modify RGA Frequency
826 - Modify dts to modify RGA frequency(The frequency is still set after restart)
828 > The following example shows how to change RGA frequency in dts of RK3288. Users can change RGA fr…
847 **Q1.5**:Does the RGA support querying the current RGA hardware utilization (load) through commands…
849 **A1.5**:RGA multicore Device Driver supports viewing hardware load, for details, please refer to *…
853 **Q1.6**:Why are RGA calls in asynchronous mode slower than those in synchronous mode in some scena…
855RGA Device Driver, RGA2 Device Driver Since the identifier of the asynchronous mode of librga is a…
859 **Q1.7**:The time cousuming when using virtual address to call RGA for copying is higher than memcp…
861RGA, because the efficiency of using a virtual address to call RGA in a scenario with a high CPU l…
865 **Q1.8**: When carrying 8G DDR, why is RGA efficiency worse than 4G?
867RGA, the RGA driver copies the data from the memory with the highest address to the memory reserve…
869RGA Multicore Device Driver, the swiotlb mechanism will be disabled for access-restricted memory, …
886 rga_job: rga request commit failed!
887 rga: request[282567] submit failed!
912 **Q2.1**:How do I know what version of RGA is available on my current chip platform and what functi…
914 …eloper_Guide_RGA_EN》](./Rockchip_Developer_Guide_RGA_EN.md) - Overview for RGA version and support…
928 ​ external/linux-rga
932 **Q2.2**:How to call RGA for hardware acceleration? Can there be a demo for reference?
936RGA API and implements corresponding RGA functions through command. It can also be used as a tool …
956 **Q2.3**:Support information of RGA
958 ​ **Q2.3.1**:What format is supported by RGA
960 …rview - Image Format Supported to check the format support information of RGA for the correspondi…
962 ​ **Q2.3.2**:What scaling ratio is supported by the RGA
964 …_RGA_EN.md) - Overview - Design Index to query scaling ratio supported by RGA for the correspondi…
966 ​ **Q2.3.3**:What is the max resolution supported by RGA?
968 …w - Design Index to query the max input and output resolution supported by RGA for the correspondi…
970 …ut RGA support, please refer to [《Rockchip_Developer_Guide_RGA_EN》](./Rockchip_Developer_Guide_RGA…
986 **Q2.5**:Does the RGA have alignment requirements?
988RGA hardware itself fetches the data of each line of the image in a word aligned manner,that is 4 …
992 **Q2.6**:Can RGA support drawing more than one rectangular at a time, or performing multiple operat…
994RGA can only work sequentially on hardware, that is, one configured task ends and the next configu…
998 **Q2.7:*Does the fill function of RGA support YUV format?
1017 **Q2.8**:Does RGA support YUYV format?
1034 **Q2.9**:Does RGA support scaling of grayscale input and output?
1036 …lower than this, please try to update SDK to the latest version. Since the RGA hardware itself doe…
1044 **A2.10**:Although RGA on both RK3399 and RV1126 is RGA2-ENHANCE, their sub versions are different,…
1048 … (too pink or too green) in RGB and YUV format conversion, while other functions of RGA are normal.
1058 …Librga on Github is of new version, which does not match the older version RGA driver. Here, some …
1060 ​ There are two solutions to this problem: one is to update the SDK or RGA driver and keep librga…
1062 ​ The rga module source code update package can be obtained through Baidu Netdisk: https://eyun.b…
1066 **Q2.12**:How does RGA implement OSD overlay subtitle?
1076RGA requires different configurations for different output formats is that RGA2 has three image ch…
1086 **Q2.13**:Why brightness or numerical difference exists when RGA is called to implement YUV and RGB…
1090 …erent (usually 1), which is caused by the formula accuracy difference when RGA hardware implements…
1115 **Q2.15**:Why does calling RGA to perform alpha overlay have no effect?
1121 **Q2.16**:Call RGA to perform alpha overlay. The alpha value of the foreground image is 0x0. Why is…
1141 **Q2.17**:Can the IM2D API implement multiple functions in one RGA call?
1147 **Q2.18**:When RGA is called to perform image rotation, the output image is stretched?
1157 …270°, if users do not want RGA to perform scaling, users should exchange the width and height of t…
1175 **Q2.20**:What cause the error that in some system processes, the output of RGA is fuzzy?
1177RGA exception does not cause the phenomenon of fuzzy screen, when this problem occurs, users need …
1181 **A2.21**:Small black or green stripes appear after calling RGA to process the image. What is the r…
1221 …DeInit/c_RkRgaInit/c_RkRgaDeInit interface to manage the initialization of RGA module, and when th…
1223 …iver fails to probe successfully, or the access to the driver device node (/dev/rga) is restricted.
1229 **A3.2.2**:If the header error occurs, it means that the current RGA task returns after the driver …
1238 …device node is invalid. Please try to update librga or confirm whether the RGA initialization proc…
1245 ​ **Q3.2.2.4**:“RgaBlit(1466) RGA BIIT fail: Invalid argument”
1247 …ly configured task parameters meet the requirements of the current chip equipped with the RGA core.
1266 E rockchiprga: This output the user parameters when rga call blit fail //Error information.
1275RGA is called using the virtual address. Just check the size of the buffer. In some scenarios wher…
1287 **Q4.3**:Error “rga:dma_buf_get fail fd[328]“ usually refers to what exception occurs in the buffer?
1289 …cess of applying for fd and verify that fd is available outside librga before using it to call RGA.
1293 … case, the physical address allocated by DRM is used. The memset passed to RGA through virtual add…
1295 …, when the virtual address in user mode of this buffer was passed into the RGA driver and the driv…
1320 RGA need to access CMA buffer at kernel space, so add this flag to keep kernel
1321 line mapping for RGA.
1338RGA has different requirements for the number of memory bits, when the allocated memory exceeds th…
1344RGA driver memory in advance, it is impossible to know in advance whether the memory does not meet…
1348 … Unique functions and formats, so in this scenario, memory within 4G must be allocated to call RGA.
1356 …memory space within 4G, and apply for the memory required by the composite RGA hardware according …
1358 3. On chip platforms that only carry one RGA (such as RK3399, RK3568, and Rk3566 that only carry RG…
1360 …ply for memory that meets the memory requirements of the core when calling RGA. The solution is th…
1396 **Q4.7**:What causes the error “rgaRga err irq! INT[701],STATS[1]”?
1398 **A4.7**:This problem usually occurs when an exception occurs during RGA hardware execution. There …
1402 **Q4.8**:What causes the error “rga: Rga sync pid 1001 wait 1 task done timeout”?
1406 …ng the buffer. If the same buffer is abnormally occupied by other modules, RGA cannot read and wri…
1408 …zation of current system. Because the bus priority of RGA is low, when the DDR load is full, if RG…
1410 …pu, have reported an error before the RGA timeout error occurs. If the hardware on the same bus is…
1412RGA frequency (see RGA frequency related operations in **Q1.4**). In some scenarios, the module on…
1414RGA of some chips is overclocked to a higher frequency, at which case RGA frequency rises but the …
1416RGA timeout error is reported, and check whether part of the data is written to RGA. If some data …
1422 …terrupts in the current system environment has been preempted, causing the RGA driver to wait for …