Go to advanced search

by factoid
Fri Jan 04, 2013 3:30 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

Just looking over your github, and I'm not sure if it's everything involved at this point, copies-and-fills is derrived from GPL code, so it must be GPL, and anything that includes or links to it must also be GPL. If you didn't actually derrive from the original code and wrote a completely from scr...
by factoid
Fri Jan 04, 2013 5:47 am
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

The sticky stuff with the licencing is the GPL related stuff. Some of it isn't clear cut, since it all comes down to how separate things need to be before they're not derrived works. I'm not an expert, and if you wanted to know more you could contact the Free Software Foundation. That said, if you c...
by factoid
Thu Jan 03, 2013 10:12 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

Hi there, does anyone know what license I need to release my code under? I'm terrible at these things! There is no license information in the source code I'm building (in a readme or otherwise), and searching on the x.org wiki for 'license' gives nothing. However wikipedia says that Xorg itself is ...
by factoid
Thu Nov 01, 2012 6:58 pm
Forum: Graphics programming
Topic: GPU accelerated X driver for RPi
Replies: 17
Views: 8849

Re: GPU accelerated X driver for RPi

Been working on some rendering code suitable for the PolyFillArc command (used by xeyes to draw ovals). Just got it roughly ported in to the driver, but it's got a host of issues, stuff that I didn't expect to work, plus other things that fail for other reasons, mostly due to my poor understanding o...
by factoid
Thu Nov 01, 2012 6:47 pm
Forum: General programming discussion
Topic: Beginning raspberry pi game programming book
Replies: 5
Views: 1132

Re: Beginning raspberry pi game programming book

Most desktop file managers should handle it. If you can't open the file at all then it may be corrupt.
by factoid
Thu Nov 01, 2012 3:27 pm
Forum: General programming discussion
Topic: Beginning raspberry pi game programming book
Replies: 5
Views: 1132

Re: Beginning raspberry pi game programming book

What's the link to the file? You should be able to extract a .gz file with "tar -xf path/to/file"
by factoid
Thu Nov 01, 2012 2:45 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

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.
by factoid
Thu Nov 01, 2012 2:32 am
Forum: OpenGLES
Topic: 1.1 vs 2.0 performance?
Replies: 8
Views: 2794

Re: 1.1 vs 2.0 performance?

Thanks for the info, dom. I'll probably take the Knuthian approach and stick with 1.1 until I either require 2.0 functions or I determine that it's the GL stack (and not my rendering approach) that's the bottleneck. I'm only rendering unlit primitives with at most 1 texture.
by factoid
Wed Oct 31, 2012 8:41 pm
Forum: OpenGLES
Topic: 1.1 vs 2.0 performance?
Replies: 8
Views: 2794

Re: 1.1 vs 2.0 performance?

The reason I ask is because, with work my company has done on iOS, the newer phones implement GL ES 2.0 to the determent of GL ES 1.1 So for example, if you've written a game in GL ES 1.1, you can get a boost to your frame rate by switching to GL ES 2.0 and providing basic "fixed function" shaders. ...
by factoid
Tue Oct 30, 2012 12:27 pm
Forum: Graphics programming
Topic: GPU accelerated X driver for RPi
Replies: 17
Views: 8849

Re: GPU accelerated X driver for RPi

It's a part time thing. I'm flattered, but the rate of progress isn't that significant. I'm able to spend maybe an hour or two a day on this. My professional life is closely tied to this kind of work, so if I was actually able to commit 8 hours a day, then you'd see some real progress. I'm just tryi...
by factoid
Mon Oct 29, 2012 7:01 pm
Forum: Graphics programming
Topic: GPU accelerated X driver for RPi
Replies: 17
Views: 8849

Re: GPU accelerated X driver for RPi

Interim update. Screen blanking via GL is supported, so you can watch X transition between a black screen and a VT if you want (or alter the fill color in the source to suit your mood!). I'm working on implementing the FillPoly GC command so that xeyes will work, and hopefully that'll be done before...
by factoid
Mon Oct 29, 2012 6:55 pm
Forum: Graphics programming
Topic: Pure Data GLX
Replies: 7
Views: 7399

Re: Pure Data GLX

GLX is an extension to the X windows server which allows GL programs to pass their commands through to the underlying renderer. On the pi there are two fundamental problems: 1) GLX is currently only designed to support OpenGL, not OpenGL ES. RPi doesn't actually support OpenGL, just OpenGL ES (1.1 a...
by factoid
Mon Oct 29, 2012 2:50 pm
Forum: OpenGLES
Topic: 1.1 vs 2.0 performance?
Replies: 8
Views: 2794

