Jump to content

GPU driver issues - RK-3229 - 4.4.194-legacy-rk322x


Jaisere

Recommended Posts

some info:
The image I am using on my device is; 

Armbian_22.02.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img

I chose this, as any of the other images from here; https://users.armbian.com/jock/rk322x/armbian/stable/ other than the xfce desktop image would lead to this happening:
20240111_172821.thumb.jpg.35a2de4b0edaacb7d22618281bbf5508.jpg
(if there's a fix for this I'd rather use one of the more up to date images)


with the bullseye legacy minimal image set up on my device I then did this:
 

yes | sudo apt update
yes | sudo apt dist-upgrade
yes | sudo apt --fix-missing 
yes | sudo apt install neofetch chromium xorg xfce4 lightdm

sudo reboot

heres the neofetch output if it helps with anything:

 

user@rk322x-box:/lib/modules/4.4.194-legacy-rk322x/kernel/drivers/gpu/drm/rockchip$ neofetch
       _,met$$$$$gg.          user@rk322x-box
    ,g$$$$$$$$$$$$$$$P.       ---------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 11 (bullseye) armv7l
 ,$$P'              `$$$.     Host: Generic RK322x TV Box board
',$$P       ,ggs.     `$$b:   Kernel: 4.4.194-legacy-rk322x
`d$$'     ,$P"'   .    $$$    Uptime: 58 mins
 $$P      d$'     ,    $$P    Packages: 564 (dpkg)
 $$:      $$.   -    ,d$$'    Shell: bash 5.1.4
 $$;      Y$b._   _,d$P'      Resolution: 1920x1080p60
 Y$$.    `.`"Y$$$$P"'         Terminal: /dev/pts/0
 `$$b      "-.__              CPU: Generic DT based system (4) @ 1.200GHz
  `Y$$                        Memory: 228MiB / 962MiB
   `Y$$.
     `$$b.
       `Y$$b.
          `"Y$b._
              `"""

when looking into the drivers I can find these:

 

user@rk322x-box:/lib/modules/4.4.194-legacy-rk322x/kernel/drivers/gpu/arm/mali400/mali$ ls
mali.ko

 

user@rk322x-box:/lib/modules/4.4.194-legacy-rk322x/kernel/drivers/gpu/drm/rockchip$ ls
rockchip_drm_tve.ko

 

this is expected.

I am aware from other posts and threads in the forums that for Mali400 I should install the Lima driver for it;

when trying to use mesa to set up both Lima and Permafrost it typically fails because of missing dependencies (that when I try to manually install cannot be found)
or has no issues but when I look into the drivers/gpu/(arm or drm) directories there is nothing different from what I previously showed and if I look for lima or permafrost within lsmod the modules are not in the list.
appears like this:
user@rk322x-box:/lib/modules/4.4.194-legacy-rk322x/kernel/drivers/gpu/drm/rockchip$ lsmod
Module                  Size  Used by
lz4                    16384  4
lz4_compress           16384  1 lz4
gpio_ir_recv           16384  0
mali                  233472  0
snd_soc_rk3228         16384  1
lzo                    16384  4
zram                   24576  2
fuse                   94208  1
ip_tables              24576  0
autofs4                32768  2

 

as a side note:

user@rk322x-box:~$ export "DISPLAY=:0"
user@rk322x-box:~$ xset -dpms
user@rk322x-box:~$ LIBGL_ALWAYS_SOFTWARE=1 glxinfo | grep "OpenGL vendor\|OpenGL renderer"
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 11.0.1, 128 bits)

(output is the same when the command does not contain LIBGL_ALWAYS_SOFTWARE=1)
(this is how I would check the renderer, I typically check from ssh as its easier to type commands from my pc due to the small amount of space I have in my setup, however even when im using the terminal on the tv box without ssh the result it the same)

any help would be appreciated. thank you 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines