Re: # Re: Gatos deb's (was: Re: xfree86 4.2.0-0pre1v3 (source,i386)available at the X Strike Force)

2002-08-26 Thread Michel Dänzer
On Mon, 2002-08-26 at 04:27, Scott Henson wrote:
 On Sat, 2002-08-24 at 21:08, Michel Dänzer wrote:
  On Sun, 2002-08-25 at 02:55, Csan wrote:
   
 is there any chance for gatos deb's for i386 and powerpc? 
   
What do you need it for? If it's about Mach64, try 
   
deb http://penguinppc.org/~daenzer/debian/dri-mach64/   ./
   
   I would need 2d acceleration for my ATI Radeon 7200 (VIVO 64MB DDR) very 
   bad.
   I'd like to dive myself into Quake 3 mapping with GTKRadiant map editor, 
   but I
   can't since the ati driver shipped with the current xserver, does not 
   contains
   any 2d acceleration...
   
   Are there any plans for integrating gatos 2d aacceleration into the xfree6
   project's next debian release.
  
  GATOS doesn't do 2D acceleration AFAIK, don't you mean 3D anyway?
  
  Either way, try
  
  deb http://penguinppc.org/~daenzer/debian/dri-trunk/./
 
 I upgraded recently to these deb on my radeon 7000 system.  Now after
 upgrade XF86 no longer comes up automatically

You mean with a display manager? Beware that these debs are missing the
XdmAuth code which xdm and others use by default; at least xdm can be
set up to work without it though.

 and I cannot start it with startx as a normal user, though root can.
 xinit does bring up XF86 though. When using startx the x server fails
 silently with out any errors or warnings.  I also cannot find a
 difference in the log files between startx as a normal user and startx
 as root.

Weird. I haven't had any problems like that so without more information
I can't really do anything.


 I also have noticed a slow down in the system as a whole.

Can you be more specific? At least the operation of the X server should
definitely become faster or in the worst case stay the same...


 Maybe someone could tell me how to simply remove these debs and replace
 them with Branden's(which work wonderfully without any problems on this
 system).

sudo apt-get remove xserver-xfree86-dri-trunk xlibmesa3+


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



Re: # Re: Gatos deb's (was: Re: xfree86 4.2.0-0pre1v3 (source,i386)available at the X Strike Force)

2002-08-26 Thread Scott Henson
On Mon, 2002-08-26 at 03:46, Michel Dänzer wrote:
 On Mon, 2002-08-26 at 04:27, Scott Henson wrote:
snip
   GATOS doesn't do 2D acceleration AFAIK, don't you mean 3D anyway?
   
   Either way, try
   
   deb   http://penguinppc.org/~daenzer/debian/dri-trunk/./
  
  I upgraded recently to these deb on my radeon 7000 system.  Now after
  upgrade XF86 no longer comes up automatically
 
 You mean with a display manager? Beware that these debs are missing the
 XdmAuth code which xdm and others use by default; at least xdm can be
 set up to work without it though.

Makes sense.  Im the only one using the machine so not a big problem.
 
  and I cannot start it with startx as a normal user, though root can.
  xinit does bring up XF86 though. When using startx the x server fails
  silently with out any errors or warnings.  I also cannot find a
  difference in the log files between startx as a normal user and startx
  as root.
 
 Weird. I haven't had any problems like that so without more information
 I can't really do anything.

What information do you need?  When I type startx as a normal user the
xserver looks like its going to start up then just dies with the only
message on the screen being that It is waiting for X to die.  Then when
I startx as root the server comes up and everything works properly,
except for the fact that KDE freezes and the xserver has to be killed. 
Root seems to have KDE setup as its default environment(probably because
Im using KDM) and I have gnome-session setup as mine.  I diffed the
XFree86.0.log s from each time and I did not get any difference except
the header line which contained the time.  I can use xinit to start the
xserver as the normal user then start a gnome-session from the xterm. 
Then everything seems to work just fine.
 
  I also have noticed a slow down in the system as a whole.
 
 Can you be more specific? At least the operation of the X server should
 definitely become faster or in the worst case stay the same...

I thought this as well, but the system operation as a whole is much
slower than with the old xfree86 debs.  There is more memory usage(main
memory not the card's memory) as well as programs taking forever to
start.  Before I could expect things like galeon to come up in less than
5 seconds but now it is taking as much as 20 seconds.  I dont know if
this is directly related to the xserver, but it wasnt happening till
after I instaled it.  Though the lines that appeared after windows while
dragging them have significantly diminished as well as a few other
annoyances with the old xserver.  Is there anyway I can tell for sure if
Im using hardware acceleration? A way to turn it on if Im not?

  Maybe someone could tell me how to simply remove these debs and replace
  them with Branden's(which work wonderfully without any problems on this
  system).
 
 sudo apt-get remove xserver-xfree86-dri-trunk xlibmesa3+

This was the first thing I tried, but it wants to remove about 80 other
packages that Im guessing depend on having an xserver installed.  I
still do have Branden's debs installed, but it still wants to remove a
bunch of packages.  I still would like to get hardware acceleration
working, but is there anyway to switch between the two?  Like using
update alternatives to point to Branden's xserver and switch it to
accelerated xserver when I want the hardware acceleration?  Thanks.

-- 
-Peace kid
  Scott Henson  [EMAIL PROTECTED]

God's the ultimate playa, so naturally He's going to have some haters,
rapper Ice Cube said. But these haters need to realize that  if you
mess with the man upstairs, you will get your ass smote. True dat.





Re: # Re: Gatos deb's (was: Re: xfree86 4.2.0-0pre1v3 (source,i386)available at the X Strike Force)

2002-08-26 Thread Michel Dänzer
On Mon, 2002-08-26 at 14:36, Scott Henson wrote:
 On Mon, 2002-08-26 at 03:46, Michel Dänzer wrote:
  On Mon, 2002-08-26 at 04:27, Scott Henson wrote:
 snip
   and I cannot start it with startx as a normal user, though root can.
   xinit does bring up XF86 though. When using startx the x server fails
   silently with out any errors or warnings.  I also cannot find a
   difference in the log files between startx as a normal user and startx
   as root.
  
  Weird. I haven't had any problems like that so without more information
  I can't really do anything.
 
 What information do you need?  When I type startx as a normal user the
 xserver looks like its going to start up then just dies with the only
 message on the screen being that It is waiting for X to die.

That's what it says at the end of the session, so it sounds like there's
a problem with the session, and it aborts. Anything in
~/.xsession-errors?

 I can use xinit to start the xserver as the normal user then start a
 gnome-session from the xterm. 

Or xinit /usr/bin/gnome-session .


   I also have noticed a slow down in the system as a whole.
  
  Can you be more specific? At least the operation of the X server should
  definitely become faster or in the worst case stay the same...
 
 I thought this as well, but the system operation as a whole is much
 slower than with the old xfree86 debs.  There is more memory usage(main
 memory not the card's memory)

Did you use the DRI before? It uses 8 megs of RAM for DMA buffers etc.

 as well as programs taking forever to start.  Before I could expect things
 like galeon to come up in less than 5 seconds but now it is taking as
 much as 20 seconds.  I dont know if this is directly related to the
 xserver, but it wasnt happening till after I instaled it.

It's hardly directly related. Could rather be because there's less RAM
available?

 Though the lines that appeared after windows while dragging them have
 significantly diminished as well as a few other annoyances with the
 old xserver.

These sound like bugs, have you reported them?

 Is there anyway I can tell for sure if Im using hardware acceleration?

Look at the log.

 A way to turn it on if Im not?

It's on by default so you'd have to deliberately turn it off.

(2D acceleration; 3D is another story. Please read some documentation
like the DRI user guide on http://dri.sf.net if you want to know about
that)


   Maybe someone could tell me how to simply remove these debs and replace
   them with Branden's(which work wonderfully without any problems on this
   system).
  
  sudo apt-get remove xserver-xfree86-dri-trunk xlibmesa3+
 
 This was the first thing I tried, but it wants to remove about 80 other
 packages that Im guessing depend on having an xserver installed.

xserver-xfree86-dri-trunk depends on xserver-xfree86... did you have the
xlibmesa3+ ?

 I still would like to get hardware acceleration working, but is there
 anyway to switch between the two?  Like using update alternatives to
 point to Branden's xserver and switch it to accelerated xserver when I
 want the hardware acceleration?  Thanks.

Sure, either just enable or disable the DRI as you wish or install or
remove xserver-xfree86-dri-trunk and friends. I personally don't see the
point in giving up 3D acceleration as well as 2D performance for no
benefit (except a bit of stability maybe) though...


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



Re: # Re: Gatos deb's (was: Re: xfree86 4.2.0-0pre1v3 (source,i386)available at the X Strike Force)

2002-08-25 Thread Mike A. Harris
On Sun, 25 Aug 2002, Csan wrote:

Date: Sun, 25 Aug 2002 02:55:25 +0200
From: Csan [EMAIL PROTECTED]
To: debian-x@lists.debian.org
Content-Type: text/plain; charset=ISO-8859-1
Subject: # Re: Gatos deb's (was: Re: xfree86 4.2.0-0pre1v3 (source,
i386)available at the X Strike Force)

Hi,

  is there any chance for gatos deb's for i386 and powerpc? 

 What do you need it for? If it's about Mach64, try 

 deb  http://penguinppc.org/~daenzer/debian/dri-mach64/   ./

I would need 2d acceleration for my ATI Radeon 7200 (VIVO 64MB DDR) very bad.
I'd like to dive myself into Quake 3 mapping with GTKRadiant map editor, but I
can't since the ati driver shipped with the current xserver, does not contains
any 2d acceleration...

Are there any plans for integrating gatos 2d aacceleration into the xfree6
project's next debian release.

Radeon 2D acceleration is implemented in two different ways.  The 
first method, MMIO, is used when DRI is disabled.  The second 
way, uses the Radeon CP engine, and is only used when DRI is 
enabled.

The problem though, is that the CP engine 2D code was not as 
fully implemented as the MMIO code was, so earlier XFree86 
releases will show a slowdown in 2D acceleration when DRI is 
enabled.  XFree86 4.2.0 has the situation improved slightly, but 
it still isn't up to par with the MMIO code.  Michel Daenzer has 
implemented a bit more of the CP 2D code in DRI-CVS, which brings 
the CP 2D code much closer to the level of the MMIO codepath.

4.2.0 is your best bet for stable 2D right now, while DRI-CVS 
provides the latest code.

I've got a patch for 4.2.0 to add the latest code, however it was 
reported as not fully working so I disabled it until I have time 
to debug/troubleshoot.  If anyone wants a copy of the patch, let 
me know and I'll put it up on FTP.

Take care,
TTYL


-- 
Mike A. Harris  Shipping/mailing address:
OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie,
XFree86 maintainer  Ontario, Canada, P6C 5B3
Red Hat Inc.
http://www.redhat.com   ftp://people.redhat.com/mharris



Re: # Re: Gatos deb's (was: Re: xfree86 4.2.0-0pre1v3 (source,i386)available at the X Strike Force)

2002-08-25 Thread Michel Dänzer
On Sun, 2002-08-25 at 07:20, Mike A. Harris wrote:
 
 I would need 2d acceleration for my ATI Radeon 7200 (VIVO 64MB DDR) very bad.
 I'd like to dive myself into Quake 3 mapping with GTKRadiant map editor, but 
 I
 can't since the ati driver shipped with the current xserver, does not 
 contains
 any 2d acceleration...
 
 Are there any plans for integrating gatos 2d aacceleration into the xfree6
 project's next debian release.
 
 Radeon 2D acceleration is implemented in two different ways.  The 
 first method, MMIO, is used when DRI is disabled.  The second 
 way, uses the Radeon CP engine, and is only used when DRI is 
 enabled.
 
 The problem though, is that the CP engine 2D code was not as 
 fully implemented as the MMIO code was, so earlier XFree86 
 releases will show a slowdown in 2D acceleration when DRI is 
 enabled.  XFree86 4.2.0 has the situation improved slightly, but 
 it still isn't up to par with the MMIO code.  Michel Daenzer has 
 implemented a bit more of the CP 2D code in DRI-CVS, which brings 
 the CP 2D code much closer to the level of the MMIO codepath.

In fact, on the reinit-0-0-1-branch in DRI CVS, I've brought it up to
par (in terms of accelerated operations - the CP is faster of course :).
I hope this will get into 4.3.0.


 I've got a patch for 4.2.0 to add the latest code, however it was 
 reported as not fully working so I disabled it until I have time 
 to debug/troubleshoot.

Can you be a bit more specific than 'not fully working'?

 If anyone wants a copy of the patch, let me know and I'll put it up on FTP.

I'd be interested to see the patch if there are problems with it.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



Re: # Re: Gatos deb's (was: Re: xfree86 4.2.0-0pre1v3 (source,i386)available at the X Strike Force)

2002-08-25 Thread Mike A. Harris
On 25 Aug 2002, Michel Dänzer wrote:

 Are there any plans for integrating gatos 2d aacceleration into the xfree6
 project's next debian release.
 
 Radeon 2D acceleration is implemented in two different ways.  The 
 first method, MMIO, is used when DRI is disabled.  The second 
 way, uses the Radeon CP engine, and is only used when DRI is 
 enabled.
 
 The problem though, is that the CP engine 2D code was not as 
 fully implemented as the MMIO code was, so earlier XFree86 
 releases will show a slowdown in 2D acceleration when DRI is 
 enabled.  XFree86 4.2.0 has the situation improved slightly, but 
 it still isn't up to par with the MMIO code.  Michel Daenzer has 
 implemented a bit more of the CP 2D code in DRI-CVS, which brings 
 the CP 2D code much closer to the level of the MMIO codepath.

In fact, on the reinit-0-0-1-branch in DRI CVS, I've brought it up to
par (in terms of accelerated operations - the CP is faster of course :).
I hope this will get into 4.3.0.

Fantastic!


 I've got a patch for 4.2.0 to add the latest code, however it was 
 reported as not fully working so I disabled it until I have time 
 to debug/troubleshoot.

Can you be a bit more specific than 'not fully working'?

Not currently..  I put the patch in, and did a build..  I got 
internal complaints X was broken shortly after, so I disabled the 
patch and rebuilt.  Haven't had time to investigate it since.  If 
I get time though, I'll provide feedback.  It could be something 
I screwed up backporting it.


 If anyone wants a copy of the patch, let me know and I'll put it up on FTP.

I'd be interested to see the patch if there are problems with it.

Sure thing..

ftp://people.redhat.com/mharris/testing/bleeding-edge/XFree86/4.2.0-67/raw-sources-patches-specfile/

The patch is:

XFree86-4.2.0-ati-radeon-cp-colorexpansion-imagewrite-enhancement.patch

Thanks Michel,
TTYL

-- 
Mike A. Harris  Shipping/mailing address:
OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie,
XFree86 maintainer  Ontario, Canada, P6C 5B3
Red Hat Inc.
http://www.redhat.com   ftp://people.redhat.com/mharris



Re: # Re: Gatos deb's (was: Re: xfree86 4.2.0-0pre1v3 (source,i386)available at the X Strike Force)

2002-08-25 Thread Scott Henson
On Sat, 2002-08-24 at 21:08, Michel Dänzer wrote:
 On Sun, 2002-08-25 at 02:55, Csan wrote:
  
is there any chance for gatos deb's for i386 and powerpc? 
  
   What do you need it for? If it's about Mach64, try 
  
   deb   http://penguinppc.org/~daenzer/debian/dri-mach64/   ./
  
  I would need 2d acceleration for my ATI Radeon 7200 (VIVO 64MB DDR) very 
  bad.
  I'd like to dive myself into Quake 3 mapping with GTKRadiant map editor, 
  but I
  can't since the ati driver shipped with the current xserver, does not 
  contains
  any 2d acceleration...
  
  Are there any plans for integrating gatos 2d aacceleration into the xfree6
  project's next debian release.
 
 GATOS doesn't do 2D acceleration AFAIK, don't you mean 3D anyway?
 
 Either way, try
 
 deb   http://penguinppc.org/~daenzer/debian/dri-trunk/./

I upgraded recently to these deb on my radeon 7000 system.  Now after
upgrade XF86 no longer comes up automatically and I cannot start it with
startx as a normal user, though root can.  xinit does bring up XF86
though. When using startx the x server fails silently with out any
errors or warnings.  I also cannot find a difference in the log files
between startx as a normal user and startx as root.  I also have noticed
a slow down in the system as a whole.  Any advice on what I should do?
Maybe someone could tell me how to simply remove these debs and replace
them with Branden's(which work wonderfully without any problems on this
system).  I would appreciate any help I could get.  Thankyou.


-- 
-Peace kid
  Scott Henson  [EMAIL PROTECTED]



Re: # Re: Gatos deb's (was: Re: xfree86 4.2.0-0pre1v3 (source,i386)available at the X Strike Force)

2002-08-24 Thread Michel Dänzer
On Sun, 2002-08-25 at 02:55, Csan wrote:
 
   is there any chance for gatos deb's for i386 and powerpc? 
 
  What do you need it for? If it's about Mach64, try 
 
  deb http://penguinppc.org/~daenzer/debian/dri-mach64/   ./
 
 I would need 2d acceleration for my ATI Radeon 7200 (VIVO 64MB DDR) very bad.
 I'd like to dive myself into Quake 3 mapping with GTKRadiant map editor, but I
 can't since the ati driver shipped with the current xserver, does not contains
 any 2d acceleration...
 
 Are there any plans for integrating gatos 2d aacceleration into the xfree6
 project's next debian release.

GATOS doesn't do 2D acceleration AFAIK, don't you mean 3D anyway?

Either way, try

deb http://penguinppc.org/~daenzer/debian/dri-trunk/./


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast