Re: I want to help with ATI Mobility Radeon 9600

2005-12-10 Thread Aapo Tahkola
On Sat, 10 Dec 2005 18:38:50 +0100
Erik <[EMAIL PROTECTED]> wrote:

> Aapo Tahkola wrote:
> 
> >On Sat, 10 Dec 2005 17:04:51 +0100
> >Philipp Klaus Krause <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>>And 3D-acceleration seems to work! But I get some warnings:
> >>>*WARN_ONCE*
> >>>File r300_state.c function r300Enable line 457
> >>>TODO - double side stencil !
> >>>***
> >>>No ctx->FragmentProgram._Current!!
> >>>  
> >>>
> >>That's normal for an experimental unfinished driver like the r300 one.
> >>It's slower than it will be after further optimization. PÜrobably the
> >>warning above means that hardware can do double sided stencil, but it's
> >>not implemented yet in the driver and thus won't work or causes a
> >>software fallback.
> >>
> >>
> >
> >Most software fallbacks have been disabled because they are simply too slow.
> >See r300_render.c: r300Fallback for a list.
> >  
> >
> I have 2 versions of that file:
> 25565 Dec  4 01:37 ./Mesa/src/mesa/drivers/dri/r300/r300_render.c
> 19306 Jul 31 18:47 ./xc/extras/Mesa/src/mesa/drivers/dri/r300/r300_render.c
> 
> I assume you mean the newest file. If a software fallback for a hardware 
> operation is disabled, does that mean that the operation can not be done 
> at all? (I have no clue what a double side stencil is.)
> 
> 
> >You can get some extra boost by sticking:
> >Option "ColorTiling" "true"
> >into xorg.conf
> >  
> >
> Sounds good that the driver can be made faster, but why would I have to 
> turn it on in a configuration file?

Because it doesnt work in conjunction with page flipping. Or actually it does 
but "officially" it doesnt. :)

> 
> 
> I tried tuxracer and it seemd to work. (I wanted to try boson, but the 
> package for a dependency was broken, so I wait until it is fixed.) Is 
> there anything else I should test and report about?

Not really, we already know pretty much every issue you can have with the 
driver...
It would be nice to get some numbers for comparison with prop drivers.
Unfortunately doing so means using vbos since other paths get shadowed by 
slower/incorrect vertex data upload routines.

-- 
Aapo Tahkola


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: I want to help with ATI Mobility Radeon 9600

2005-12-10 Thread Philipp Klaus Krause

> I assume you mean the newest file. If a software fallback for a hardware
> operation is disabled, does that mean that the operation can not be done
> at all? (I have no clue what a double side stencil is.)

Double sided stencil means that you can select different stencil buffer
operations depending on whether a rendered polygon is front-facing or
back-facing. This can be used to increase speed of stencil shadow
volumes, which are used for shadows in games like Doom 3.

> 
> 
>> You can get some extra boost by sticking:
>> Option "ColorTiling" "true"
>> into xorg.conf
>>  
>>
> Sounds good that the driver can be made faster, but why would I have to
> turn it on in a configuration file?

Some options cause problems for some users. A typical example are AGP
fast writes: While they can increase speed they will lead to crashes
with some graphics chip revision / mainboard chipset / BIOS
combinations. Tiled rendering was added to the driver later and is not
yet as well-tested as the rest.

Philipp



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: I want to help with ATI Mobility Radeon 9600

2005-12-10 Thread Erik

Aapo Tahkola wrote:


On Sat, 10 Dec 2005 17:04:51 +0100
Philipp Klaus Krause <[EMAIL PROTECTED]> wrote:

 


And 3D-acceleration seems to work! But I get some warnings:
*WARN_ONCE*
File r300_state.c function r300Enable line 457
TODO - double side stencil !
***
No ctx->FragmentProgram._Current!!
 


That's normal for an experimental unfinished driver like the r300 one.
It's slower than it will be after further optimization. PÜrobably the
warning above means that hardware can do double sided stencil, but it's
not implemented yet in the driver and thus won't work or causes a
software fallback.
   



Most software fallbacks have been disabled because they are simply too slow.
See r300_render.c: r300Fallback for a list.
 


I have 2 versions of that file:
25565 Dec  4 01:37 ./Mesa/src/mesa/drivers/dri/r300/r300_render.c
19306 Jul 31 18:47 ./xc/extras/Mesa/src/mesa/drivers/dri/r300/r300_render.c

I assume you mean the newest file. If a software fallback for a hardware 
operation is disabled, does that mean that the operation can not be done 
at all? (I have no clue what a double side stencil is.)




You can get some extra boost by sticking:
Option "ColorTiling" "true"
into xorg.conf
 

Sounds good that the driver can be made faster, but why would I have to 
turn it on in a configuration file?



I tried tuxracer and it seemd to work. (I wanted to try boson, but the 
package for a dependency was broken, so I wait until it is fixed.) Is 
there anything else I should test and report about?



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: I want to help with ATI Mobility Radeon 9600

2005-12-10 Thread Aapo Tahkola
On Sat, 10 Dec 2005 17:04:51 +0100
Philipp Klaus Krause <[EMAIL PROTECTED]> wrote:

> 
> > 
> > And 3D-acceleration seems to work! But I get some warnings:
> > *WARN_ONCE*
> > File r300_state.c function r300Enable line 457
> > TODO - double side stencil !
> > ***
> > No ctx->FragmentProgram._Current!!
> 
> That's normal for an experimental unfinished driver like the r300 one.
> It's slower than it will be after further optimization. PÜrobably the
> warning above means that hardware can do double sided stencil, but it's
> not implemented yet in the driver and thus won't work or causes a
> software fallback.

Most software fallbacks have been disabled because they are simply too slow.
See r300_render.c: r300Fallback for a list.

You can get some extra boost by sticking:
Option "ColorTiling" "true"
into xorg.conf

ut2k4 can further be boosted with vbos but this isnt very useful because the 
amount of mem left for textures is too low. (cards with 256 of vram get clipped 
to 128 mb)
s3tc doesnt currently work well enough with ut2k4...

On top of that, some applications like nexuiz and nwn get killed by the amount 
of vertex data passing through the driver.
Both of these implement locked arrays but I havent been able to figure if they 
implement presistent vertex buffers with it somehow.

-- 
Aapo Tahkola


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: I want to help with ATI Mobility Radeon 9600

2005-12-10 Thread Philipp Klaus Krause

> 
> And 3D-acceleration seems to work! But I get some warnings:
> *WARN_ONCE*
> File r300_state.c function r300Enable line 457
> TODO - double side stencil !
> ***
> No ctx->FragmentProgram._Current!!

That's normal for an experimental unfinished driver like the r300 one.
It's slower than it will be after further optimization. PÜrobably the
warning above means that hardware can do double sided stencil, but it's
not implemented yet in the driver and thus won't work or causes a
software fallback.

Philipp


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: I want to help with ATI Mobility Radeon 9600

2005-12-10 Thread Erik

Aapo Tahkola wrote:


On Sat, 10 Dec 2005 15:17:31 +0100
Erik <[EMAIL PROTECTED]> wrote:

 


Philipp Klaus Krause wrote:

   


Erik schrieb:


 


# emerge -pv xorg-x11|grep xorg
[ebuild   R   ] x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow +bitmap-fonts
-cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6
-minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts
+type1-fonts (-uclibc) -xprint +xv 0 kB

This comes from /var/log/Xorg.0.log:
(WW) RADEON(0): Direct rendering not yet supported on Radeon 9500 and
newer cards
(II) RADEON(0): Memory manager initialized to (0,0) (1920,8191)
(II) RADEON(0): Reserved area from (0,1200) to (1920,1202)
(II) RADEON(0): Largest offscreen area available: 1920 x 6989
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and
newer.
(II) RADEON(0): Render acceleration disabled

What should I do to help?

   


You need a new driver, consisting of a newer xorg, DRM and Mesa.
Install a current driver, which supports your card first:
See http://dri.freedesktop.org/wiki/Building for building drivers from
current CVS.

 

OK, I followed the steps. When building Mesa, I had to change the 
instruction "make linux-dri-x86" to make "PKG_CONFIG_PATH=/lib/pkgconfig 
linux-dri-x86" to make it work. When following the advice "Make sure you 
have run at least make dep on your kernel tree or the build will fail." 
i got "*** Warning: make dep is unnecessary now." Then I tried with 
glxgears:

libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering

What does that mean and what went wrong? I attach some files for reference.

   



 

[drm] Initialized radeon 1.17.0 20050311 on minor 0: 
   



Youll need 1.20 radeon drm.


OK, thanks, now it is:
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized radeon 1.20.0 20050911 on minor 0:
[drm] Used old pci detect: framebuffer loaded
mtrr: 0xd000,0x1000 overlaps existing 0xd000,0x800
agpgart: Found an AGP 2.0 compliant device at :00:00.0.
agpgart: Putting AGP V2 device at :00:00.0 into 1x mode
agpgart: Putting AGP V2 device at :01:00.0 into 1x mode
[drm] Loading R300 Microcode
agpgart: Found an AGP 2.0 compliant device at :00:00.0.
agpgart: Putting AGP V2 device at :00:00.0 into 1x mode
agpgart: Putting AGP V2 device at :01:00.0 into 1x mode
[drm] Loading R300 Microcode

And 3D-acceleration seems to work! But I get some warnings:
*WARN_ONCE*
File r300_state.c function r300Enable line 457
TODO - double side stencil !
***
No ctx->FragmentProgram._Current!!




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: I want to help with ATI Mobility Radeon 9600

2005-12-10 Thread Aapo Tahkola
On Sat, 10 Dec 2005 15:17:31 +0100
Erik <[EMAIL PROTECTED]> wrote:

> Philipp Klaus Krause wrote:
> 
> >Erik schrieb:
> >  
> >
> >># emerge -pv xorg-x11|grep xorg
> >>[ebuild   R   ] x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow +bitmap-fonts
> >>-cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6
> >>-minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts
> >>+type1-fonts (-uclibc) -xprint +xv 0 kB
> >>
> >>This comes from /var/log/Xorg.0.log:
> >>(WW) RADEON(0): Direct rendering not yet supported on Radeon 9500 and
> >>newer cards
> >>(II) RADEON(0): Memory manager initialized to (0,0) (1920,8191)
> >>(II) RADEON(0): Reserved area from (0,1200) to (1920,1202)
> >>(II) RADEON(0): Largest offscreen area available: 1920 x 6989
> >>(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and
> >>newer.
> >>(II) RADEON(0): Render acceleration disabled
> >>
> >>What should I do to help?
> >>
> >
> >You need a new driver, consisting of a newer xorg, DRM and Mesa.
> >Install a current driver, which supports your card first:
> >See http://dri.freedesktop.org/wiki/Building for building drivers from
> >current CVS.
> >
> OK, I followed the steps. When building Mesa, I had to change the 
> instruction "make linux-dri-x86" to make "PKG_CONFIG_PATH=/lib/pkgconfig 
> linux-dri-x86" to make it work. When following the advice "Make sure you 
> have run at least make dep on your kernel tree or the build will fail." 
> i got "*** Warning: make dep is unnecessary now." Then I tried with 
> glxgears:
> libGL warning: 3D driver returned no fbconfigs.
> libGL error: InitDriver failed
> libGL error: reverting to (slow) indirect rendering
> 
> What does that mean and what went wrong? I attach some files for reference.
> 

> [drm] Initialized radeon 1.17.0 20050311 on minor 0: 

Youll need 1.20 radeon drm.

-- 
Aapo Tahkola


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


I want to help with ATI Mobility Radeon 9600

2005-12-09 Thread Erik

Hi,
i read at http://r300.sourceforge.net/R300.php that:

"The following are general areas where help would be very welcome:
Try the driver and report how well it works on your card."

I want to help with this. My system is a Dell Inspiron 8600 with Gentoo. 
System information:

# lspci|grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility 
Radeon 9600 M10]

# uname -srp
Linux 2.6.14.3 Intel(R) Pentium(R) M processor 1.60GHz
# emerge -pv xorg-x11|grep xorg
[ebuild   R   ] x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow +bitmap-fonts 
-cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 
-minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts 
+type1-fonts (-uclibc) -xprint +xv 0 kB


This comes from /var/log/Xorg.0.log:
(WW) RADEON(0): Direct rendering not yet supported on Radeon 9500 and 
newer cards

(II) RADEON(0): Memory manager initialized to (0,0) (1920,8191)
(II) RADEON(0): Reserved area from (0,1200) to (1920,1202)
(II) RADEON(0): Largest offscreen area available: 1920 x 6989
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and 
newer.

(II) RADEON(0): Render acceleration disabled

What should I do to help?


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel