Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: Faruk on November 15, 2018, 12:18:24 PM

Title: A13 Board resolution problem.
Post by: Faruk on November 15, 2018, 12:18:24 PM
Hello

I have Olinuxino A13 wifi board and I use with monitor. But Olinuxino has just 800x480. I couldn't new resolution. I found video, document but resolution not change. How can I change resolution (i.e. 1920x1080 or 1280x720).?

Regards
Title: Re: A13 Board resolution problem.
Post by: Gerrit on November 15, 2018, 09:25:39 PM
https://www.olimex.com/wiki/A13-OLinuXino#General

For VGA:

    1. 800x600
    2. 1024x768
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 16, 2018, 03:48:35 PM
Yes absolutely. Thank you so much. Acctually I have a lot question and I want to ask one. I logout on olimex and I saw LXDE, default Xsession, Openbox. What is these? What is the difference itselves? I examined but I couldn't understand. Just saw LXDE is 'root'. I want project but I don't know where I should start for this? Which I should use? Thanks :)
Title: Re: A13 Board resolution problem.
Post by: JC on November 17, 2018, 04:04:06 AM
Those are the desktop environments currently loaded onto that system. GNOME is another popular desktop environment, for example. LXDE is a popular stripped-down desktop environment where all the default applications require relatively few system resources to run. Openbox technically isn't a desktop environment at all but is actually just a window environment. An X server and not a whole lot else. In the standard configuration, you may run commands in a terminal and see the graphical output. This is the working environment I use myself because it is extremely customizable and requires very few system resources to operate.
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 17, 2018, 09:03:17 AM
I understand. My problem this: I am new this platform. Actually I am new in world of linux. So sometimes I need help of system and prepared program. Because I don't have deep information about linux. And I need time to able do something. I will search some and I will decide for desktop. Thanks your information :)
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 17, 2018, 12:45:20 PM
Does A13 has omxplayer? Can I use it?
Title: Re: A13 Board resolution problem.
Post by: JohnS on November 17, 2018, 05:32:07 PM
A web search shows it is specifically for RPi, so if that is right then no.

John
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 19, 2018, 08:11:13 AM
Yes I saw but I wanted be sure. Because I am so new this subject.

Actually I work for a project. I need play video and transparent shape. This video and shape should run on console(Same Rpi's hello_pi code). I did on Rpi with omxplayer and openmax library. I did play video and run some text and shape(I use hello_font code). And I controlled transparent(I think Aliasing) of this shape Without using x11(or any desktop). I don't know how can I do this on Olinuxio A13 board.

I search Gstreamer and VPU now. I want use GPU because otherwise the CPU so sweat. Any different suggestion on this subject?
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 20, 2018, 04:13:49 PM
Doesn't no one know? how should I take a path. I don't expect anyone do my work. Just I need suggestion.
Title: Re: A13 Board resolution problem.
Post by: JohnS on November 20, 2018, 06:36:26 PM
Seems to me you probably ask in the wrong place.

You want to know about something that Olimex did not make: either Linux or the CPU chip (VPU/etc).

John
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 21, 2018, 07:21:46 AM
Thanks for your reply. I think should search more.
Title: Re: A13 Board resolution problem.
Post by: JohnS on November 21, 2018, 06:31:16 PM
Your problem may be that you appear to have very unusual, very specific, wishes.

(Which to me sound weird/bizarre.)

John
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 22, 2018, 07:54:29 AM
Yes I know. My purpose is to use only console mode. I want play video and play audio in console. Actually this is not weird(I think):)
Title: Re: A13 Board resolution problem.
Post by: JohnS on November 22, 2018, 09:58:20 AM
I'm not sure whether it is but your wishes as stated - to use VPU for example - do seem odd and may mean finding any help is hard.  In that case, read the source!

John
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 22, 2018, 12:48:37 PM
I am trying. I hope, it is be done. Actually it so easy on Rpi. I thought it might be easy on A13.
Title: Re: A13 Board resolution problem.
Post by: JohnS on November 22, 2018, 02:21:13 PM
How/why was it easy on the RPi / why will the same code not work?

The answers may help you!

I suppose the other question is why not just use the RPi? :)

John
Title: Re: A13 Board resolution problem.
Post by: Melange on November 23, 2018, 12:24:24 PM
Quote from: Faruk on November 19, 2018, 08:11:13 AMI need play video and transparent shape. This video and shape should run on console(Same Rpi's hello_pi code).

The Allwinner SoCs have an increasingly good linux mainline support, that's where you need to look.

Currently there's work being done to reverse engineer the hardware accelerated video encoding and decoding for Allwinner SoCs, including the A13. Please see here:

  http://linux-sunxi.org/Sunxi-Cedrus (http://linux-sunxi.org/Sunxi-Cedrus)

As for the players they've tested it with I am not sure but it looks like they all require X11, but please check for yourself. I see no problem in hardware decoding into the framebuffer (meaning directly to console without X11 like omxplayer), no idea if that's been done.

Apparently Cedrus will go into the next mainline Kernel release 4.20.

However you will have to learn how to build your own linux kernel for your board, that's your first goal. It's fun! :)
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 26, 2018, 08:56:14 AM
Quote from: JohnS on November 22, 2018, 02:21:13 PM
How/why was it easy on the RPi / why will the same code not work?


Actually omxplayer do this, no need to write code. Just install omxplayer and run :) I searched this: Should I do this by typing code in olimex or should I use a player(vlc, mplayer)? 
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 26, 2018, 09:01:47 AM
Quote from: Melange on November 23, 2018, 12:24:24 PM
Quote from: Faruk on November 19, 2018, 08:11:13 AMI need play video and transparent shape. This video and shape should run on console(Same Rpi's hello_pi code).

The Allwinner SoCs have an increasingly good linux mainline support, that's where you need to look.

Currently there's work being done to reverse engineer the hardware accelerated video encoding and decoding for Allwinner SoCs, including the A13. Please see here:

  http://linux-sunxi.org/Sunxi-Cedrus (http://linux-sunxi.org/Sunxi-Cedrus)

As for the players they've tested it with I am not sure but it looks like they all require X11, but please check for yourself. I see no problem in hardware decoding into the framebuffer (meaning directly to console without X11 like omxplayer), no idea if that's been done.

Apparently Cedrus will go into the next mainline Kernel release 4.20.

However you will have to learn how to build your own linux kernel for your board, that's your first goal. It's fun! :)

I saw sunxi-Cedrus. I hope I can solve how it works:) Also I run vlc player on console but I think, vlc when decode code slow down and display resolution so bad. I hope will solve this problems :)
Title: Re: A13 Board resolution problem.
Post by: JohnS on November 26, 2018, 10:15:47 AM
Quote from: Faruk on November 26, 2018, 08:56:14 AM
Quote from: JohnS on November 22, 2018, 02:21:13 PM
How/why was it easy on the RPi / why will the same code not work?


Actually omxplayer do this, no need to write code. Just install omxplayer and run :) I searched this: Should I do this by typing code in olimex or should I use a player(vlc, mplayer)?
Why not use omxplayer then?

John
Title: Re: A13 Board resolution problem.
Post by: Faruk on November 26, 2018, 10:30:15 AM


Actually omxplayer do this, no need to write code. Just install omxplayer and run :) I searched this: Should I do this by typing code in olimex or should I use a player(vlc, mplayer)?
[/quote]
Why not use omxplayer then?

John
[/quote]

Researches show omxplayer is special to raspberry. So I didn't try use omxplayer on A13. But you are right maybe someone use omxplayer. Again research. Maybe overlook.