Re: GLX_EXT_texture_from_pixmap + radeon

2007-04-12 Thread Michel Dänzer
On Wed, 2007-04-11 at 22:38 +0100, Ioannis Nousias wrote:

  Is there any open-source driver that supports them?
 
  I don't know of any that support GLX_SGIX_pbuffer, but the i915tex
  driver supports GL_EXT_framebuffer_object.

 thanks. The r200 driver doesn't support that extension either (or might 
 be the hardware I don't know)

The hardware can do it, it's just not implemented yet. It requires using
the TTM memory manager, which Dave Airlie started adding support for to
the radeon DRM.


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


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Feedback requested on potential bug.

2007-04-12 Thread Ray Van Dolson
On Thu, Apr 12, 2007 at 07:54:57AM +0200, Michel Dänzer wrote:
 On Wed, 2007-04-11 at 22:06 -0700, Ray Van Dolson wrote:
  
  I am curious if you would consider the machine freezing when the
  aperture is set at 64MB to be a bug (didn't try any other setting).
 
 It probably is, but I think I might have fixed it in current drm git.

Can you link me to the commitdiff for this?  Would like to point the RH
guys to it possibly for inclusion into FC at some point.

Ray

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Feedback requested on potential bug.

2007-04-12 Thread Michel Dänzer
On Wed, 2007-04-11 at 23:15 -0700, Ray Van Dolson wrote:
 On Thu, Apr 12, 2007 at 07:54:57AM +0200, Michel Dänzer wrote:
  On Wed, 2007-04-11 at 22:06 -0700, Ray Van Dolson wrote:
   
   I am curious if you would consider the machine freezing when the
   aperture is set at 64MB to be a bug (didn't try any other setting).
  
  It probably is, but I think I might have fixed it in current drm git.
 
 Can you link me to the commitdiff for this?  Would like to point the RH
 guys to it possibly for inclusion into FC at some point.

There were several related fixes but

http://gitweb.freedesktop.org/?p=mesa/drm.git;a=commitdiff;h=8ff026723cf170034173052a58c650c8c1f28c0b;hp=125f3ff36796c8d28c29e960247fdd42d4cd877c

is the most likely to help with this. If in doubt, you could just try if
the current tree works first.


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


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10612] LibGL i915 Driver do not support visual 0x49

2007-04-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10612


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|minor   |major
 Status|RESOLVED|REOPENED
   Priority|low |medium
 Resolution|DUPLICATE   |




--- Comment #2 from [EMAIL PROTECTED]  2007-04-12 03:18 PST ---
Something new:
  the XVideo didn't work.

1.XVideo support can't be enable in order to use X server
When I add 
  Option  XVideo true
in Section Device of xorg.conf,
X server fails to start, saying it can't find screen 0 or something like that.
I can't find any reason in /var/log/Xorg.0.log, this only logs the last time X
server starts? 

2.Desktop Effects didn't work
I can't Enable Desktop Effects in GNOME.

3.MPlayer(GUI) start with a error
[ws]Sorry, your system does not support the XShape extension.


-- 
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.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: GLX_EXT_texture_from_pixmap + radeon

2007-04-12 Thread Ioannis Nousias
Michel Dänzer wrote:
 The hardware can do it, it's just not implemented yet. It requires using
 the TTM memory manager, which Dave Airlie started adding support for to
 the radeon DRM.
   
I can see this has started few days ago. It seems the translation table maps 
enable several interesting things.

my rv250 is yours for testing. thanks




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


DRM under FreeBSD

2007-04-12 Thread Adam K Kirchhoff

FYI,

DRM from git is broken on FreeBSD:

cc -O2 -fno-strict-aliasing -pipe  --param large-function-growth=1000 
-Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I-  -I. -I.. -I. -I@ 
-I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-common  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -Wundef -fformat-extensions -c 
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c: In function 
`radeon_do_init_cp':
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:1684: error: 
structure has no member named `table_size'
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:1691: error: 
structure has no member named `gart_reg_if'
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:1691: error: 
`DRM_ATI_GART_PCIE' undeclared (first use in this function)
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:1691: error: (Each 
undeclared identifier is reported only once
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:1691: error: for each 
function it appears in.)
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:1693: error: 
structure has no member named `gart_reg_if'
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:1693: error: 
`DRM_ATI_GART_PCI' undeclared (first use in this function)
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:1702: error: 
structure has no member named `gart_reg_if'
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:1702: error: 
`DRM_ATI_GART_IGP' undeclared (first use in this function)
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:1704: error: 
structure has no member named `gart_reg_if'
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c: In function 
`radeon_driver_firstopen':
/home/adamk/git/drm/bsd-core/radeon/../radeon_cp.c:2291: error: 
structure has no member named `table_size'
*** Error code 1

Stop in /home/adamk/git/drm/bsd-core/radeon.
*** Error code 1


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6149] ATI RS400 X200 PCIE, dri/drm broken?

2007-04-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=6149





--- Comment #9 from [EMAIL PROTECTED]  2007-04-12 07:12 PST ---
I have the latest and greatest xorg+drm+Mesa. I've done a little experimenting. 

0) If you want to play, get the lastest xorg, drm, Mesa and...

You'll have to comment out the return NULL in radeon_screen.c, to play with
things...) 
  fprintf(stderr, Warning, xpress200 detected. Won't work.\n);
  //  return NULL;

1) I've been playing with the Mesa samples (rather than gears). 

A few of them have a static screen.  However, everytime you cause them to
repaint, it causes the colors to flash wildly.  (Try the 'prim' test, and just
move it around the screen.. You'll see what I mean.) 

However, the text does show up.  So, SOMETHING is working. 

NOTE: I haven't had much time to screw with this, but I am going to try some
very basic things (draw a single trinagle, glReadPixels, etc ) and see if the
components work. It looks like progs/trivial in Mesa has some good places to
start.

2) If you run the logo sample, and push the 'l' key, the proper SGI logo will
be displayed! 

However, I think that this is because the driver shifts to software mode for
drawing.  But atleast SOME geometry is making it properly to the screen. 

3) tcl_mode
...
(I haven't yet tested with the following in /etc/drirc, but I will tonight..)
driconf
device screen=0 driver=radeon
  application name=Default
   option name=tcl_mode value=0/
  /application 
/device
/driconf


-- 
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.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Feedback requested on potential bug.

2007-04-12 Thread Ray Van Dolson
  Can you link me to the commitdiff for this?  Would like to point the RH
  guys to it possibly for inclusion into FC at some point.
 
 There were several related fixes but
 
 http://gitweb.freedesktop.org/?p=mesa/drm.git;a=commitdiff;h=8ff026723cf170034173052a58c650c8c1f28c0b;hp=125f3ff36796c8d28c29e960247fdd42d4cd877c
 
 is the most likely to help with this. If in doubt, you could just try if
 the current tree works first.
 

Thanks Michael.  I backported this patch into my FC6 kernel and reset
my aperture size back to 64MB's.  Xorg now starts up at this setting
_with_ DRI enabled!  I get the following in dmesg:

[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt :01:00.0[A] - GSI 16 (level, low) - IRQ 17
[drm] Initialized radeon 1.25.0 20060524 on minor 0
agpgart: Found an AGP 2.0 compliant device at :00:00.0.
agpgart: Putting AGP V2 device at :00:00.0 into 4x mode
agpgart: Putting AGP V2 device at :01:00.0 into 4x mode
[drm] Setting GART location based on new memory map
[drm] Can't use AGP base @0xf800, won't fit
[drm] Loading R300 Microcode
[drm] writeback test succeeded in 1 usecs

Can you tell me in a nutshell the consequences of the won't fit error
above?  Performance penalty of any sort?  Will certain radeon driver
features not work as a result perhaps?  The error does not (as
expected) appear if my aperture is set to 128MB.

My glxinfo shows DRI is working and I get a much healthier score of
3400FPS or so with glxgears.

Ray

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Feedback requested on potential bug.

2007-04-12 Thread Michel Dänzer
On Thu, 2007-04-12 at 08:17 -0700, Ray Van Dolson wrote:
 
 I backported this patch into my FC6 kernel and reset
 my aperture size back to 64MB's.  Xorg now starts up at this setting
 _with_ DRI enabled!  I get the following in dmesg:
 
 [drm] Initialized drm 1.1.0 20060810
 ACPI: PCI Interrupt :01:00.0[A] - GSI 16 (level, low) - IRQ 17
 [drm] Initialized radeon 1.25.0 20060524 on minor 0
 agpgart: Found an AGP 2.0 compliant device at :00:00.0.
 agpgart: Putting AGP V2 device at :00:00.0 into 4x mode
 agpgart: Putting AGP V2 device at :01:00.0 into 4x mode
 [drm] Setting GART location based on new memory map
 [drm] Can't use AGP base @0xf800, won't fit
 [drm] Loading R300 Microcode
 [drm] writeback test succeeded in 1 usecs
 
 Can you tell me in a nutshell the consequences of the won't fit error
 above?  Performance penalty of any sort?  Will certain radeon driver
 features not work as a result perhaps?

There shouldn't be any, it's just evidence that it's dealing with the
problem correctly now.


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


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6149] ATI RS400 X200 PCIE, dri/drm broken?

2007-04-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=6149





--- Comment #10 from [EMAIL PROTECTED]  2007-04-12 16:02 PST ---
 3) tcl_mode
 ...
 (I haven't yet tested with the following in /etc/drirc, but I will 
 tonight..)
 driconf
 device screen=0 driver=radeon
   application name=Default
option name=tcl_mode value=0/
   /application 
 /device
 /driconf

The second line isn't quite right, it should be:

device screen=0 driver=r300


-- 
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.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6149] ATI RS400 X200 PCIE, dri/drm broken?

2007-04-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=6149





--- Comment #11 from [EMAIL PROTECTED]  2007-04-12 16:32 PST ---
(In reply to comment #10)
  3) tcl_mode
 option name=tcl_mode value=0/
 The second line isn't quite right, it should be:
 
 device screen=0 driver=r300
Doesn't really matter the init code defaulted to disable tcl mode for ages.
That the driver then later ignored it is an entirely different matter (which
Dave Airlie has now fixed), no amount of driconf tweaking would have helped you
with that...


-- 
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.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: rs480 + r300 driver fun..

2007-04-12 Thread ivniyi502

On 4/9/07, Alex Jackson awj_in_japan-at-hotmail.com |rivatv-devel| 
... wrote:


What has to be done now?  Where can look to start hacking Mesa to support
it? (I've spent all of my time so far in DRM.. (radeon_cp.c) )

Does setting tcl_mode=0 in .drirc make it work?



I tested this with my Xpress 200M (128M video RAM, no system RAM).  glxgears
runs, and even exits cleanly when I press Esc; however, it displays an
utterly corrupted window instead of the lovely spinning gears we all want to
see.

--Noah

--AWJ--


_
Don't waste time standing in line—try shopping online. Visit Sympatico /
MSN
Shopping today! http://shopping.sympatico.msn.ca



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel