You are not logged in.

#1901 2011-02-03 12:18:33

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

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

Hi iFFS,

thx for your work.
Sure, i will include this in my repo as soon as i have some time (tomorrow).

Offline

#1902 2011-02-04 12:26:07

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

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

http://lists.freedesktop.org/archives/x … 52420.html

*jumpingaround*

When will 6.14.0 hit testing/stable in Archlinux?! smile

Last edited by hoschi (2011-02-04 12:28:00)

Offline

#1903 2011-02-04 15:07:29

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

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

Its already in extra!

Offline

#1904 2011-02-04 15:45:24

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

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

That is great!
Thanks smile


Question:
Is it correct to remove all the packages from you repo by manually and simply reinstall xf86-video-ati and the other packages?
What is about choose classic/gallium (I want gallium)?

Mesa DRI + Gallium3D r300 drivers for AMD/ATI Radeon

r300?! Need r600 for Radeon 5000/6000.

Last edited by hoschi (2011-02-04 15:48:37)

Offline

#1905 2011-02-04 15:48:07

Riko
Member
Registered: 2010-10-14
Posts: 19

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

Hello Sirs,
could you help me please how to reinstall these drivers?
Thanks in advance!

Offline

#1906 2011-02-04 16:10:23

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

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

hoschi wrote:

That is great!
Thanks smile


Question:
Is it correct to remove all the packages from you repo by manually and simply reinstall xf86-video-ati and the other packages?
What is about choose classic/gallium (I want gallium)?

Mesa DRI + Gallium3D r300 drivers for AMD/ATI Radeon

r300?! Need r600 for Radeon 5000/6000.

Hmm..don't know if that's all. But if you want to revert to the extra packages it looks like this:

xf86-video-ati-git -> xf86-video-ati
mesa-full -> mesa, libgl, ati-dri
libdrm-git -> libdrm
dri2proto-git -> dri2proto
glproto-git -> glproto
kernel-drm-radeon-testing: just keep/uninstall it and start the arch kernel.

And i don't think gallium for r600 gpus is in extra. They will use classic mesa until gallium is declared stable.

@Riko: Are you talking about the drivers from extra or from the radeon-repo?

Last edited by Perry3D (2011-02-04 17:15:59)

Offline

#1907 2011-02-04 16:12:20

Riko
Member
Registered: 2010-10-14
Posts: 19

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

Sir Perry3D, I would like to try new drivers from extra.
But I dont know what is better? Which you could suggest?
Thanks in advance!

Offline

#1908 2011-02-04 18:06:18

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

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

Perry3D wrote:

xf86-video-ati-git -> xf86-video-ati
mesa-full -> mesa, libgl, ati-dri
libdrm-git -> libdrm
dri2proto-git -> dri2proto
glproto-git -> glproto

Thanks for the package list, I compared it with my own notes and everything seem to fit.

Perry3D wrote:

And i don't think gallium for r600 gpus is in extra. They will use classic mesa until gallium is declared stable.

Oh hmm
I thought the use now gallium for r600 and above. Gallium works here perfectly and is faster than classic mesa.
With Gallium I got 119 fps in IOQuake3, with classic mesa only 106.


The good news:: I reinstalled all the packages noted above and reloaded X11 on the fly.
Rebooting for loading new drivers is something for badly designed operating-systems wink

[peter@timeline ~]$ glxinfo | grep -i opengl
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (REDWOOD 68C1) 20090101  TCL DRI2
OpenGL version string: 2.1 Mesa 7.10
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.

The Attention-Message is caused by "vblank_mode=0". Because Vsync with Double-Buffering decrease average fps massivly.
I look forward for Tripple-Buffering.


*happy* smile

Last edited by hoschi (2011-02-04 18:13:01)

Offline

#1909 2011-02-04 21:55:09

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

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

I did an update of the radeon-repo. Now there is lib32-mesa-full-gallium included. Thx to iFSS again smile .

Offline

#1910 2011-02-04 23:37:21

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

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

And I have the first problem. smile

 ~ % echo $LIBGL_DRIVERS_PATH
:/usr/lib32/xorg/modules/dri/:/usr/lib32/xorg/modules/dri/

That's because of:

~ % LC_ALL=C pacman -Qo /etc/profile.d/lib32-dri.sh
/etc/profile.d/lib32-dri.sh is owned by lib32-mesa-full 20110204-1
~ % grep LIBGL_DRIVERS_PATH /etc/profile.d/lib32-dri.sh
export LIBGL_DRIVERS_PATH=$LIBGL_DRIVERS_PATH:/usr/lib32/xorg/modules/dri/

LIBGL_DRIVERS_PATH should be set to normal path by mesa-full(-gallium) before trying to append further paths with lib32-mesa(-full-gallium).

edit: Also path shouldn't end with /. It does work anyway but it's not nice reading

libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri//tls/r600_dri.so

edit: is someone able to start warcraft3 in wine with KMS? With r600c and KMS I get this garbled screen with diagonal blocks and with r600g X simply freezes completely.
With r600c and UMS it works extremely well. With r600g and UMS it's probably just rasterizer and thus very slow, but it renders correctly and doesn't freeze X. I have tested kernel26-radeon-drm-testing and kernel26-pf (=2.6.37).

btw: why is the drm-radeon-testing kernel 2.6.37-rc8?

Last edited by Cdh (2011-02-05 11:15:02)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1911 2011-02-05 16:52:31

Skyalmian
Member
Registered: 2009-06-28
Posts: 121

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

Perry3D wrote:

I did an update of the radeon-repo. Now there is lib32-mesa-full-gallium included. Thx to iFSS again smile .

Perry3D, thank you for this package. I was inches away from submitting this post below asking about OpenGL rendering in WINE, but installing the above and having the following LIBGL_DRIVERS_PATH be this as per this (export LIBGL_DRIVERS_PATH="/usr/lib/xorg/modules/dri_g:/usr/lib32/xorg/modules/dri_g") in radeon.sh

[skyalmian@alcyone ~]$ echo $LIBGL_DRIVERS_PATH
/usr/lib/xorg/modules/dri_g:/usr/lib32/xorg/modules/dri_g

fixed the issue. I'll post it anyway as a quote, in case others have this simple issue.

SOLVED wrote:

I have a query:

This is Half-Life 1 under WINE, running it as OpenGL windowed on an ATI AMD RS880 using Gallium 0.4. It runs much faster than Software mode, but has periodic, timed quick drops in framerate. The latest DirectX is installed from FileHippo and done so via this guide but with a longer list of DLL overrides to account for the new ones. The same general WINE setup works with Catalyst drivers back when I used that.

[skyalmian@alcyone ~]$ echo $LIBGL_DRIVERS_PATH
/usr/lib/xorg/modules/dri_g/:/usr/lib32/xorg/modules/dri/
[skyalmian@alcyone ~]$ dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RS880 0x1002:0x9712).
[drm] register mmio base: 0xD2300000
[drm] register mmio size: 65536
[drm] Detected VRAM RAM=256M, BAR=256M
[drm] RAM width 32bits DDR
[drm] radeon: 256M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] Driver supports precise vblank timestamp query.
[drm] radeon: irq initialized.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] Loading RS780 Microcode
[drm] ring test succeeded in 0 usecs
[drm] radeon: ib pool ready.
[drm] ib test succeeded in 0 usecs
[drm] Enabling audio support
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   VGA
[drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[drm]   Encoders:
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
[drm] Connector 1:
[drm]   LVDS
[drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[drm]   Encoders:
[drm]     LCD1: INTERNAL_KLDSCP_LVTMA
[drm] radeon: power management initialized
[drm] fb mappable at 0xC0141000
[drm] vram apper at 0xC0000000
[drm] size 4325376
[drm] fb depth is 24
[drm]    pitch is 5632
fb0: radeondrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized radeon 2.8.0 20080528 for 0000:01:05.0 on minor 0

Offline

#1912 2011-02-06 13:25:28

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

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

I know this "frame-drops" in HL1 with OpenGL from my box with fedora14, usually "export vblank_mode=0" fixes this partially.
vblank_mode=0 fix many things...

But a question: Why Direct3D? HL offers a OpenGL-Renderer (HL1 is a modified Quake1/2-Engine).

Last edited by hoschi (2011-02-06 13:27:14)

Offline

#1913 2011-02-06 15:53:51

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

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

FPS in IOQuake3 limited after Suspend-Cycle

Could someone try this with a Mesa-Gallium r600 drivers and "vblank_mode=0":

*Play a IOQuake3 based Game (Quake3, Openarena, Urban-Terror...)
*/cg_drawfps 1
*Switch to console
*Suspend (pm-suspend)
*Resuspend
*Switch back to game

All of this works without any problem. With Classic-Mesa I got the maxium fps after the resume from suspend.
But with Gallium-Mesa my framerate is limited to 60 fps again, like vblank_mode=0 is not set.
If I restart the game-engine with /vid_restart, the framerate is at maxium again.


If you read one of my posts from friday, I switched from Gallium back to Mesa. Because driver release 6.14 doesn't offer Gallium.
Before that I always thought this issue was a problem of IOQuake3 but now I think it is caused by a bug in Gallium?



PS: I kown suspending while playing a OpenGL-Game is crazy, but THIS is my stability test for GNU/Linux. If the suspend-cycle works while playing and switching to console without blowing up my laptop everythings should be fine wink

Last edited by hoschi (2011-02-06 15:58:06)

Offline

#1914 2011-02-06 18:04:27

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

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

Cdh wrote:

edit: is someone able to start warcraft3 in wine with KMS? With r600c and KMS I get this garbled screen with diagonal blocks and with r600g X simply freezes completely.
With r600c and UMS it works extremely well. With r600g and UMS it's probably just rasterizer and thus very slow, but it renders correctly and doesn't freeze X. I have tested kernel26-radeon-drm-testing and kernel26-pf (=2.6.37).

Today it works with no problems with KMS. I think the problem was that I created a xorg.conf with X -configure and then set color tiling to enabled. I have read that it is supported on r600 now but maybe it doesn't work so good yet.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1915 2011-02-07 21:39:05

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

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

EDIT:
--------------------------------------------------------------------------------------

Forget what I said down below. I now tried the drm-radeon-testing kernel from the repo and gallium works. So apparently standard 2.6.37 is not enaugh.

But I have another problem with this kernel: Every few seconds the whole screen flashes black. It's only one (or two) frames that are black, but it is really annoying.

--------------------------------------------------------------------------------------



Ok, now I have tested a bit. I run the pf kernel, this means 2.6.37.

Neither r600g nor lib32 r600g work for me. r600c and lib32 r600c both work. edit: I have everything from the radeon repository installed.

Running warcraft with lib32 r600c = working:

 % LC_ALL=C LIBGL_DEBUG=verbose LIBGL_DRIVERS_PATH=/usr/lib32/xorg/modules/dri wine Frozen\ Throne.exe -opengl
err:ole:CoCreateInstance apartment not initialised
libGL: XF86DRIGetClientDriverName: 4.3.0 r600 (screen 0)
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/r600_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: Searching for BusID pci:0000:02:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: drmOpenMinor returns 5
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0
libGL: Can't open configuration file /home/chris/.drirc: No such file or directory.
IRQ's not enabled, falling back to busy waits: 2 0
fixme:advapi:SetSecurityInfo stub
libGL: Can't open configuration file /home/chris/.drirc: No such file or directory.
IRQ's not enabled, falling back to busy waits: 2 0
fixme:win:EnumDisplayDevicesW ((null),0,0x33f300,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f5d4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f60c,0x00000000), stub!
libGL: Can't open configuration file /home/chris/.drirc: No such file or directory.
IRQ's not enabled, falling back to busy waits: 2 0

Running Warcraft3 with lib32 r600g = not working

 % LC_ALL=C LIBGL_DEBUG=verbose LIBGL_DRIVERS_PATH=/usr/lib32/xorg/modules/dri_g wine Frozen\ Throne.exe -opengl
err:ole:CoCreateInstance apartment not initialised
libGL: XF86DRIGetClientDriverName: 4.3.0 r600 (screen 0)
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri_g/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri_g/r600_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: Searching for BusID pci:0000:02:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: drmOpenMinor returns 5
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0
libGL error: Calling driver entry point failedlibGL error: reverting to software direct rendering
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri_g/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri_g/swrast_dri.so
libGL error: dlopen /usr/lib32/xorg/modules/dri_g/swrast_dri.so failed (/usr/lib32/xorg/modules/dri_g/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri_g/tls/swrastg_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri_g/swrastg_dri.so
libGL: Can't open configuration file /home/chris/.drirc: No such file or directory.
fixme:advapi:SetSecurityInfo stub
libGL: Can't open configuration file /home/chris/.drirc: No such file or directory.
fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 4 and card vendor 0000.
fixme:win:EnumDisplayDevicesW ((null),0,0x33f300,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f5d4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f60c,0x00000000), stub!
libGL: Can't open configuration file /home/chris/.drirc: No such file or directory.

glxgears with 64bit r600g

 % LIBGL_DEBUG=verbose LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri_g glxgears
libGL: XF86DRIGetClientDriverName: 4.3.0 r600 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri_g/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri_g/r600_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:02:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0
libGL error: Calling driver entry point failedlibGL error: reverting to software direct rendering
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri_g/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri_g/swrast_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri_g/swrast_dri.so failed (/usr/lib/xorg/modules/dri_g/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri_g/tls/swrastg_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri_g/swrastg_dri.so
libGL: Can't open configuration file /home/chris/.drirc: No such file or directory.

swrast_dri.so is the software rasterizer and only mesa classic has it, right?

 % locate swrast_dri.so
/usr/lib/xorg/modules/dri/swrast_dri.so
/usr/lib32/xorg/modules/dri/swrast_dri.so
 % pacman -Ql mesa-full-gallium | grep swrast_dri.so
 % pacman -Ql lib32-mesa-full-gallium | grep swrast_dri.so
 % pacman -Ql lib32-mesa-full | grep swrast_dri.so
lib32-mesa-full /usr/lib32/xorg/modules/dri/swrast_dri.so
 % pacman -Ql mesa-full | grep swrast_dri.so
mesa-full /usr/lib/xorg/modules/dri/swrast_dri.so

Last edited by Cdh (2011-02-07 23:36:03)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1916 2011-02-07 22:12:48

lgomes
Member
Registered: 2010-12-01
Posts: 9

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

@hoschi

Urban Terror is working for you ???

For me, don't show the buildings, only the player with the background image. In both Classic and Gallium !!!

Maybe is my q3config ???

Screenshoot !!

shot0003tz.th.jpg


Anyone with knowledge in GIT and PKGBUILD can help me ???

I trying to clone MESA and create a branch tracking a remote branch that apply patchs in MESA for updating some GL_ARB extensions.

In terminal work, but in PKGBUILD the same commands not work correctly !!

I Think that is fakeroot or some config that GIT take when running in PKGBUILD that make this issue !!!

In PKGBUILD i have to put an -f in git checkout command, to force and not generate errors in checkout command, but in git status show me a lot of file modified, and in terminal don't show this !!!

I try some git config commands in PKGBUILD, but it seems not work.

It is cool, this is for that @Demon show me in earlier post !!!

I don't know, but with he i think that fix some issues with compiz.

Last edited by lgomes (2011-02-08 13:17:07)

Offline

#1917 2011-02-08 16:35:11

gentux
Member
Registered: 2009-12-28
Posts: 2

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

Hi all,
I got a problem when I updated all the packages for my ati graphic card.
I have done this:

pacman -S dri2proto-git glproto-git libdrm-git mesa-full mesa-demos-git mesa-full-gallium xf86-video-ati-git lib32-libdrm-git lib32-mesa-full kernel26-drm-radeon-testing linux-firmware-git

But now, I haven't any graphic acceleration:

> glxinfo                                                   
name of display: :0.0
display: :0  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap, 
    GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap, 
    GLX_INTEL_swap_event
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV710 9553) 20090101  TCL DRI2
OpenGL version string: 1.4 (2.1 Mesa 7.11-devel)

Moreover, when I want to start a game with wine, I get this error:

err:module:load_builtin_dll failed to load .so lib for builtin L"OPENGL32.dll": libGL.so.1: mauvaise classe ELF : ELFCLASS64

I looked in the logs, but It says nothing.

> cat /var/log/Xorg.0.log | grep EE                         ~
[   667.546] Current Operating System: Linux chakra-laptop 2.6.37-rc8-34105-g2b2fd60-dirty #1 SMP PREEMPT Sun Feb 6 22:10:55 CET 2011 x86_64
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   667.549] (II) Loading extension MIT-SCREEN-SAVER
> cat /var/log/Xorg.0.log | grep WW                         ~
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   667.547] (WW) The directory "/usr/share/fonts/OTF/" does not exist.

Strangely, when I start a 3d application or compiz, it works !
But I get some lags with it...

Can you help me please ?
Thanks in advance for your help !

Edit: All is good now.
I reinstalled the extra packages and It works.
But I get the same error for games in wine...

Last edited by gentux (2011-02-08 17:00:41)

Offline

#1918 2011-02-08 18:26:07

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

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

@gentux: echo $LIBGL_DRIVERS_PATH is saying what?

Offline

#1919 2011-02-09 10:22:08

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

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

lgomes wrote:

@hoschi

Urban Terror is working for you ???

For me, don't show the buildings, only the player with the background image. In both Classic and Gallium !!!

I dont' have Urban-Terror installed. I just taken it as example for a test-environment based on IOQuake3.

Offline

#1920 2011-02-15 09:14:06

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

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

ijanos wrote:

I think it cannot do better currently. I've opened a bugreport 2 weeks ago about this, add yourself to the CC list, to get notified when they reply.

https://bugs.freedesktop.org/show_bug.cgi?id=31000

Is there any news about PM on R700 cards ?

Offline

#1921 2011-02-15 10:26:33

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

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

yimm wrote:

Is there any news about PM on R700 cards ?

No sad

I think this commit means there will be active PCI Lane reduction at some point, maybe in 2.6.39

Offline

#1922 2011-02-15 14:59:51

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

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

[Phoronix] R600 Gallium3D Driver Now Supports S3TC Library.

But i don't know if it is legal to include this in the radeon repo (propably not). And you have to compile mesa after installing the s3tc lib sad .

Offline

#1923 2011-02-15 16:22:19

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

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

>Bad performance in comparison with FreeBSD.<

Hi everyone, I hope this is the right place to ask. I am a new Arch Linux user, have mostly used (and still use) FreeBSD. I have set up the drivers as described here and all works fine:

hannes@archmain ~> glxinfo | grep OpenGL
r300: DRM version: 2.7.0, Name: ATI R480, ID: 0x5d52, GB: 4, Z: 1
r300: GART size: 509 MB, VRAM size: 256 MB
r300: AA compression: NO, Z compression: NO, HiZ: NO
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI R480
OpenGL version string: 2.1 Mesa 7.11-devel
OpenGL shading language version string: 1.20
OpenGL extensions:

But performance is bad compared to FreeBSD and also to a Debian I had running about a year ago. I know glxgears is not a proper bench, but a drop in FPS usually does show something. On FreeBSD (with classic mesa, as there is no Gallium) I get around 3000FPS, with the old Debian system I remember having even higher framerates.
Now with Arch and Classic Mesa I had around 700fps. With Gallium I get vsynced, so I cant say for glxgears.

Something obvious is that I have the Desktop-Cube effect in KDE turned on for switching Desktops. This runs smooth even under Load in FreeBSD, but doesn't run at all with Arch (i.e. KWin's Framerate briefly drops below 10).

Where would I start debugging this? Xorg.0.log doesnt show anything suspicious…

Thanks!

Offline

#1924 2011-02-15 18:48:29

kfgz
Member
From: Supraśl, Poland
Registered: 2009-03-02
Posts: 114

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

Perry3D,

How I can compile mesa with s3tc?

http://dri.freedesktop.org/wiki/S3TC

On the page above there is information, that USE_EXTERNAL_DXTN_LIB=1 is required during mesa building process, but how can I use this in PKGBUILD?

Last edited by kfgz (2011-02-15 18:49:01)

Offline

#1925 2011-02-15 22:00:03

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

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

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

@kfgz: I think this wiki site is not actual.
http://phoronix.com/forums/showthread.p … TC-Library
Read the comments on the phoronix forum. I think the correct environment variable is R600_ENABLE_S3TC=1.


And some good news. It seems that i can compile mesa with st3c support but don't deliver the lib in the repo. So every user can install it by himself if he needs st3c support. And it doesn't hurt if the lib is not available. You just lose the st3c support.

Offline

Board footer

Powered by FluxBB