Re: New DRI interface changes landed

2007-10-15 Thread Michel Dänzer

On Sat, 2007-10-13 at 19:44 +0200, Vincent Vanackere wrote:
 
 I built everything from git after your changes, and I now have a crash
 in the xserver when launching compiz.
 Configuration :
 - Intel G33 chipset using the driver from git
 (e04333a6352040bc883655d606923c912d005981)
 - git mesa f9c6dfc4d12451c21f39f38b048758cbee5723cf + patch from
 http://bugs.freedesktop.org/show_bug.cgi?id=9264 (to run compiz)
 - xserver : 927757e1028f45f7fd94b9a2ab35567e0f34b2a8
 
 Backtrace of the crash when launching compiz :

[...]

 #0  glxFillAlphaChannel (pixmap=value optimized out,
 x=value optimized out, y=0, width=value optimized out,
 height=value optimized out) at ../../../GL/glx/glxdri.c:318
 p = (CARD32 *) 0x0

I suppose you're using EXA? My recent EXA changes broke the
__glXDRIbindTexImage fallback code, it should be fixed to use proper X
functions to manipulate the pixmap data instead of touching it directly.


 #1  0x2b46438c153c in __glXDRIbindTexImage (
 baseContext=value optimized out, buffer=value optimized out,
 glxPixmap=0x13b5120) at ../../../GL/glx/glxdri.c:435
 numRects = value optimized out
 p = value optimized out
 pRegion = (RegionPtr) 0x0
 pixmap = (PixmapPtr) 0x19a1ae0
 bpp = 4
 override = 0

The question is why it doesn't use zero-copy texture-from-pixmap in the
first place though.


 I can provide more information if necessary,

As always, the X log file might be useful.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: New DRI interface changes landed

2007-10-15 Thread Vincent Vanackere
2007/10/15, Michel Dänzer [EMAIL PROTECTED]:

 On Sat, 2007-10-13 at 19:44 +0200, Vincent Vanackere wrote:
 
  I built everything from git after your changes, and I now have a crash
  in the xserver when launching compiz.
  Configuration :
  - Intel G33 chipset using the driver from git
  (e04333a6352040bc883655d606923c912d005981)
  - git mesa f9c6dfc4d12451c21f39f38b048758cbee5723cf + patch from
  http://bugs.freedesktop.org/show_bug.cgi?id=9264 (to run compiz)
  - xserver : 927757e1028f45f7fd94b9a2ab35567e0f34b2a8
 
  Backtrace of the crash when launching compiz :

 [...]

  #0  glxFillAlphaChannel (pixmap=value optimized out,
  x=value optimized out, y=0, width=value optimized out,
  height=value optimized out) at ../../../GL/glx/glxdri.c:318
  p = (CARD32 *) 0x0

 I suppose you're using EXA? My recent EXA changes broke the
 __glXDRIbindTexImage fallback code, it should be fixed to use proper X
 functions to manipulate the pixmap data instead of touching it directly.

Yes, using EXA...

  #1  0x2b46438c153c in __glXDRIbindTexImage (
  baseContext=value optimized out, buffer=value optimized out,
  glxPixmap=0x13b5120) at ../../../GL/glx/glxdri.c:435
  numRects = value optimized out
  p = value optimized out
  pRegion = (RegionPtr) 0x0
  pixmap = (PixmapPtr) 0x19a1ae0
  bpp = 4
  override = 0

 The question is why it doesn't use zero-copy texture-from-pixmap in the
 first place though.


  I can provide more information if necessary,

 As always, the X log file might be useful.


I'm attaching the log from the latest xserver/mesa (from git, still
crashing with the same backtrace when I launch compiz).

Best regards,

Vincent

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the xorg product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.1
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu
Current Operating System: Linux marvin 2.6.23-r4 #1 SMP PREEMPT Sat Oct 13 14:22:02 CEST 2007 x86_64
Build Date: 15 October 2007  06:54:41PM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Mon Oct 15 19:04:10 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor B2403WS
(**) |   |--Device GMA 3100
(**) Option AllowEmptyInput
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to /etc/X11/rgb
(==) ModulePath set to /usr/lib/xorg/modules
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x7a60c0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.3
	X.Org Video Driver: 3.0
	X.Org XInput driver : 2.0
	X.Org Server Extension : 0.3
	X.Org Font Renderer : 0.5
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*([EMAIL PROTECTED]:2:0) unknown vendor (0x8086) unknown chipset (0x29c2) rev 2, Mem @ 0xf220/524288, 0xe000/268435456, 0xf210/1048576, I/O @ 0xe200/8
(--) PCI: ([EMAIL PROTECTED]:2:1) unknown vendor (0x8086) unknown chipset (0x29c3) rev 2, Mem @ 0xf228/524288
(II) OS-reported resource ranges:
	[0] -1	0	0x - 0x (0x1) MX[B]
	[1] -1	0	0x000f - 0x000f (0x1) MX[B]
	[2] -1	0	0x000c - 0x000e (0x3) MX[B]
	[3] -1	0	0x - 0x0009 (0xa) MX[B]
	[4] -1	0	0x - 0x (0x1) IX[B]
	[5] -1	0	0x - 0x (0x1) IX[B]
(II) All system resource ranges:
	[0] -1	0	0x - 0x (0x1) MX[B]
	[1] -1	0	0x000f - 0x000f (0x1) MX[B]
	[2] -1	0	0x000c - 0x000e (0x3) MX[B]
	[3] -1	0	0x - 0x0009 (0xa) MX[B]
	[4] -1	0	0x - 0x (0x1) IX[B]
	[5] -1	0	0x - 0x (0x1) IX[B]
(II) LoadModule: extmod
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor=X.Org Foundation
	compiled for 1.4.0.1, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading 

Re: Merging DRI interface changes

2007-10-15 Thread Kristian Høgsberg
On 10/13/07, Keith Packard [EMAIL PROTECTED] wrote:
   I do
  think it's worth moving forward with this though.  Personally, I get
  these patches off of my plate and can focus on the next steps.

 I'm all for making forward progress and abandoning broken interfaces as
 early as possible.

 The only people this will inconvenience should be developers and early
 adopters, and we can help them by pushing releases of the related bits
 sooner rather than later. I'm assuming that the X server patches you
 mention will still build and run against older other bits, right?

Yeah, only the X server and mesa need to be upgraded in lock step
here.  All of the git mesa drivers still compile and work with the git
X server and we can pick one pair of DDX and DRI drivers at a time to
port to TTM.

Kristian

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 9264] GLX_BIND_TO_MIPMAP_TEXTURE_EXT attribute should only be GL_FALSE or GL_TRUE

2007-10-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=9264


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #6 from [EMAIL PROTECTED]  2007-10-15 21:19 PST ---
What is the state of this bug ? Is the patch intended to make his way to
mesa/git - works fine for me by the way - or is another fix expected ?


-- 
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel