Re: xorg horribly slower after upgrade to 6.9

2006-02-19 Thread Stephen Gran
This one time, at band camp, Luca Ingianni said:
> Am Sonntag, 19. Februar 2006 21:56 schrieb Ernest jw ter Kuile:
> > Hi all,
> >
> > Since upgrading from xorg 6.8.x to 6.9 I don't have any hw acceleration
> > anymore (actually, if I had any).
> >
> > Moving anything around the screen or scrolling is horribly slow right
> > now, and I can't get back to 6.8 (I deleted the corresponding .deb files
> > I had)
> 
> The radeon driver didn't really take the transition to 6.9 well, it seems. 
> This made quite a few people (including me) unhappy.
> In my case, dualhead has ceased to work. According to the log, the second 
> monitor is detected, and immediately afterwards radeon states there is no 
> second monitor and turns the port off.
> 
> Same as you, I see those DRI messages, but I can't tell if they were there 
> in 6.8.2 as well.
> 
> So, I'm afraid I can't help you with your problem, but I suppose the radeon 
> driver will be worked on already. I've temporarily switched to fglrx, but 
> I'm not happy with it at all. We just have to wait, I guess.

There is an open source project for the r300 driver (r300.sourceforge.net)
and it looks like it has already been merged with xorg CVS.  I understand
7.1 is due out in April or so, so hopefully all of our Radeon problems
will go away then.

Take care,
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature


Re: xorg horribly slower after upgrade to 6.9

2006-02-19 Thread Luca Ingianni
Am Sonntag, 19. Februar 2006 21:56 schrieb Ernest jw ter Kuile:
> Hi all,
>
> Since upgrading from xorg 6.8.x to 6.9 I don't have any hw acceleration
> anymore (actually, if I had any).
>
> Moving anything around the screen or scrolling is horribly slow right
> now, and I can't get back to 6.8 (I deleted the corresponding .deb files
> I had)

The radeon driver didn't really take the transition to 6.9 well, it seems. 
This made quite a few people (including me) unhappy.
In my case, dualhead has ceased to work. According to the log, the second 
monitor is detected, and immediately afterwards radeon states there is no 
second monitor and turns the port off.

Same as you, I see those DRI messages, but I can't tell if they were there 
in 6.8.2 as well.

So, I'm afraid I can't help you with your problem, but I suppose the radeon 
driver will be worked on already. I've temporarily switched to fglrx, but 
I'm not happy with it at all. We just have to wait, I guess.

Have fun,
Luca


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



xorg horribly slower after upgrade to 6.9

2006-02-19 Thread Ernest jw ter Kuile


Hi all,

Since upgrading from xorg 6.8.x to 6.9 I don't have any hw acceleration 
anymore (actually, if I had any).

Moving anything around the screen or scrolling is horribly slow right now, and 
I can't get back to 6.8 (I deleted the corresponding .deb files I had)

Display hw is ATI Radeon 9550 (r350) . Up to now (6.8.x) this was nothing like 
the fastest, but quite acceptable for development. Now (with xorg 6.9) it's 
way to slow.

Reading X log files /var/log/Xorg.0.log, I get messages of DRI successfully 
started, and no clear error messages related to DRI.

Although I do get this warning  :

(WW) RADEON(0): Enabling DRM support

*** Direct rendering support is highly experimental for Radeon 9500
*** and newer cards. The 3d mesa driver is not provided in this tree.
*** A very experimental (and incomplete) version is available from Mesa CVS.
*** Additional information can be found on http://r300.sourceforge.net
*** This message has been last modified on 2005-08-07.

But this should also have been the case with xorg 6.8.x, no ?

Beside it is followed by these messages :

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci::01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci::01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci::01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0x10001000
(II) RADEON(0): [drm] mapped SAREA 0x10001000 to 0x2aaab52b7000
(II) RADEON(0): [drm] framebuffer handle = 0xe800
(II) RADEON(0): [drm] added 1 reserved context for kernel


Unfortunately lower down I get :
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and newer.
(II) RADEON(0): Render acceleration disabled

But, again, this should also have been the case with xorg 6.8.x. as well.
and this is followed by :

(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) RADEON(0): Acceleration enabled

and :

(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialised, using IRQ 177
(II) RADEON(0): [drm] Initialised kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled


So as far as I could see, whatever DRM I must have had with xorg 6.8.x is 
still there. Yet xorg 6.9 is still horribly slow !

Now trying out glxgear I could indeed see only a few frames per second (about 
260) !! I don't have any numbers anymore for 6.8.x, but the frames per sec 
were never this bad. Actually I seem to remember I could not follow the gears 
with my eyes last time I looked.

checking out glxinfo with LIBGL_DEBUG=verbose

:~$ glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 4.0.3 r300 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r300_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r300_dri.so failed 
(/usr/X11R6/lib/modules/dri/r300_dri.so: cannot open shared object file: No 
such file or directory)
libGL error: unable to find driver: r300_dri.so
display: :0  screen: 0
direct rendering: No
... snip, snip ...

I thought : Aha ! r300_dri.so  ?

Debian does not seem to provide it in any package, although there is a 
radeon_dri.so and a r200_dri.so (which don't seem to work for me).

There are many fleeting references to r300_dri.so in many places (google and 
others) however no clear pointer to where it can be found.  

Anybody knows more about this file ? Do I need it for KDE ? 

Does anybody knows any other reason why after upgrading to 6.9 xorg it lost 
the little hw acceleration it had ? 

This is very annoying as I don't want to go to ati's proprietary drivers.

Note: I already followed all the advise given at :
 http://dri.freedesktop.org/wiki/DriTroubleshooting 

Ernest.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]