Mailinglist Archive: opensuse-bugs (6630 mails)

< Previous Next >
[Bug 521382] libdrm headers out of sync due to via-unichrome-drm-bugfixes.patch.
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 10 Aug 2009 06:54:17 -0600
  • Message-id: <20090810125417.A6C4C245513@xxxxxxxxxxxxxxxxxxxxxx>

User libv@xxxxxxxxx added comment

Luc Verhaegen <libv@xxxxxxxxx> changed:

What |Removed |Added
Info Provider|rnissl@xxxxxx |
Summary|via-unichrome-drm-bugfixes. |libdrm headers out of sync
|patch breaks using DMA with |due to
|libdrm in openchome driver |via-unichrome-drm-bugfixes.
|and therefore xxmc |patch.

--- Comment #3 from Luc Verhaegen <libv@xxxxxxxxx> 2009-08-10 06:54:15 MDT ---
Reinhard, i am seeing similar issues on my own driver code. Disabling DMA and
XxMC are just side effects (even though XxMC really shouldn't care). The real
first symptom is that DRM initialization fails completely (again, should not
directely affect any video playback, just indirectly).

My further side-effects are that my driver falls back to the xf86 memory
manager for allocation, with only the memory that was initialized reserved for
FB and pixmaps available as space is still reserved for the DRM. So i cannot
allocate all the buffers i need for XxMC (not when you need some intermediate
buffers too), and then the Xv client ends up giving up having received a
BadAlloc. Which is how i got looped back here :)

Now, the root cause of the problem is indeed as you described. For some reason,
it seems that we included VIAs own code into the opensuse 11.1 via drm driver,
while not updating libdrm.

Kernel changelog says:
* Thu Jan 08 2009 gregkh@xxxxxxx
- patches.drivers/via-unichrome-drm-bugfixes.patch: via: Unichrome
DRM bugfixes.

Part of the issue can be blamed on the fundamentally flawed way driver stacks
are handled in the Xorg/DRM world today. Headers being out of sync is just one
of many symptoms.

This an effect with the latest kernel updates, and not with the original 11.1

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >