Go to advanced search

by teh_orph
Mon Nov 26, 2012 1:52 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

In answer to your questions, 1) it depends on how it implements it of course. If proper X pixmaps are used (not something internal to Tk or whatever) then I own that memory - but I can't necessarily do anything with it (see #5). If operations such as copy, fill or composite are performed on them the...
by teh_orph
Sun Nov 25, 2012 4:54 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Interesting. It's a definite improvement in the workload that it's sending in. Now I see no extraneous memory allocations. It seems to do everything with one buffer that I control and one that I don't (let's call them A and B). Both buffers appear to be the width of the screen and high enough for on...
by teh_orph
Fri Nov 23, 2012 4:38 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Yeah go with double-buffering off. The generic fbdev driver has shadowing on, so is effectively double-buffered.
I don't bother myself (mine is single-buffered) but it appears to have no adverse effects.
by teh_orph
Fri Nov 23, 2012 4:18 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

It's unclear what differences the window manager make to the performance. They will certainly change the performance of the composition of the windows (eg dragging windows over each other), but the contents of the windows are normally rendered independent of the the manager. In which case, that part...
by teh_orph
Thu Nov 22, 2012 11:20 am
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

So knowing this SONAME stuff, what was wrong with the code downloaded from the tk site?
by teh_orph
Wed Nov 21, 2012 11:26 am
Forum: General discussion
Topic: OpenCL
Replies: 22
Views: 4852

Re: OpenCL

Dunno, 3d stuff isn't my forte. Sounds like a good idea though. Problem is that at Broadcom, if we need to write code that uses the GPU, we just write it on the GPU! No need to access it from the host core. I see. Makes sense :) You say 3D isn't your forte - do you know if it's possible to just avo...
by teh_orph
Wed Nov 21, 2012 10:42 am
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Bar that the order of the entries reported by ldd was different and all the base addresses of the dependencies are different. Sorry I've been racking my brains as to what could be wrong and have come up blank. I'm gonna go with compiler flag differences. Although isn't there scope to just download ...
by teh_orph
Wed Nov 21, 2012 10:20 am
Forum: General discussion
Topic: OpenCL
Replies: 22
Views: 4852

Re: OpenCL

Not at Broadcom. I guess there are codebases out there that could be adapted, but it's a lot of work getting from the generic OpenCL API to the disparate set of Videocore processors. Sorry no I don't mean OpenCL, I mean the most basic support within your existing code base that allows people to wri...
by teh_orph
Tue Nov 20, 2012 11:08 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Do the two copies of libtk8.5.so have different lib dependencies themselves? eg maybe the new library has an unresolved linkage.
Perhaps if you run with gdb attached you'll see what the trouble is. (either way, keep going!)
by teh_orph
Tue Nov 20, 2012 7:09 pm
Forum: General discussion
Topic: OpenCL
Replies: 22
Views: 4852

Re: OpenCL

So yeah, is there any existing code lying around, that would not require many millions of dollars and man years of work?
by teh_orph
Tue Nov 20, 2012 10:17 am
Forum: General discussion
Topic: OpenCL
Replies: 22
Views: 4852

Re: OpenCL

Is there anything existing that could be used instead, that doesn't require much new code to be written? eg do you guys have an assembler that could be used to write standalone shaders and perhaps a lightweight run-time that could be used to dispatch them? Then people could roll their own compiler f...
by teh_orph
Tue Nov 20, 2012 8:38 am
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

When I say I new to this I don't think I could be any more shiny. I've used linux for a few weeks in 15 years but I now have my debian VM running (should have gone with ubuntu) and tk is compiling ready for debugging. Even if I don't succeed I'm learning. Good work... Can you now debug through a Tk...
by teh_orph
Tue Nov 20, 2012 12:22 am
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Wowza, *their code looks like mine*. Seriously similar! Even the functions are named and structured the same way! http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/tree/src/r600_exa.c http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/tree/src/nvc0_exa.c I have one of the R600-esque cards l...
by teh_orph
Mon Nov 19, 2012 8:53 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

I've just had a quick go with Geany for you and it is a bit sluggish. I haven't yet gone in to see the workload it's sending. However something which immediately rings alarm bells is that watching 'top' (across the network) whilst I'm just typing, it's spending a good 50% of the CPU in the program i...
by teh_orph
Mon Nov 19, 2012 5:36 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

I'm quite keen on looking at an EXA driver for a big fat PC video card, to see what they do in cases like this. Here I'm barely leaving the CPU in order to do acceleration (and have the option to fall back and just do it on CPU fine) but wonder what happens when you must always offload your processi...
by teh_orph
Mon Nov 19, 2012 3:09 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Yeah I thought about that and think it could be a good idea for the few problem cases. However I think X would need to support this itself at a low level, and I'm not familiar enough or where to put that. I doubt I could put that in my driver. Anyway the IDLE thing is just a bit crap under both driv...
by teh_orph
Mon Nov 19, 2012 10:11 am
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Having had a look through Netsurf's wiki I have a feeling that 'framebuffer' is when it is running without X? Just a guess. Either way I will submit this as a bug to them if I can find some time. Anyway I'm thinking now that I might release the current driver publicly for those who care to test, as ...
by teh_orph
Sun Nov 18, 2012 10:24 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Ah...it doesn't happen in Netsurf 2.8, but it does in 2.9! And the page rendering looks the same in that region in both.
by teh_orph
Sun Nov 18, 2012 7:57 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Unsure, it won't be as pronounced with the stock driver as this EXA stuff I'm using has more overhead. I think it should still be quite noticeable though. If you look on the page for the MOST COMMENTED box with the five coloured bars underneath that's the bit I'm talking about. If I make the window ...
by teh_orph
Sun Nov 18, 2012 7:35 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Good work! That's ace, thanks for the help. Keep going :) Even eyeballing the source for DisplayDLine sort of correlates with what I'm seeing. Going by the comments alone, /* * First, clear the area of the line to the background color for the * text widget. */ /* * Next, draw background information ...
by teh_orph
Sun Nov 18, 2012 6:26 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

The 1x1 looks like a roundabout way of doing a solid colour fill, if that helps at all.
EDIT: and perhaps the solid colour value is entered in as an immediate, eg 0xffffffff.
by teh_orph
Sun Nov 18, 2012 10:44 am
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Nah you should be good with the stock one. Try opening IDLE and then loading a text file in it. Watch the display paint from top to bottom. From memory *so I could be wrong!*, for each line of text it, - allocates a 1x1 pixmap as well as a pixmap that is as wide as the window but high enough for one...
by teh_orph
Sun Nov 18, 2012 10:13 am
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Well I could talk for ages about rendering extensions etc, but here's a short list of things off the top of my head: - currently at the top of my hit list would be the IDLE text editor that lives on the desktop, written in Python. I haven't yet found where the rendering code lives so I can inspect i...
by teh_orph
Sat Nov 17, 2012 6:28 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 134961

Re: Simon's accelerated X development thread

Any progress on this? Please keep us posted! :) Sorry for the lack of news, proper busy on this end. I still need more feedback from my testers btw... I have spent some time debugging performance problems found by Dom and I'm not sure what to do about them - I'm tempted to ignore them! Some applica...
by teh_orph
Thu Nov 08, 2012 5:17 pm
Forum: General discussion
Topic: MFLOP questions
Replies: 8
Views: 5773

Re: MFLOP questions

If i follow the logical, more I overclock, more i will obtain flops. Am i right? Fo reals dawg. There's a linear relationship between the theoretical amount of FLOPS and the clock speed. However of course in the real world it depends on other things. I though that your calculation is for mips and t...

Go to advanced search