1.1 vs 2.0 performance?

Is there any real difference in performance between the two versions? I'm working on an application which doesn't really require more than the fixed function operations exposed by GLES 1.1, but if 2.0 is also faster on the GPU, I'm more than happy to do the extra work to define the basic shaders.
by factoid
Wed Oct 24, 2012 6:33 pm
Forum: Graphics programming
Topic: GPU accelerated X driver for RPi
Replies: 17
Views: 8849

Re: GPU accelerated X driver for RPi

Some significant progress this time around. The xf86-video-rpi driver now runs against xeyes, xedit, xlogo, and a few others I think. xclock returns that trapezoid rendering is not supported. Nothing visually interesting is happening yet, of course, but the main point is that the driver is stable as...
by factoid
Mon Oct 22, 2012 5:39 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

I emailed them regarding my project, since I wondered if it was worth continuing my approach, didn't discuss Simon's stuff, but I haven't heard back either way. Hopefully we can all benefit from each other's work in the end, though I'm still playing catch up.
by factoid
Tue Oct 16, 2012 5:12 am
Forum: Graphics programming
Topic: GPU accelerated X driver for RPi
Replies: 17
Views: 8849

Re: GPU accelerated X driver for RPi

Progress has been a little slower this week. I was able to get the driver to not crash running xeyes, but xeyes didn't get what it wanted from the server and shut down. In an effort to better understand what's going on I started writing a simple client program in xcb to output server state values. T...
by factoid
Mon Oct 08, 2012 3:30 pm
Forum: Graphics programming
Topic: GPU accelerated X driver for RPi
Replies: 17
Views: 8849

Re: GPU accelerated X driver for RPi

I'll settle for a pint if I'm ever in your area, but thanks for the enthusiasm.
by factoid
Mon Oct 08, 2012 5:48 am
Forum: Graphics programming
Topic: GPU accelerated X driver for RPi
Replies: 17
Views: 8849

Re: GPU accelerated X driver for RPi

First milestone achieved. I have a skeleton driver that can correctly startup/shutdown, and respond to device input and VT switching. Next step is to implement cursor rendering, as it seems like it would be the simplest thing to follow up with.
by factoid
Fri Oct 05, 2012 7:05 am
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

Split the xf86-video-rpi discussion into its own thead http://www.raspberrypi.org/phpBB3/viewt ... 67&t=19263
by factoid
Fri Oct 05, 2012 6:46 am
Forum: Graphics programming
Topic: GPU accelerated X driver for RPi
Replies: 17
Views: 8849

GPU accelerated X driver for RPi

I'm officially forking the discussion from "Simon's Accelerated X" thread as we're working on different approaches to improving render performance and it's starting to become confusing. *ahem* Hi! Like many others, I'm attempting to write an xfree86 DDX driver which will leverage OpenGLES2 and OpenV...
by factoid
Wed Oct 03, 2012 12:32 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

Simon, it's not so bad once you get your head around it. The way I've been doing it isn't optimal but it's letting me discover a lot about the internals of X while I do it, which is important for me. If my code's built on something I don't at all understand it's going to be painful when it breaks. T...
by factoid
Mon Oct 01, 2012 7:07 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

Recent commits to my github https://github.com/Factoid/xf86-video-rpi . I'm slowing getting my head around the problem and it's just a matter of slogging through it. First milestone is to make a "does nothing" driver that doesn't crash. Right now I'm in the process of setting up function hooks and a...
by factoid
Thu Sep 13, 2012 5:37 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

It seems there were several approaches to getting a native GL pipeline working in X. What you're proposing is similar to what I'm trying to achieve by way of the glamor library. Currently I'm trying to take the stock default xf86-video-fbdev, and integrate glamor support. The sticking point that I t...
by factoid
Wed Sep 12, 2012 5:59 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

I've been able to build a XDirectFB server but I haven't moved my pi out of headless mode so I can't actually evaluate the end result just yet. Here are a few of the gotchas/tips from my own experience. There are a number of XDirectFB dependencies: You'll need flux, DirectFB, and XDirectFB from the ...
by factoid
Tue Sep 11, 2012 6:06 pm
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 133733

Re: Simon's accelerated X development thread

I've been trying to build the code, hit a few snags on the actual X side of it, but I believe it was because I clobbered something in the autoconf. Looks like they have a drop-in solution that adds to the /hw/ folder, and their patch file is just some modifications to the autotools files so that it ...

Go to advanced search