drawing to screen

2009-03-11 Thread Abru
I've made an application (based on the stuff in tests, using libdrm) 
that attempts to draw rectangles on-screen. The thing is, I'm not seeing 
my rectangles. I suppose it will be too much to post the entire code 
here, so I'll just list the order in which I do things.

I create a framebuffer(fb) object using,
drmBOCreate()

Then, I add that fb to my current crtc by using,
drmModeAddFB()

Now I get back the registered fb by using,
drmModeGetFB()

Afterwards, I use
drmBOReference()

to get back my BufferObject associated with my programs handle. Then I call,
drmBOMap()

to get the pointer(array) associated with the framebuffer on screen. As 
a simple test, I filled the array with a single value such as 0x 
or 0x. The idea being, to see the screen being filled with a 
single color.

After a small delay I call
drmBOUnmap()

But, the screen is not getting filled with a single color. I'm not 
running X, so the screen just stays the same showing me the regular bash 
terminal. On a related note, the DRM module I'm using has been 
'customized' for some hardware constraints.

Any ideas where the source of my problem could be?

Puzzled,
Abru


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [PATCH] drm: edid revision 0 is valid

2009-03-11 Thread Jamie Lokier
Kyle McMartin wrote:
 - if (edid-revision = 0 || edid-revision  3) {
 + if (edid-revision  3) {
   DRM_ERROR(EDID has minor version %d, which is not between 
 0-3\n, edid-revision);
   goto bad;

Ahem.  EDID version 1.4 exists too, in fact it's the current version.
EDID 1.5+ doesn't exist, but it should be backward compatible when it does.

I'm doing a lot of work on another EDID parser, including full DMT and
CEA-861 mode tables, monitor hotplug, all quirks from Xorg and the
kernel, EDID 1.4 support w/ CVT calculation, etc. right now for an
embedded Linux video project.  Would there be any interest
incorporating parts of that work?

-- Jamie

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 12769] 3D performance gets very choppy after suspend/resume cycle (intel video)

2009-03-11 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12769





--- Comment #5 from auslands...@gmx.de  2009-03-11 01:57 ---
Hi Sergio

Well, I'm by far no expert here, but it seems strange to me that the problem
may lie in Mesa 7.3 or libdrm as there are no problems with just the same
Mesa/libdrm under kernel 2.6.27.10.

But as I said, I'm no expert...

Cheers,

Michael


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 17099] Selection in a game does not work: RenderMode != GL_RENDER

2009-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=17099





--- Comment #22 from MM m_...@web.de  2009-03-11 06:39:20 PST ---
Still there using version 6.11.0-1ubuntu5 on a Ubuntu 9.04 installation, RS482
[Radeon Xpress 200M].
Performance of glxgears has also dropped by factor 3 now, but that is probably
another issue, :(


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 12419] possible circular locking dependency on i915 dma

2009-03-11 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12419





--- Comment #10 from e...@anholt.net  2009-03-11 12:37 ---
untested patch in my for-review branch:

commit 891d7ad89882bd81377f09b6dd5823686cc6ba07
Author: Eric Anholt e...@anholt.net
Date:   Wed Mar 11 12:30:04 2009 -0700

drm/i915: Fix lock order reversal with cliprects and cmdbuf in non-GEM
paths.

This introduces allocation in the batch submission path that wasn't there
previously, but this is a compatibility path so we care about simplicity
more than performance.

kernel.org bug #12419.

Signed-off-by: Eric Anholt e...@anholt.net


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 20607] FlightGear asserts and aborts in r300_mipmap_tree.c: calculate_miptree_layout

2009-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20607


Julien Cristau jcris...@debian.org changed:

   What|Removed |Added

 AssignedTo|xorg-driver-...@lists.x.org |dri-
   ||de...@lists.sourceforge.net
  Component|Driver/Radeon   |Drivers/DRI/r300
Product|xorg|Mesa
  QAContact|xorg-t...@lists.x.org   |
Version|unspecified |7.2




-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel