You are not logged in.

#1926 2011-02-15 23:43:34

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

Will you use it for mesa-full-gallium and lib32-mesa-full-gallium so that only aur/libtxc_dxtn and aur/lib32-libtxc_dxtn are needed?

edit: Kernel (DRM) patch needed?
http://phoronix.com/forums/showthread.p … post175805

Last edited by Cdh (2011-02-15 23:58:14)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1927 2011-02-16 12:49:18

h2
Member
Registered: 2011-02-12
Posts: 21

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

@h2: Hi and welcome to Arch. First, you can disable vsync by setting the environment variable vblank_mode to 0.
And with a r300-r500 card i strongly recommend to use the gallium driver. It is very mature and should be fast enough.
I don't use kwin but i've read that you should disable the new blur effect.
Are you sure you used the open source driver in debian? 3000fps in glxgears is very high. Even with my HD4850 i get only 1500fps. But i can play nearly every game and compiz is very smooth.

Wow, after disabling vblank I get ~7100fps, thats really great! After all I did choose the card based on free3d.org's recommendation.
The desktop transition effect is a little smoother now aswell (don't know why, didn't change anything really). Still the Desktop-Cube is not really as smooth as under FreeBSD, which is strange when comparing with the glxgears score... Are there any xorg settings specific to compositing that might help here?

I will try some games now and see how it fares there. ut2003 seems to work ok, but not on maximal settings which it should IMO.

For the record, beside the Radeon X850XT, there is a PhenomII X4 @3Ghz and 4Gig of RAM in the Computer.

Thanks for your help!

edit: ah I have to correct myself ut2003 runs flawlessly at maximal settings with avg of 60 fps

Last edited by h2 (2011-02-16 13:10:43)

Offline

#1928 2011-02-16 19:27:23

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

Ok, currently an update for the repo is compiling. Two changes: 1) kernel-drm-radeon-testing is now based on 2.6.38
2) I tried to compile with support for s3tc. Can someone give me some feedback? Just install the corresponding libs from aur (mentioned by cdh). /edit: And don't forget to set R600_ENABLE_S3TC=1

@h2 Did you try disabling the blur plugin in kwin?

Last edited by Perry3D (2011-02-16 19:56:28)

Offline

#1929 2011-02-16 23:19:43

megawebmaster
Member
Registered: 2009-08-12
Posts: 75

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hello Perry3D, I've got little problem. Currently I'm using your kernel and I've got Broadcom wireless card, which needs broadcom-wl driver. Unfortunately I can't build driver properly without kernel sources and when I've downloaded proper sources from original drm-radeon-testing repository - they need to be configured as for building kernel. Could you provide configuration or sources package? It could be just packed into a tar.gz and send somewhere, I'll download and copy them to proper directory without a problem.
I will appreciate your attention very, very much. I think that there are other users using your kernel, which needs to compile their own drivers.

Offline

#1930 2011-02-17 16:18:08

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

If you need the configuration you can get it here: http://gitorious.org/radeon/

And i thought it is enough to use the kernel header hmm

Offline

#1931 2011-02-17 18:06:25

Diesel4Power
Member
Registered: 2010-12-07
Posts: 6

Re: Discussion: the ati/radeon open source drivers & radeon repository

Amd Mobility Radeon HD 3470 and Kwin.

I has RV620 mobility radeon hd 3470 videocard and latest kde sc on Asus laptop. (Model: Asus X59Sl) I disable almost all effects in Control Center, and it seems to help. I think the width of bus of my card (64 bit) can cause these degradations in speed. Is there anything that i can change in order to get more speed? Vsync is off.
What information is needed to add this chipset to driver database?

[vlad@Vishnyakov ~]$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series
02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)

Offline

#1932 2011-02-18 17:27:28

chris200x9
Member
Registered: 2008-03-05
Posts: 30

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

Ok, currently an update for the repo is compiling. Two changes: 1) kernel-drm-radeon-testing is now based on 2.6.38
2) I tried to compile with support for s3tc. Can someone give me some feedback? Just install the corresponding libs from aur (mentioned by cdh). /edit: And don't forget to set R600_ENABLE_S3TC=1

@h2 Did you try disabling the blur plugin in kwin?

I don't get s3tc, but it might be my fault what do you mean by And don't forget to set R600_ENABLE_S3TC=1?

edit: A bit off topic but how do I turn off vsync so I can see my real fps in glxgears?

Last edited by chris200x9 (2011-02-18 17:35:07)

Offline

#1933 2011-02-18 17:52:37

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

To disable vsync do a

export vblank_mode=0

And if you want to enable s3tc support do

export R600_ENABLE_S3TC=1

But that just counts for the current terminal. If you want to add it globally add these commands to the radeon.sh mentioned in the first post.

Offline

#1934 2011-02-18 18:09:51

chris200x9
Member
Registered: 2008-03-05
Posts: 30

Re: Discussion: the ati/radeon open source drivers & radeon repository

thanks s3t works

Offline

#1935 2011-02-18 18:46:04

megawebmaster
Member
Registered: 2009-08-12
Posts: 75

Re: Discussion: the ati/radeon open source drivers & radeon repository

Thank Perry3D for your help, it did what I want and my WiFi is working again.

I hope that will help others - remember to start building kernel26-drm-radeon-testing package, after files checkout and configuration (some compiled modules wont hurt) use Ctrl+C in other way you'll get "Invalid module format" error.

Offline

#1936 2011-02-19 17:24:16

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: Discussion: the ati/radeon open source drivers & radeon repository

ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD REDWOOD
OpenGL version string: 2.1 Mesa 7.10.1-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.

Gallium is now default for xf86-video-ati. Framerate in IOQuake3 increased from 106 fps to 119 fps smile

<edit> Someone should change the package description of ati-dri "Mesa DRI + Gallium3D r300 drivers for AMD/ATI Radeon", the limitation to "r300" is no longer needed.

<edit> Enabled S3TC, no changes in IOQuake3.

glxinfo | grep -i s3tc
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_compression_s3tc, 
    GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays, GL_S3_s3tc, 
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.

http://people.freedesktop.org/~cbrill/libtxc_dxtn/

I have done "$ export force_s3tc_enable=true" still no effect on IOQuake3, is this normal?

<edit>
I tried to set "r_ext_compressed_textures "1"" in IOQuake3 -> immediately crash after intro video!
Even the magic SYSRQ didn't help. This was my first system crash...since...since...Okay! Very long time big_smile

Last edited by hoschi (2011-02-19 18:24:20)

Offline

#1937 2011-02-23 17:34:24

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: Discussion: the ati/radeon open source drivers & radeon repository

Offline

#1938 2011-02-25 19:11:46

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

I have a hd 4670. I use r600g, everything from the repository except for the kernel - I use kernel26-mainline from AUR and compile with auto cgroupiung and transparent hugepage support.
I have page flipping and color tiling enabled and use the xfwm compositor. Everything works great, but not xterm. When I start xterm my X freezes and after some seconds the screen goes into standby... Strg+alt+fX doesn't work, but I can reboot with sysrq keys. The log doesn't say much, but I believe there is a message with "Invalid Framebuffer" in everything.log. Nothing else. Can anyone reproduce?

Another issue: After waking up from hibernate I still have the black flicker ~ every 30 seconds. I believe this is from page flipping but have not further tested it so far. Does anyone know how to get rid of it?

And one thing about Color Tiling. When I have color tiling enabled and NO compositing and then start warcraft3 in wine the whole X screen gets scrambled into little squares but returns to normal when changing the resolution with xrandr. When compositing is enabled everything works good.
Is color tiling supposed to only be run with compositing or is this a little bug?


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1939 2011-02-27 12:45:29

h2
Member
Registered: 2011-02-12
Posts: 21

Re: Discussion: the ati/radeon open source drivers & radeon repository

BTW: Is there s3tc for r300g as well?

Offline

#1940 2011-02-27 12:53:29

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

Did you try it? Install the lib from AUR and check it with

% glxinfo |grep -i s3
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, 
    GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_S3_s3tc,

Offline

#1941 2011-02-27 14:07:11

h2
Member
Registered: 2011-02-12
Posts: 21

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

Did you try it? Install the lib from AUR and check it with

% glxinfo |grep -i s3
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, 
    GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_S3_s3tc,

I will try as soon as I am back on Arch. Another (important) thing I noticed:
- Deactivating KMS with "nomodeset" dramatically improves performance: all the KWIN-Foo works flawlessly and FPS in ut2003 are much higher as well (about 50% higher I would say)

BUT, when KMS is deactivated the Xserver segfaults as soon as I type something into Chromium's or Rekonq's Addressbar, which makes the system very unusable...

Is the performance difference with/out KMS expected/normal, or something I should report upstream? Can anyone reproduce the bug with the address bar?

Offline

#1942 2011-02-28 10:01:04

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

Did you try it? Install the lib from AUR and check it with

% glxinfo |grep -i s3
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, 
    GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_S3_s3tc,

Shouldn't this return with r600g too?

 ~ % pacman -Q libtxc_dxtn
libtxc_dxtn 070518-2
 ~ % pacman -Q mesa-full-gallium
mesa-full-gallium 20110226-1
 ~ % echo $LIBGL_DRIVERS_PATH
/usr/lib/xorg/modules/dri_g:/usr/lib32/xorg/modules/dri_g
 ~ % glxinfo |grep -i s3
1  ~ %

฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1943 2011-02-28 12:02:26

JMO
Member
From: Argentina
Registered: 2006-04-08
Posts: 98

Re: Discussion: the ati/radeon open source drivers & radeon repository

Is it normal that the xf86-vide-ati drivers give me a poor performance? I'm not talking about 3d render. Flash videos, at 360 dpi in fullscreen are unviewable.

I have the git version from the radeon repositories and KMS early start activated. glxgears works as it should, and the rest of stuff too.

Mhm... now I guess it could be just Flash...

Offline

#1944 2011-02-28 12:03:47

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

Cdh wrote:

Shouldn't this return with r600g too?

 ~ % pacman -Q libtxc_dxtn
libtxc_dxtn 070518-2
 ~ % pacman -Q mesa-full-gallium
mesa-full-gallium 20110226-1
 ~ % echo $LIBGL_DRIVERS_PATH
/usr/lib/xorg/modules/dri_g:/usr/lib32/xorg/modules/dri_g
 ~ % glxinfo |grep -i s3
1  ~ %

Sure, i am using a r700 card and gallium in my example.
Are you using  R600_ENABLE_S3TC=1 ?

@h2: I never tried it in the last months.

Offline

#1945 2011-02-28 23:24:55

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

Are you using  R600_ENABLE_S3TC=1 ?

Ok sorry, but this was lacking. I somehow was convinced that I already put it in my /etc/profile...


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1946 2011-03-01 14:56:33

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

Now I had time to test some X configurations.

Cdh wrote:

Another issue: After waking up from hibernate I still have the black flicker ~ every 30 seconds. I believe this is from page flipping but have not further tested it so far. Does anyone know how to get rid of it?

It is not pageflipping. It starts after waking up from hibernate and even is there after restarting X. It's neither pageflippling nor colortiling related.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1947 2011-03-03 00:32:06

rafasandman
Member
Registered: 2011-03-02
Posts: 1

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hi.
I have an ATI RS690M graphic card and I made the steps in page 1, except for "mesa-demos-git" because the package isn't in the i686 repo. Because of that, every time I execute glxgears (with mesa-demos) I receive this error over and over again:

ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
Failed to allocate :
   size      : 1048576 bytes
   alignment : 16 bytes
   domains   : 2
Failed to allocate :
   size      : 1048576 bytes
   alignment : 16 bytes
   domains   : 2
Failed to allocate :
   size      : 1048576 bytes
   alignment : 16 bytes
   domains   : 2
Failed to allocate :
   size      : 1048576 bytes
   alignment : 16 bytes
   domains   : 2
Failed to allocate :
   size      : 1048576 bytes
   alignment : 16 bytes
   domains   : 2
Failed to allocate :
   size      : 1048576 bytes
   alignment : 16 bytes
   domains   : 2
.....
.....
.....
Failed to allocate :
   size      : 1048576 bytes
   alignment : 16 bytes
   domains   : 2
Failed to allocate :
   size      : 1048576 bytes
   alignment : 16 bytes
   domains   : 2
....
....

Is it possible to add again "mesa-demos-git"?
With this my performance went from 300 frames to 1000+

Thanks

Sorry for my english. Not my native language.

Offline

#1948 2011-03-03 07:59:25

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: Discussion: the ati/radeon open source drivers & radeon repository

JMO wrote:

Mhm... now I guess it could be just Flash...

It is Flash, because (Flash == Problem).

Offline

#1949 2011-03-04 01:46:31

delerious010
Member
From: Montreal
Registered: 2008-10-07
Posts: 72

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hey Guys,

I noticed 1 slight issue with this kernel when trying to build my OSS modules today. The /lib/modules/<vers>/build folder points to an absolute path including /home/oli. Could you possibly change this to ../../../usr/src/<vers> instead ?

Pretty please ?

Side note, thanks for all the hard work on this project big_smile

Offline

#1950 2011-03-04 15:28:20

slacknatcher
Member
From: Chile
Registered: 2009-07-08
Posts: 55

Re: Discussion: the ati/radeon open source drivers & radeon repository

anybody here using the drivers from extra?

if you own a R600 (HD 3xxx series) now probably you are using the gallium3D based drivers instead of the classic-mesa

at least for me, this drives me to a poor performance, for example on glxgears before i got around 1600 Fps, now i got 140 Fps. anybody with the same results?, i hope the next actualization solve this for me


Miscusi for my bad english

Offline

Board footer

Powered by FluxBB