You are not logged in.

#2326 2012-07-26 11:31:54

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

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

So can people here run google earth?
http://aur.archlinux.org/packages.php?ID=15270

Program received signal SIGSEGV, Segmentation fault.
0xf4d6dca0 in ?? () from /usr/lib32/libexpat.so.1
(gdb) bt
#0  0xf4d6dca0 in ?? () from /usr/lib32/libexpat.so.1
#1  0xf4d75f3b in XML_ParserFree () from /usr/lib32/libexpat.so.1
#2  0xe84c6738 in ?? () from /usr/lib32/xorg/modules/dri/r600_dri.so
#3  0xe84c482d in ?? () from /usr/lib32/xorg/modules/dri/r600_dri.so
#4  0xf6d5e30c in ?? () from /usr/lib32/libGL.so.1
#5  0xf6d40cc7 in ?? () from /usr/lib32/libGL.so.1
#6  0xf6d3dd7f in ?? () from /usr/lib32/libGL.so.1
#7  0xf6d3e401 in glXChooseVisual () from /usr/lib32/libGL.so.1
#8  0xf514a9be in ?? () from /opt/google/earth/free/librender.so
#9  0xf514b073 in RenderWidget::init() () from /opt/google/earth/free/librender.so
#10 0xf514c37c in RenderWidget::RenderWidget(earth::render::Module*, QWidget*, char const*, QFlags<Qt::WindowType>) () from /opt/google/earth/free/librender.so
#11 0xf5131344 in earth::render::RenderWindow::createWidget() () from /opt/google/earth/free/librender.so
#12 0xf7ef73b5 in earth::client::ModuleWidget::showEvent(QShowEvent*) () from /opt/google/earth/free/libgoogleearth_free.so
#13 0xf729aa60 in QWidget::event(QEvent*) () from /opt/google/earth/free/libQtGui.so.4

....

฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2327 2012-07-26 12:04:18

agapito
Member
From: Spain
Registered: 2008-11-13
Posts: 495

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

Google Earth works here. Slow, but works.

Last edited by agapito (2012-07-26 12:22:19)


Excuse my poor English.

Offline

#2328 2012-07-26 12:32:00

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

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

Hm, ok. Above segfault for me.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2329 2012-07-28 08:21:25

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 252

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

have you installed ld-lsb from AUR? got the same problem, now GE works (anyway, we are OT here..)

Offline

#2330 2012-07-28 10:22:29

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

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

Yes, it's a dependency.

I assumed it had something to do with the radeon driver since the segfault in expat comes directly from r600_dri.so:

#0  0xf4d6dca0 in ?? () from /usr/lib32/libexpat.so.1
#1  0xf4d75f3b in XML_ParserFree () from /usr/lib32/libexpat.so.1
#2  0xe833e408 in ?? () from /usr/lib32/xorg/modules/dri/r600_dri.so
#3  0xe833c4fd in ?? () from /usr/lib32/xorg/modules/dri/r600_dri.so
#4  0xf6d5e30c in ?? () from /usr/lib32/libGL.so.1
#5  0xf6d40cc7 in ?? () from /usr/lib32/libGL.so.1
#6  0xf6d3dd7f in ?? () from /usr/lib32/libGL.so.1

Last edited by Cdh (2012-07-28 10:24:02)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2331 2012-08-04 18:09:43

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

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

Hm, another issue seems to be that it's no longer safe compiling with multiple jobs.

R600RegisterInfo.td:4762:27997: error: Variable not defined: 'C1'

Happens only sometimes and just starting the compiling again until it works "fixes" it. Didn't happen with -j 1.
Somebody on gentoo has it too: https://bugs.gentoo.org/show_bug.cgi?id=428174


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2332 2012-08-04 18:42:28

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 200

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

Cdh wrote:

Hm, another issue seems to be that it's no longer safe compiling with multiple jobs.

R600RegisterInfo.td:4762:27997: error: Variable not defined: 'C1'

Happens only sometimes and just starting the compiling again until it works "fixes" it. Didn't happen with -j 1.
Somebody on gentoo has it too: https://bugs.gentoo.org/show_bug.cgi?id=428174

yep options=('!makeflags') is mandatory

Offline

#2333 2012-08-05 11:54:42

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 200

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

Now packages in my mesa-git are built with wayland support (0.95.0),

* weston (0.95.0) is also available, depending on cairo-weston (cairo with gl/egl enabled).
* Opencl isn't yet available because it still need a clang patched version.
* Radeonsi (HD7xxx) still conflict with egl so it's disabled.

http://pkgbuild.com/~lcarlier/mesa-git/

Feel free to test!

PKGBUILD sources :
http://pkgbuild.com/~lcarlier/mesa-git/sources/

Last edited by lordheavy (2012-08-06 05:38:36)

Offline

#2334 2012-08-09 20:15:43

cafaro
Member
Registered: 2010-12-28
Posts: 9

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

Does anyone else experience screen flickering with the current xf86-video-ati? I have laptop with an rv635 card and the screen quality on the external VGA screen is not very good.

I tried disabling kms, but i get a segfault when starting X. I'm using the default setup with the profile power management option. The screen flickering is less when I use the low or mid profile, but it's still visible on some surfaces (mainly my terminal with a gray background). Any ideas?

tman@archbook ~> cat /sys/class/drm/card0/device/power_method
profile
[root@archbook tman]# echo high > /sys/class/drm/card0/device/power_profile
[root@archbook tman]# cat /sys/kernel/debug/dri/0/radeon_pm_info
cat: /sys/kernel/debug/dri/0/radeon_pm_info: No such file or directory
[root@archbook tman]# sudo mount -t debugfs none /sys/kernel/debug
[root@archbook tman]# cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 600000 kHz
current engine clock: 594000 kHz
default memory clock: 500000 kHz
current memory clock: 495000 kHz
voltage: 1100 mV
PCIE lanes: 16
[root@archbook tman]# echo low > /sys/class/drm/card0/device/power_profile
[root@archbook tman]# cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 600000 kHz
current engine clock: 297000 kHz
default memory clock: 500000 kHz
current memory clock: 495000 kHz
voltage: 1100 mV
PCIE lanes: 16
tman@archbook ~> dmesg | grep drm
[    0.596840] [drm] Initialized drm 1.1.0 20060810
[    0.601816] [drm] radeon defaulting to kernel modesetting.
[    0.601818] [drm] radeon kernel modesetting enabled.
[    0.601868] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
[    0.602675] [drm] initializing kernel modesetting (RV635 0x1002:0x9591 0x1179:0xFF01).
[    0.602715] [drm] register mmio base: 0xF2620000
[    0.602716] [drm] register mmio size: 65536
[    0.604504] [drm] Detected VRAM RAM=512M, BAR=512M
[    0.604507] [drm] RAM width 128bits DDR
[    0.604597] [drm] radeon: 512M of VRAM memory ready
[    0.604599] [drm] radeon: 512M of GTT memory ready.
[    0.604623] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    0.604624] [drm] Driver supports precise vblank timestamp query.
[    0.604731] [drm] radeon: irq initialized.
[    0.604736] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    0.605295] [drm] radeon: ib pool ready.
[    0.605392] [drm] Loading RV635 Microcode
[    0.608998] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[    0.609052] [drm] fence driver on ring 0 use gpu addr 0x20000c00 and cpu addr 0xffff880137e95c00
[    0.640779] [drm] ring test on 0 succeeded in 1 usecs
[    0.641159] [drm] ib test on ring 0 succeeded in 0 usecs
[    1.038483] [drm] Radeon Display Connectors
[    1.038485] [drm] Connector 0:
[    1.038487] [drm]   VGA
[    1.038489] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
[    1.038490] [drm]   Encoders:
[    1.038492] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    1.038493] [drm] Connector 1:
[    1.038494] [drm]   LVDS
[    1.038496] [drm]   DDC: 0x7f68 0x7f68 0x7f6c 0x7f6c 0x7f70 0x7f70 0x7f74 0x7f74
[    1.038498] [drm]   Encoders:
[    1.038499] [drm]     LCD1: INTERNAL_KLDSCP_LVTMA
[    1.038500] [drm] Connector 2:
[    1.038501] [drm]   HDMI-A
[    1.038502] [drm]   HPD1
[    1.038504] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
[    1.038505] [drm]   Encoders:
[    1.038507] [drm]     DFP1: INTERNAL_UNIPHY
[    1.038508] [drm] Connector 3:
[    1.038509] [drm]   DIN
[    1.038510] [drm]   Encoders:
[    1.038511] [drm]     TV1: INTERNAL_KLDSCP_DAC2
[    1.038567] [drm] radeon: power management initialized
[    7.750090] [drm] fb mappable at 0xC0142000
[    7.750092] [drm] vram apper at 0xC0000000
[    7.750094] [drm] size 9216000
[    7.750095] [drm] fb depth is 24
[    7.750096] [drm]    pitch is 7680
[    7.750156] fbcon: radeondrmfb (fb0) is primary device
[   14.822577] fb0: radeondrmfb frame buffer device
[   14.822579] drm: registered panic notifier
[   14.822584] [drm] Initialized radeon 2.16.0 20080528 for 0000:01:00.0 on minor 0

Last edited by cafaro (2012-08-09 20:21:34)

