问题:文件系统中的配置当前是/etc/X11/xorg.conf.d/20-modesetting.conf
Section "Device"
Identifier "Rockchip Graphics"
Driver "modesetting"
Option "AccelMethod" "exa"
# Option "AccelMethod" "glamor"
Option "DRI" "2"
Option "FlipFB" "none"
Option "NoEDID" "true"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Rockchip Graphics"
Monitor "Default Monitor"
EndSection
### Valid values for rotation are "normal", "left", "right"
Section "Monitor"
Identifier "Default Monitor"
Option "Rotate" "normal"
EndSection
在操作界面的时候会卡屏幕并在终端报错如图:
front 30864,back 96496 dsize 65536 size 336 RGA2 GET MMU mem failed rga2_reg_init,[455] set mmu info error rga:init reg fail
解决方法:上面提示报错是RGA2出错. 看起来目前是使用RGA进行加速,跟GPU就没有关系了. 请切换到glamor使用gpu的硬件加速.


![[Linux RK Debian 10] chrome浏览器开启GPU硬件加速 —— RGA报错|CSDN创作打卡 [Linux RK Debian 10] chrome浏览器开启GPU硬件加速 —— RGA报错|CSDN创作打卡](http://www.mshxw.com/aiimages/31/728115.png)
