Hexxeh
Posts: 91
Joined: Thu Apr 05, 2012 3:07 pm
Contact: Website

Re: Simon's accelerated X development thread

Thu Oct 25, 2012 11:14 am

Uh, actually that's a good point, I'm not sure if the version of Chromium on Raspbian has been compiled with GLES2 support in. Try it and it should be obvious from the errors if it's trying to use OpenGL or GLES2. If it's not using GLES2, I'll get you a copy of my in-progress Chromium OS stuff to work with.

atarian88
Posts: 6
Joined: Mon Jul 09, 2012 5:51 pm

Re: Simon's accelerated X development thread

Wed Oct 31, 2012 9:48 pm

Simon,

I was just wondering if you've made any progress with packaging things for the Foundation. I'm of course eager to try everything out, so please ignore this question if you're sick of hearing them. Thanks!

User avatar
teh_orph
Posts: 346
Joined: Mon Jan 30, 2012 2:09 pm
Location: London
Contact: Website

Re: Simon's accelerated X development thread

Thu Nov 01, 2012 12:22 pm

Yo.
Packaging has been no trouble - I did that two weeks ago! I've been getting reports back from some of my testers (and some have given no feedback!) and now the tuning phase begins.
It's been quite an eye-opener as some of the edge cases bring the system to its knees. Either applications bombarding the system with one pixel image operations or X chopping up strange shaped objects into tiny five-pixel lines and sending them my way. These incur a mega overhead.

No crashes or image corruption reported though ;)

User avatar
hojnikb
Posts: 109
Joined: Mon Jun 04, 2012 3:59 pm
Location: @Home

Re: Simon's accelerated X development thread

Thu Nov 01, 2012 12:56 pm

Great to hear this. Hopefully somekind of beta for general public comes out some day ;)
+°´°+,¸¸,+°´°~ Everyone should have a taste of UK Raspberry Pie =D ~°´°+,¸¸,+°´°+
Rasberry Pi, SoC @ 1225Mhz :o, 256MB Ram @ 550Mhz, 16GB SD-Card, Raspbian

User avatar
teh_orph
Posts: 346
Joined: Mon Jan 30, 2012 2:09 pm
Location: London
Contact: Website

Re: Simon's accelerated X development thread

Thu Nov 01, 2012 2:37 pm

Well I figure the community has managed for long enough with just the regular driver without major complaints so perhaps there's no demand for a beta! :)

factoid
Posts: 45
Joined: Tue Jul 17, 2012 5:35 am

Re: Simon's accelerated X development thread

Thu Nov 01, 2012 2:45 pm

In my case I know the stock fbdev driver isn't fast enough. I tried running the sugar platform, and it was terrible, desktop X isn't fantastic either.

Hexxeh
Posts: 91
Joined: Thu Apr 05, 2012 3:07 pm
Contact: Website

Re: Simon's accelerated X development thread

Thu Nov 01, 2012 4:39 pm

teh_orph wrote:Yo.
Packaging has been no trouble - I did that two weeks ago! I've been getting reports back from some of my testers (and some have given no feedback!) and now the tuning phase begins.
It's been quite an eye-opener as some of the edge cases bring the system to its knees. Either applications bombarding the system with one pixel image operations or X chopping up strange shaped objects into tiny five-pixel lines and sending them my way. These incur a mega overhead.

No crashes or image corruption reported though ;)
Apologies for being quite slow to get back to you, had a somewhat crazy week.

I'll catch up with your email instructions for compiling tonight/tomorrow, I'll let you know how I get on.

User avatar
teh_orph
Posts: 346
Joined: Mon Jan 30, 2012 2:09 pm
Location: London
Contact: Website

Re: Simon's accelerated X development thread

Thu Nov 01, 2012 7:21 pm

Lols, no worries. I've got plenty to be getting on with! (plus I'm still looking at that EGL stuff too)
Btw do you know if there's any use case where one thread manages more than one EGL context?

Hexxeh
Posts: 91
Joined: Thu Apr 05, 2012 3:07 pm
Contact: Website

Re: Simon's accelerated X development thread