Offline

#2335 2012-08-12 09:45:02

sublimepua
Member
Registered: 2011-02-02
Posts: 12

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

I've got a toshiba with one of the fusion apu chipsets. Everything works nicely besides sleep. When resuming from sleep, the backlight doesn't turn on for my lcd screen. Everything else is fine, I've even sshed into my backlight-less laptop to make sure it wasn't a delayed kernel panic or something.

Back in the 2.6x branch I managed to get the screen working by appending vga=0 nomodeset to the kernel line when I used fglrx. As I would like to have KMS with the open source driver, as that is the singular reason I chose it over fglrx, that isn't a good solution for me. How are you guys getting suspend working with your ati gpus?

Last edited by sublimepua (2012-08-12 15:00:57)

Offline

#2336 2012-08-13 09:33:13

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 297
Website

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

cafaro wrote:

Does anyone else experience screen flickering with the current xf86-video-ati? I have laptop with an rv635 card and the screen quality on the external VGA screen is not very good.

I have a Compal IFL90 laptop which had an nVidia 8600MGT GPU. After it burned down, I switched it to an ATI 3650 with 512Mb DDR2 RAM (I think it's the same as yours). If the card was booted into default power mode (high) everything would work fine. Switching power profiles would immediately cause flickering - even changing back to "high" profile would not stop the flickering.
After a few days the card failed and I returned it. I have bought a different version of the card (with 256Mb DDR3 RAM) which is working fine in all aspects with the radeon driver. It laso has way better performance.
I'm not saying your card could be failing, just reporting my experience. But then again, my card was a replacement card, not actually meant for this laptop...

Offline

#2337 2012-08-15 16:36:56

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,471
Website

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

I just switched from Catalyst to Radeon after being fed up with holding back Xorg versions and annoying little bugs in mplayer/skype and some random crashed that happened lately. Now, I'm using the radeon driver from the repo's but I also read that there's git versions available. I'd like to test these too, but I'm a little confused on where to get these. The Wiki isn't very clear on this and in this topic I see posts regarding a repo by lordheavy, but I only see mesa-git packages in there and no radeon-git. The other repo (which is announced in the first post) seems to be discontinued.

Can anyone share some light on this? As I said I'd like to be able to test radeon-git versions, but perhaps I need mesa-git? Can someone explain to me what the connection/background is, too? Thanks in advance!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2338 2012-08-15 18:46:16

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

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

In the aur there are some packages like "mesa-r600g-git"...

Basically you need three things: libdrm, the "mesa stack" and the xf86-video-ati X driver. All of them contain parts of the radeon driver. For the git version it would be good to have all three from git but an old xf86-video-ati should work with a newer mesa too.
http://pkgbuild.com/~lcarlier/mesa-git does seem to contain only mesa, and not libdrm nor xf86-video-ati
Also, be careful with , those packages are compiled with a testing system and if you don't have testing on your system it may not work.


I was curious how hard it would be to setup my own repo with dropbox. It wasn't hard. smile
https://bbs.archlinux.org/viewtopic.php … 1#p1135781
It's 64 bit only, built against current archlinux, not testing, has all the necessary libraries and dependencies and has all the fun stuff enabled like the WIP opencl. I'm not sure I can maintain it but if you are curious you can try it.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2339 2012-08-15 19:21:45

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,471
Website

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

^ Oke thanks, I at least get the background now. I will try your repo either later tonight or tomorrow, and I'll also look into other -git packages.

I'm really enjoying the open source driver. All the tiny little issues are gone and everything's a breeze. There are just two problems with this driver: powermanagement (heat issue) and no hardware decoding. Does any of you possibly know when this will be supported? At the moment I'm using the 'profile' method set to 'low', but still when idling it's ~50/55 degrees Celcius and with heavy load (Skype and mplayer together) it can get into 70's. With Catalyst, normal temp when idling is 45 and under load it will only reach 70, not top it.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2340 2012-08-15 20:12:40

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

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

According to the phoronix forum there are some parts of the power management specifications that have been stuck in legal review at amd and have not been released...

Recently some more parts have been released in form of some headers but I don't know if that has been integrated yet and if it helps much.
http://lists.freedesktop.org/archives/d … 25517.html

Most of the power saving stuff is done directly in the kernel so trying linux 3.6-rc1 might help, but on my notebook it doesn't really do much for power saving, so probably not.
linux-mainline in aur, or packages in miffe's repo: http://arch.miffe.org/x86_64/


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2341 2012-08-15 20:26:12

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,471
Website

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

Thanks again Cdh! I will play around with this the next day.

Do you also happen to know something about hardware decoding for videos?

Last edited by Unia (2012-08-15 20:26:20)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2342 2012-08-15 22:32:42

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

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

vdpau presentation works quite well. I have read somewhere that the performance in windowed mode is not as good as it should be but it's good enough for me.
vdpau decoding only works for mpeg1/2 because nobody has actually written a complete decoder for h.264/vp8 yet.

There's also vaapi stuff in mesa but I think it's pretty much dead.

amd did not release the specifications for the UVD hardware decoding engine (the argument was always that their DRM (digital rights management) could be compromised, so they couldn't legally release how it works) so it will not be used anyway, the decoding will always run generically on the shaders.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2343 2012-08-15 22:38:53

agapito
Member
From: Spain
Registered: 2008-11-13
Posts: 495

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

With the latest packages from http://pkgbuild.com/~lcarlier/mesa-git   google earth doesn't start

google-earth                                               
libGL error: failed to load driver: r600                                             
libGL error: Try again with LIBGL_DEBUG=verbose for more details.                   
LLVM ERROR: Program used external function '' which could not be resolved!


Excuse my poor English.

Offline

#2344 2012-08-15 22:46:25

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 200

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

agapito wrote:

With the latest packages from http://pkgbuild.com/~lcarlier/mesa-git   google earth doesn't start

google-earth                                               
libGL error: failed to load driver: r600                                             
libGL error: Try again with LIBGL_DEBUG=verbose for more details.                   
LLVM ERROR: Program used external function '' which could not be resolved!

Have you tried:
LIBGL_DEBUG=verbose google-earth

??

Offline

#2345 2012-08-15 23:36:55

agapito
Member
From: Spain
Registered: 2008-11-13
Posts: 495

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

lordheavy wrote:
agapito wrote:

With the latest packages from http://pkgbuild.com/~lcarlier/mesa-git   google earth doesn't start

google-earth                                               
libGL error: failed to load driver: r600                                             
libGL error: Try again with LIBGL_DEBUG=verbose for more details.                   
LLVM ERROR: Program used external function '' which could not be resolved!

Have you tried:
LIBGL_DEBUG=verbose google-earth

??

Sorry. It was my fault. I didn't have installed lib32-ati-dri-git. Now works !


Excuse my poor English.

Offline

#2346 2012-08-16 21:38:06

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 200

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

Some news from my repo:

* Gallium dri driver for Southern Island (HD7xxx cards) is available through the ati-dri driver (and lib32-ati-dri)
* Glamorified xf86-video-ati as available through xf86-video-ati-glamor package,
    see http://www.phoronix.com/scan.php?page=n … px=MTE0NDc and http://www.freedesktop.org/wiki/Software/Glamor

in my xorg.conf file

Section "Device"
    Identifier  "radeonCard"
    Driver      "radeon"
    Option      "AccelMethod"   "glamor"
EndSection

gives:

cat /var/log/Xorg.0.log | grep glamor
[  2386.529] (II) LoadModule: "glamoregl"
[  2386.529] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  2386.533] (II) Module glamoregl: vendor="X.Org Foundation"
[  2386.545] (**) RADEON(0): Option "AccelMethod" "glamor"
[  2386.546] (II) Loading sub module "glamoregl"
[  2386.546] (II) LoadModule: "glamoregl"
[  2386.546] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  2386.546] (II) Module glamoregl: vendor="X.Org Foundation"
[  2386.546] (II) glamor: OpenGL accelerated X.org driver based.
[  2386.727] (II) glamor: EGL version 1.4 (DRI2):
[  2386.743] (II) RADEON(0): glamor detected, initialising EGL layer.

Offline

#2347 2012-08-16 21:42:00

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 297
Website

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

Which begs the question: How is glamor fairing in your opinion? =-)

Offline

#2348 2012-08-18 18:43:12

vlatko27
Member
Registered: 2012-08-18
Posts: 10

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

nvm

Last edited by vlatko27 (2012-08-18 19:26:03)

Offline

#2349 2012-08-18 19:24:20

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 200

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

Stunts wrote:

Which begs the question: How is glamor fairing in your opinion? =-)

I've tested it quickly: it's  a bit buggy, but i don't see speed difference, also full screen video (flash) doesn't work.

Offline

#2350 2012-08-29 10:14:22

agapito
Member
From: Spain
Registered: 2008-11-13
Posts: 495

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

I like the free driveris stable even mesa-git, doesn't break with xorg updates, xorg process don't consume a lot of cpu and memory, unlike the catalyst driver. Only one program is giving me headaches. Skype videocalls with catalyst driver consume around 50 % of one core, with free driver 100 % or more. Anyone else have this excessive consumption of CPU using skype and radeon?


Excuse my poor English.

Offline

Board footer

Powered by FluxBB