http://bugs.freedesktop.org/show_bug.cgi?id=12385

           Summary: i915tex work with beryl only at 16bpp (i854G)
           Product: Mesa
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i915
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


Today I've tried new SetTexOffset hook. (X server 1.4 + self-compiled
xf86-video-intel from Aug, 16 2007 + self-compiled mesa from 4 Sept 2007).
Linux kernel 2.6.21.7
Drm from git, up to commit 06bb07259531d10df2c1979919af899e3812057b

My hardware is:

00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE
Chipset Integrated Graphics Device (rev 01) (prog-if 00 [VGA])
        Subsystem: Micro-Star International Co., Ltd. Unknown device 5808
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Memory at dff80000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [d0] Power Management version 1

beryl - 0.2.1 It works fine with 16 bpp screen depth. But display nothing in 24
bpp mode. And i forced to reboot my machine via ACPI poweroff.

Probably this is related to this comment, found in i830_render.c

 I830FALLBACK("830/845G don't support a8, x8r8g8b8, x8b8g8r8\n"); 
(in src/mesa/drivers/dri/i915tex/i830_texstate.c I can see lines like this:

if (intelObj->imageOverride) {
      i830->state.tex_buffer[unit] = NULL;
      i830->state.tex_offset[unit] = intelObj->textureOffset;

      switch (intelObj->depthOverride) {
      case 32:
         format = MAPSURF_32BIT | MT_32BIT_ARGB8888;
         break;
      case 24:
      default:
         format = MAPSURF_32BIT | MT_32BIT_XRGB8888;
         break;
      case 16:
         format = MAPSURF_16BIT | MT_16BIT_RGB565;
         break;
      }
)


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to