Thu Nov 01, 2012 7:25 pm

teh_orph wrote:Lols, no worries. I've got plenty to be getting on with! (plus I'm still looking at that EGL stuff too)
Btw do you know if there's any use case where one thread manages more than one EGL context?
None that I know of, but I'm not massively familiar with the code. Folks in #chromium on Freenode IRC would likely know though.

phenigma
Posts: 14
Joined: Sat Mar 10, 2012 7:00 pm
Location: Ontario, Canada

Re: Simon's accelerated X development thread

Sat Nov 03, 2012 10:12 pm

teh_orph wrote:Well I figure the community has managed for long enough with just the regular driver without major complaints so perhaps there's no demand for a beta! :)
Ready and willing to test anything you've got! ;-)

fritz3170
Posts: 1
Joined: Sun Nov 04, 2012 1:03 am

Re: Simon's accelerated X development thread

Sun Nov 04, 2012 3:36 pm

Wow i am very happy to see people are spendig their time to improve x performance due GPU used acceleration.

Seems that its not far away from success!

Just wanna thank you guys and keep it up!

Cheers

atarian88
Posts: 6
Joined: Mon Jul 09, 2012 5:51 pm

Re: Simon's accelerated X development thread

Mon Nov 05, 2012 10:49 am

I volunteer to test in case you need any testers for Arch Linux (armv6h).

Thanks for your work.

stagefright1989
Posts: 12
Joined: Tue Nov 06, 2012 2:12 pm

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 2:18 pm

Well isnt this just retarded. even if it were closed source. we did pay for the hardware . For my purposes i would rather be stuck with a closed source X rendering driver than using fbdev. I want that chip to work for 2D purposes or my business idea is flushed down the toilet :(

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 17867
Joined: Sat Jul 30, 2011 7:41 pm

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 3:05 pm

stagefright1989 wrote:Well isnt this just retarded. even if it were closed source. we did pay for the hardware . For my purposes i would rather be stuck with a closed source X rendering driver than using fbdev. I want that chip to work for 2D purposes or my business idea is flushed down the toilet :(
You already have accelerated OpenVG - is that what you need? This thread is about accelerating the X desktop, not 2D apps in general.

As an asside, did your car (hardware you paid for) come with open source engine management system software?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

User avatar
teh_orph
Posts: 346
Joined: Mon Jan 30, 2012 2:09 pm
Location: London
Contact: Website

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 3:28 pm

stagefright1989 wrote:Well isnt this just retarded. even if it were closed source. we did pay for the hardware . For my purposes i would rather be stuck with a closed source X rendering driver than using fbdev. I want that chip to work for 2D purposes or my business idea is flushed down the toilet :(
Thanks for the contribution and/or offer of help. If you have nothing to add please go elsewhere.
PS this replacement accelerated driver is completely derived from fbdev. Feel free to moan about it.

Heater
Posts: 7733
Joined: Tue Jul 17, 2012 3:02 pm

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 3:32 pm

stagefright1989,
I want that chip to work for 2D purposes or my business idea is flushed down the toilet
Oh dear, a charity organization works it's nuts off to get you a really cheap computer and a cast of thousands provides you with free software to use with it and you can't make money out of their efforts. That's a terrible shame.

stagefright1989
Posts: 12
Joined: Tue Nov 06, 2012 2:12 pm

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 3:46 pm

jamesh wrote:
stagefright1989 wrote:Well isnt this just retarded. even if it were closed source. we did pay for the hardware . For my purposes i would rather be stuck with a closed source X rendering driver than using fbdev. I want that chip to work for 2D purposes or my business idea is flushed down the toilet :(
You already have accelerated OpenVG - is that what you need? This thread is about accelerating the X desktop, not 2D apps in general.

As an asside, did your car (hardware you paid for) come with open source engine management system software?
its not a justified comparison . Second all i meant earlier was that vendors like marvell etc prepackage linux distros even though wid closed source drivers and yes they charge good money for it. Could we not have had something similar here? Also do all apps use openvg by default i want to use rpi as a thinclient for redhats spice protocol

stagefright1989
Posts: 12
Joined: Tue Nov 06, 2012 2:12 pm

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 3:52 pm

Sorry guys my comment came out a little strong. Samsung galaxy y uses same gpu . Can its kernel source b of any use?

User avatar
teh_orph
Posts: 346
Joined: Mon Jan 30, 2012 2:09 pm
Location: London
Contact: Website

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 4:00 pm

The X server is the problem. It's easy to get the GPU to do some work for us but we need an X driver to allow this to happen on the desktop. X is not geared towards to using a GPU, which is why on phones Apple and Google have gone back to basics by writing a compositor from scratch to allow phones to target the hardware. They do not use X.
So having Android code is no help, because it doesn't solve our problem. We need an X driver, and I don't know of another device which uses this GPU that runs X. (doesn't mean there aren't any though!)

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 17867
Joined: Sat Jul 30, 2011 7:41 pm

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 5:47 pm

stagefright1989 wrote:
jamesh wrote:
stagefright1989 wrote:Well isnt this just retarded. even if it were closed source. we did pay for the hardware . For my purposes i would rather be stuck with a closed source X rendering driver than using fbdev. I want that chip to work for 2D purposes or my business idea is flushed down the toilet :(
You already have accelerated OpenVG - is that what you need? This thread is about accelerating the X desktop, not 2D apps in general.

As an asside, did your car (hardware you paid for) come with open source engine management system software?
its not a justified comparison . Second all i meant earlier was that vendors like marvell etc prepackage linux distros even though wid closed source drivers and yes they charge good money for it. Could we not have had something similar here? Also do all apps use openvg by default i want to use rpi as a thinclient for redhats spice protocol
The point is that there is NO accelerated X driver - anywhere. You could have something similar, if it existed - it doesn't yet. So even if you wanted to pay good money for it, you still cannot have it!

OpenVG is a standard 2D graphics API. I don't know whether the software you want to use/develop will use it. If you are starting from scratch, you could develop to the API and it should be nicely accelerated.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

stagefright1989
Posts: 12
Joined: Tue Nov 06, 2012 2:12 pm

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 6:19 pm

are there any arm boards in which gpu has a working X driver , boards similar to rpi ? mali 400 is stuck too i guess.

User avatar
PeterO
Posts: 3612
Joined: Sun Jul 22, 2012 4:14 pm

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 7:07 pm

jamesh wrote: The point is that there is NO accelerated X driver - anywhere. You could have something similar, if it existed - it doesn't yet. So even if you wanted to pay good money for it, you still cannot have it!
You need to qualify that statement because there are LOTS X drivers that use hardware acceleration, even some ARM based ones !
http://dri.freedesktop.org/wiki/Mali?hi ... Chipset%29
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),Aeromodelling,1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
teh_orph
Posts: 346
Joined: Mon Jan 30, 2012 2:09 pm
Location: London
Contact: Website

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 7:26 pm

Yeah surely also mine counts as a valid accelerated driver for X (and on rpi) :-)

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 17867
Joined: Sat Jul 30, 2011 7:41 pm

Re: Simon's accelerated X development thread

Tue Nov 06, 2012 8:23 pm

OK, OK!! I'll qualify. There are no fully complete accelerated X drivers using the Videocore IV GPU as the backend. (For RaspberryPi or any other device using the Videocore IV)
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

hdante
Posts: 2
Joined: Tue Oct 30, 2012 1:17 am

Re: Simon's accelerated X development thread

Wed Nov 07, 2012 12:46 am

Simon, do you need/want to offload part of the code development ?

In any case, I'm very impressed with the work, congratulations.
jamesh wrote:OK, OK!! I'll qualify. There are no fully complete accelerated X drivers using the Videocore IV GPU as the backend. (For RaspberryPi or any other device using the Videocore IV)
That's where the car analogy fails. Raspberry is a car with a turbocharger packaged in the trunk. The manufacturer never bothered to connect it to the engine, but says you can build it an air-conditioner with it.

And yes, raspberry pies coming with software rendering fbdevs are retarded (think about the above analogy).

Return to “General discussion”

Who is online

Users browsing this forum: No registered users and 37 guests