Werner changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum feed: #armbian-rss | Type 'help' for help | Logs: -> irc.armbian.com
SebastianLee has quit [Quit: Ping timeout (120 seconds)]
SebastianLee has joined #armbian
danboid has quit [Quit: Leaving]
CrashTestDummy2 has joined #armbian
CrashTestDummy has quit [Ping timeout: 240 seconds]
milkii has quit [Ping timeout: 250 seconds]
stipa has joined #armbian
archetech has joined #armbian
milkii has joined #armbian
milkii has quit [Ping timeout: 250 seconds]
milkii has joined #armbian
xtron has joined #armbian
archetech has quit [Quit: Leaving]
Naka has quit [Remote host closed the connection]
Naka has joined #armbian
CrashTestDummy3 has joined #armbian
CrashTestDummy2 has quit [Ping timeout: 240 seconds]
cisco87 has quit [Remote host closed the connection]
cisco87 has joined #armbian
cheakoirccloud has quit [Quit: Connection closed for inactivity]
Unit193 has quit [Killed (grumble (My fellow staff so-called 'friends' are about to hand over account data to a non-staff member. If you care about your data, drop your NickServ account NOW before that happens.))]
jstefanop has quit [Remote host closed the connection]
BCMM_ has joined #armbian
Unit193 has quit [Ping timeout: 608 seconds]
jstefanop has joined #armbian
binarym has joined #armbian
rpardini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Hokedli has quit [Quit: Konversation terminated!]
rpardini has joined #armbian
peterm6881 has quit [Quit: Leaving]
ark93 has joined #armbian
rpardini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ark93>
Hi o/ Hope you're doing well!
<ark93>
I'm very new to linux in general and I'm pretty sure I'm doing something wrong... I have a rk322x and I'm having the worst of times with anything video related.
<[TheBug]>
such as
<ark93>
I would like some help with:
<ark93>
1. video card drivers, how do I install them?
<ark93>
2. It doesn't seem like I can use openGL at all, how can I do it?
<[TheBug]>
1. Nope 2. Nope
<[TheBug]>
at least not in Armbian
<[TheBug]>
you will likely need to look for legacy images
<[TheBug]>
and I can't recall if Armbian supported VPU for rk2238
<[TheBug]>
I am gonna guess probably not and only thing that will is vendor image
<[TheBug]>
but a search of the forum could probably answer thatr
<ark93>
I am following the thread on the forum and doing things as "I should", but I may be doing something wrong on my side
<[TheBug]>
so which specific board?
<ark93>
rk322x, that's most of the useful info I can give I suppose. RK3228a (I think) is the CPU. WiFi is working through armbian-config
<[TheBug]>
thats not useful information unless it's a TV Box which is not directly supported to begin with by Armbian
<ark93>
that's why, yeah. It is a TV Box so the rest of the info is pretty much random
<[TheBug]>
in that case you are gonna have to do your own research, testing and cross your fingers
<[TheBug]>
most likely will need a legacy image that works first
<ark93>
I have one. Working well and fine, ubuntu focal minimal
<ark93>
been installing different DE but mostly enjoying lubuntu-desktop
<ark93>
it's going places... it's working. But, for example, I followed a tutorial on gl4es and was not able to get it working, you know?
<[TheBug]>
thing is you need to know how to enable it in uboot and such I am guessing
<ark93>
I'm on a clean install now, trying it again
<[TheBug]>
so you are gonna have to have speicifcs for the board
<ark93>
what do I need to enable in uboot?
<[TheBug]>
well I imagine the device has to be defined in dtb
<ark93>
the dtb is like rk322x-tvbox.dtb
<ark93>
they're all different on components and name of boards
<ark93>
like rk329q_v3
<ark93>
but there is 1 dtb for them
<[TheBug]>
right but is the VPU device defined
<ark93>
can i check that through command line?
<ark93>
like, if I run dmesg | grep "vpu", is it useful?
<[TheBug]>
more so what are y ou trying to follow?
<ark93>
I am trying to get a sense of what youtube, mpv, vlc...... video output is like. How bad/good. I understand it is probably poor, that's ok. I just need to know that I am, at least, with the proper setup
<[TheBug]>
are you using some reference currently which you are following?
<ark93>
like, my image is fine. I had some back and forth with him in the topic and that part is quite ok
<[TheBug]>
??
<ark93>
yes, I have that
<ark93>
the only difference is another desktop environment
<ark93>
i got that as minimal and installed lubuntu (lxqt is much lighter than xfce)
<ark93>
talked about that on the topic it does not seem to matter for the purpose of this said media framework
<[TheBug]>
Um
<[TheBug]>
Your going to need to start with that specific image
<[TheBug]>
as non-desktop images will have a different kernel and set of packages
<[TheBug]>
it is likely that specific kernel and packages are required to get to where you want
<[TheBug]>
you are correct that assuming it is installed correctly it should be able to also be called from command line
<[TheBug]>
at least for VPU and glrun probably
<[TheBug]>
but your not going to be able to guess
<[TheBug]>
I would also bet the desktop image has different DTB for uboot
<[TheBug]>
which could enabled what you are missing for example
<ark93>
yeah, that's the thing. It keeps failing...
<[TheBug]>
I am taking some guesses here as I am still not fully clear
<[TheBug]>
it keeps failing on the image you are supposed to use or the image you chose to use?
<ark93>
ok, I understand. I will post later explaining my case and maybe he can help me out. He is very helpful, don't get me wrong. I just thought that other questions, like the driver part, and opengl in general could be answered here
<ark93>
to be fair, I tried in both and I believe I got nothing with them
<[TheBug]>
well
<[TheBug]>
if it is an solus
<ark93>
so, I ditched the xfce version and kept trying
<[TheBug]>
I can tell you I got VPU working on rk3328 and its not so impressive
<[TheBug]>
and I think you still limited to 720p depending on memory
<ark93>
lol, if I try youtube on firefox I have a lot of luck if it is smooth at 360. It will be ok at 240
<ark93>
for example, in VLC, changing the modules 1 by 1, they all error out and I'm stuck at 360p
<ark93>
because nothing gl-like is working
<[TheBug]>
well again I would maybe adjust your expectations
<[TheBug]>
when they say there once installed mpv works
<[TheBug]>
thats literally what it is installing is a modified mpv
<ark93>
that's what bothers me, you know? I'm fine if it just can't run, that's cool. I just need to know that, at least, my system is "ok" in settings
<[TheBug]>
specific to use that driver
<[TheBug]>
so trying to use like vlc will probably fail in all cases
<[TheBug]>
you may be able to use say smplayer as a wrapper for mpv
<[TheBug]>
or just run mpv in gui
<[TheBug]>
and then drag file
<[TheBug]>
but other video players are not just going to work
<ark93>
yup, been there. Smplayer works sometimes with smtube, but the quality matter and modules remain broken
<[TheBug]>
as per GL its only going to work if the app uses those specific driver versions and its fully enables
<[TheBug]>
most people taking advantage of that package are doing it more so for VPU
<ark93>
yeah, now we are at what I am looking for: how do I enable them, and how do I verify they are enabled?
<[TheBug]>
and the real goal of that thread was to provide VPU accel video pretty much it seems
<[TheBug]>
you will know with mpv
<[TheBug]>
actually
<[TheBug]>
it should be pretty easy to tell
<[TheBug]>
open a 820p video in vlc
<[TheBug]>
it will chug
<[TheBug]>
if you open it in mpv and it just plays almost smooth
<[TheBug]>
vpu is enabled
<[TheBug]>
(without CPU being 100% on all 4 cores that is)
<[TheBug]>
just watch like top or somethingh
<[TheBug]>
when using vpu it will take far less cpu time
<[TheBug]>
without vpu 720p+ will most like use all 4 cores 100%
<[TheBug]>
also if I recall if you do get it working don't expect to be able to full screen
<[TheBug]>
at least if I recall correctly because that requires overlay it breaks the accel, you can max window though
<[TheBug]>
s/820p/720p
<ArmbianHelper>
[TheBug] meant to say: open a 720p video in vlc
<ark93>
but that's the thing, friend: from what I've tried here, no module works. It just doesn't get out of 360, even if I manually tells it to
jstefanop has quit [Remote host closed the connection]
<ark93>
in firefox it does, and it sucks
<ark93>
but outside of it, it just doesn't let the specs change
jstefanop has joined #armbian
<[TheBug]>
well I don't have 3329 tv box, only the Rock64 and it is supported which again is a bit different -- could be while that generic image exists it lacks the correct uboot / dtb settings for your specific board
<ark93>
right
<[TheBug]>
unfortunately I am probably not the best to answer that and you will probably get a better answer from some on the forum, especially if you can provide the specific board / images / etc so maybe people can suggest the correct configs
<ark93>
ok, thanks for the help anyways!
jstefanop has quit [Ping timeout: 260 seconds]
rpardini has joined #armbian
<ark93>
so [TheBug] one of the errors I have is: "libegl warning: dri2: failed to authenticate", and when I searched it pointed out to drivers
jstefanop has joined #armbian
rpardini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jstefanop has quit [Ping timeout: 246 seconds]
TheMaster has joined #armbian
TheMaster has quit [Changing host]
TheMaster is now known as Unit193
ark93 has quit [Quit: Connection closed]
stipa has quit [Quit: WeeChat 3.0.1]
ark84 has joined #armbian
ark84 has quit [Client Quit]
jstefanop has joined #armbian
jstefanop has quit [Ping timeout: 260 seconds]
BCMM_ has quit [Ping timeout: 252 seconds]
jstefanop has joined #armbian
CrashTestDummy3 has joined #armbian
CrashTestDummy2 has quit [Ping timeout: 260 seconds]