You are not logged in.

#801 2010-02-06 00:09:08

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

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

Neuro wrote:

Could you please provide a test-case SVG file with steps how to reproduce? I'd like to try it if it happens on my machine. Crashes like that should be investigated ASAP and reported to MESA/kernel bugzilla.

I just went back to the same file trying to replicate yesterday's crash trigger, which was basically using the weird Node editor interface on a group of boxes to change their wavy "pattern fill" pattern by sliding around a tiny circle and a box widget. Although it crashed on me many times before, this time around I did not manage to trigger a single crash using the same nightlies. I worked around the problem yesterday when editing the graph and now the state of the SVG file is different somehow. Another case for having a file-system with rollback support...

(I should file an Inkscape specific bug though, because I can crash the program by selecting a single box inside the group and try changing only its pattern -> instant crash)

@Neuro: PM me if you are interested in having a closer look at this.

Offline

#802 2010-02-06 10:03:32

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

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

korpenkraxar wrote:

I just went back to the same file trying to replicate yesterday's crash trigger, which was basically using the weird Node editor interface on a group of boxes to change their wavy "pattern fill" pattern by sliding around a tiny circle and a box widget. Although it crashed on me many times before, this time around I did not manage to trigger a single crash using the same nightlies. I worked around the problem yesterday when editing the graph and now the state of the SVG file is different somehow. Another case for having a file-system with rollback support...

(I should file an Inkscape specific bug though, because I can crash the program by selecting a single box inside the group and try changing only its pattern -> instant crash)

@Neuro: PM me if you are interested in having a closer look at this.

Nah, I'm no expert really. I'm just interesting in having stable open source radeon drivers. Your problem in inkscape looks scary,since I myself use it sometimes and wouldn't like my system to explode somewhere in the middle of an important job.

Offline

#803 2010-02-09 23:05:28

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

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

Is anyone able to build mesa-full atm? I get this error:

r600_texstate.c: In function 'r600SetTexBuffer':
r600_texstate.c:1119: error: '__DRM_TEXTURE_FORMAT_RGBA' undeclared (first use in this function)
r600_texstate.c:1119: error: (Each undeclared identifier is reported only once
r600_texstate.c:1119: error: for each function it appears in.)
make[6]: *** [r600_texstate.o] Error 1

Offline

#804 2010-02-09 23:57:55

ChemBro
Member
Registered: 2008-10-22
Posts: 704

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

Isn't mesa-full flagged out-of-date?

Offline

#805 2010-02-10 00:43:20

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

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

korpenkraxar wrote:

Is anyone able to build mesa-full atm? I get this error:

r600_texstate.c: In function 'r600SetTexBuffer':
r600_texstate.c:1119: error: '__DRM_TEXTURE_FORMAT_RGBA' undeclared (first use in this function)
r600_texstate.c:1119: error: (Each undeclared identifier is reported only once
r600_texstate.c:1119: error: for each function it appears in.)
make[6]: *** [r600_texstate.o] Error 1

Same problem here. Surely it will be fixed soon.

Offline

#806 2010-02-10 13:35:24

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

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

I built it yesterday for i686 (mesa-full-20100209-1-i686.pkg.tar.gz)
http://omploader.org/vM2ljbg

Can anyone tell us something about KMS?
I have a Radeon HD 4650. I compiled 2.6.33-rc7 without changing anything in the config. I tried the packages from the repo, then nightly/libdrm-git nightly/mesa-git nightly/libgl-git nightly/ati-dri-git nightly/xf86-video-ati-git nightly/glproto-git nightly/dri2proto-git, then the same packages with mesa-full.

Always the same: KMS itself works great but starting X just gives a black screen. strg+alt+f? makes the display go in standby mode (everything still works over ssh).
I would really like to know what the current state is or where I can find documentation (summarized) what to do to make it working.
I remember it working some weeks ago...


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#807 2010-02-10 13:44:40

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

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

KMS is working fine for me.

Did you install radeon_ucode from AUR?

/edit: http://cgit.freedesktop.org/mesa/mesa/c … 36f8d2379f

Oops, I n00bed it.

This should fix the mesa-compile error from yesterday

Last edited by Perry3D (2010-02-10 13:45:57)

Offline

#808 2010-02-10 14:02:44

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

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

I have radeon_ucode installed. But it is from
Erstellt am          : Mo 21 Dez 2009 23:04:34 CET

I reinstall it, maybe something changed since then. smile

Additionally I had the problem that when leaving the PC unattended for a long time it is freezed or instantly freezes when turning the screen on again.

Edit: Does still not work.
Xorg.0.log
1) Starting X and getting black screen: http://pastebin.org/89496
2) Then when pressing strg + alt + f1 this is added: http://pastebin.org/89498

Is it because of this?

(EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
[dri] This chipset requires a kernel module version of 1.17.0,
[dri] but the kernel reports a version of 2.0.0.[dri] If using legacy modesetting, upgrade your kernel.
[dri] If using kernel modesetting, make sure your module is
[dri] loaded prior to starting X, and that this driver was built
[dri] with support for KMS.
[dri] Disabling DRI.

chris@chrispc> uname -a
Linux chrispc 2.6.33-rc7-rc #1 SMP PREEMPT Tue Feb 9 12:38:37 CET 2010 i686 AMD Athlon(tm) II X2 240 Processor AuthenticAMD GNU/Linux

At the moment mesa-full from aur (yesterday), glproto-git 20100210-1 libdrm-git 20100210-1 xf86-video-ati-git 20100210-1 from nightly repo?

I use the radeon.modeset=1 kernel line and the module is obviously loaded when "loading modules" in the boot process (the console changes resolution).

Do I have to

rebuilt libdrm with --enable-radeon-experimental-api

as #9 says there? http://bbs.archlinux.org/viewtopic.php?pid=697856

Last edited by Cdh (2010-02-10 14:28:04)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#809 2010-02-10 14:19:39

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

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

Can you try it without xorg.conf (hal only).

Offline

#810 2010-02-10 14:33:18

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

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

I thought I did have now xorg.conf. I was wrong. But nothing changes without. Still http://pastebin.org/89511
This is working xorg.0.log with KMS disabled: http://pastebin.org/89513

Cdh wrote:

Do I have to

rebuilt libdrm with --enable-radeon-experimental-api

as #9 says there? http://bbs.archlinux.org/viewtopic.php?pid=697856

No I don't. I just compiled it from aur (this flag is active there) and it didn't change anything.

Last edited by Cdh (2010-02-10 14:59:13)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#811 2010-02-10 15:21:26

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

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

The only error i can see is:

(==) RADEON(0): Backing store disabled
(WW) RADEON(0): Direct rendering disabled
(EE) RADEON(0): Acceleration initialization failed
(II) RADEON(0): Acceleration disabled
(==) RADEON(0): DPMS enabled

Maybe the output of dmesg gives more information.

PS: I don't use the packages from the nightly repo. I compile everything myself. Maybe the repo is broken?

Offline

#812 2010-02-11 17:12:07

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

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

As of today I get a different compile error for mesa-full:

eglgears.c:(.text+0x183): undefined reference to `sincos'
eglgears.c:(.text+0x25a): undefined reference to `sincos'
eglgears.c:(.text+0x312): undefined reference to `sincos'
eglgears.c:(.text+0x36b): undefined reference to `sincos'
eglgears.c:(.text+0x3c4): undefined reference to `sincos'
eglgears.o:eglgears.c:(.text+0x41a): more undefined references to `sincos' follow
eglgears.o: In function `T.55':
eglgears.c:(.text+0x854): undefined reference to `sincosf'
eglgears.c:(.text+0x88c): undefined reference to `sincos'
eglgears.c:(.text+0x91f): undefined reference to `sincos'
eglgears.c:(.text+0xa2f): undefined reference to `sincos'
eglgears.c:(.text+0xabc): undefined reference to `sincos'
eglgears.c:(.text+0xb06): undefined reference to `sin'
eglgears.c:(.text+0xc59): undefined reference to `sincosf'
eglgears.c:(.text+0xc93): undefined reference to `sincos'
collect2: ld returned 1 exit status
make[2]: *** [eglgears] Error 1

Any way around this?

Offline

#813 2010-02-11 22:05:13

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

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

You have probably heard about that but still is some sort of good news, so...
Alex Deucher has pushed evergreen support into xf86-video-ati driver. There are working KMS kernel patches also smile
More here: http://www.botchco.com/agd5f/?p=48
and here: http://cgit.freedesktop.org/xorg/driver … o-ati/log/

Edit: Ooops! good news has been posted on prev page, sorry smile

Last edited by Vi0L0 (2010-02-11 22:08:24)

Offline

#814 2010-02-11 23:17:39

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

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

Is anyone else having troubles with "random" but possibly KDE-related freezes, with the screen just going blank?

I run kernel + X + ATI git packages which are now a few days old (since I am unable to compile mesa-full) but for more than a week, my machine has crashed at least once or twice a day, sometimes more. I can not ssh to it. I run KDE SC 4.4 with compositing and crashes has a tendency to happen at these occasions:

i) Leaving the machine unattended for a while, so that both the laptop and the external monitor are suspended or powered off. When I return I have found it dead a number of times, it just does not wake up.

This has not happened after I turned off "Let PowerDevil manage screen powersaving", but that was only yesterday so I am not sure if that really made any difference.

ii) Using "Present Windows" as an effect for window switching with Kwin and pressing Alt+Tab two or more times VERY quickly has crashed the computer at at least four occasions.

iii) Pressing (maybe even just hovering, I am not sure) a tab in a KDE app like Dolphin or GTK app like Firefox has brought the machine down as well.

Do any of these problems sound familiar to anyone?

Offline

#815 2010-02-12 03:45:01

endlessroad1991
Member
Registered: 2010-02-02
Posts: 28

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

korpenkraxar wrote:

As of today I get a different compile error for mesa-full:

eglgears.c:(.text+0x183): undefined reference to `sincos'
eglgears.c:(.text+0x25a): undefined reference to `sincos'
eglgears.c:(.text+0x312): undefined reference to `sincos'
eglgears.c:(.text+0x36b): undefined reference to `sincos'
eglgears.c:(.text+0x3c4): undefined reference to `sincos'
eglgears.o:eglgears.c:(.text+0x41a): more undefined references to `sincos' follow
eglgears.o: In function `T.55':
eglgears.c:(.text+0x854): undefined reference to `sincosf'
eglgears.c:(.text+0x88c): undefined reference to `sincos'
eglgears.c:(.text+0x91f): undefined reference to `sincos'
eglgears.c:(.text+0xa2f): undefined reference to `sincos'
eglgears.c:(.text+0xabc): undefined reference to `sincos'
eglgears.c:(.text+0xb06): undefined reference to `sin'
eglgears.c:(.text+0xc59): undefined reference to `sincosf'
eglgears.c:(.text+0xc93): undefined reference to `sincos'
collect2: ld returned 1 exit status
make[2]: *** [eglgears] Error 1

Any way around this?

Modify the PKGBUILD of mesa-full,
change the line "--enable-egl" to "--disable-egl".
Disabling egl seems no harm to radeon 3d & kmds,
at least without it I can still have kwin effects in KDE SC 4.4

Offline

#816 2010-02-12 07:30:38

Octoploid
Member
From: Berlin, Germany
Registered: 2009-10-13
Posts: 64

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

korpenkraxar wrote:

Is anyone else having troubles with "random" but possibly KDE-related freezes, with the screen just going blank?

I run kernel + X + ATI git packages which are now a few days old (since I am unable to compile mesa-full) but for more than a week, my machine has crashed at least once or twice a day, sometimes more. I can not ssh to it. I run KDE SC 4.4 with compositing and crashes has a tendency to happen at these occasions:

i) Leaving the machine unattended for a while, so that both the laptop and the external monitor are suspended or powered off. When I return I have found it dead a number of times, it just does not wake up.

This has not happened after I turned off "Let PowerDevil manage screen powersaving", but that was only yesterday so I am not sure if that really made any difference.

ii) Using "Present Windows" as an effect for window switching with Kwin and pressing Alt+Tab two or more times VERY quickly has crashed the computer at at least four occasions.

iii) Pressing (maybe even just hovering, I am not sure) a tab in a KDE app like Dolphin or GTK app like Firefox has brought the machine down as well.

Do any of these problems sound familiar to anyone?

Yes, I have the same problem here. There is an entry in the kernel bug tracker:
http://bugzilla.kernel.org/show_bug.cgi?id=15276
Feel free to chime in.

Offline

#817 2010-02-12 15:46:22

Kiichiro
Member
Registered: 2009-10-06
Posts: 3

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

korpenkraxar

# <your editor> <your path to mesa-full>/src/mesa/progs/egl/Makefile

in Makefile

....
HEADERS = $(TOP)/include/GLES/egl.h
LIB_DEP = $(TOP)/$(LIB_DIR)/libEGL.so

--- LIBS = -L$(TOP)/$(LIB_DIR) -lEGL -lGL
+++ LIBS = -L$(TOP)/$(LIB_DIR) -lEGL -lGL -lm

PROGRAMS = \
....

Offline

#818 2010-02-12 18:53:52

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

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

Octoploid wrote:
korpenkraxar wrote:

Is anyone else having troubles with "random" but possibly KDE-related freezes, with the screen just going blank?

I run kernel + X + ATI git packages which are now a few days old (since I am unable to compile mesa-full) but for more than a week, my machine has crashed at least once or twice a day, sometimes more. I can not ssh to it. I run KDE SC 4.4 with compositing and crashes has a tendency to happen at these occasions:

i) Leaving the machine unattended for a while, so that both the laptop and the external monitor are suspended or powered off. When I return I have found it dead a number of times, it just does not wake up.

This has not happened after I turned off "Let PowerDevil manage screen powersaving", but that was only yesterday so I am not sure if that really made any difference.

ii) Using "Present Windows" as an effect for window switching with Kwin and pressing Alt+Tab two or more times VERY quickly has crashed the computer at at least four occasions.

iii) Pressing (maybe even just hovering, I am not sure) a tab in a KDE app like Dolphin or GTK app like Firefox has brought the machine down as well.

Do any of these problems sound familiar to anyone?

Yes, I have the same problem here. There is an entry in the kernel bug tracker:
http://bugzilla.kernel.org/show_bug.cgi?id=15276
Feel free to chime in.

Yeah, I'm having similar issues (Radeon 3450 w KDE 4.4 final and RC1-2). These freezes started for me after I applied the patch (to vanilla 2.6.33-rc6) fix to the yellowish-translucent shadows in KDE.

Offline

#819 2010-02-12 21:44:55

jmdennis
Member
Registered: 2009-03-21
Posts: 61

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

I just wanted to thank those working on this.  I have read some good reports about the ATI drivers so I decided to try them.  I had installed the radeonhd driver and it worked for me until I changed the resolution in KDE 4.4 to 1152X864 and then after I rebooted the system froze solid.  I wanted to try this because the nvidia card would not save the settings on reboot but this might have to do with my monitor changing them back.  I tried the different area's in the ATI wiki but I did not turn KMS back on.  I have a better ATI card then I do the nvidia card and look forward to when this is more stable and I will try it again.

Offline

#820 2010-02-12 22:26:32

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

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

Don't use the radeonhd driver. Use xf86-video-ati instead. Radeonhd doesn't support KMS.

Offline

#821 2010-02-12 22:58:55

gtklocker
Member
Registered: 2009-09-01
Posts: 462

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

How is it going in here, guys?

I've completely moved to Win7, till things get improved.

The part that interests my a lot is the powersaving (cause I have a laptop). What running with this?

Offline

#822 2010-02-13 07:30:25

jmdennis
Member
Registered: 2009-03-21
Posts: 61

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

Perry3D wrote:

Don't use the radeonhd driver. Use xf86-video-ati instead. Radeonhd doesn't support KMS.

I did use this driver and it showed my monitor in xorg but would not work.  I did not turn on KMS but will wait a while until things are worked out and try again.

Offline

#823 2010-02-13 08:41:27

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

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

Right, apart from the random crash bug, what about slow flash video movies?

For example:
http://vimeo.com/6194911

This works fine with intel graphics card, but the radeon driver plays it (non-smoothly) and causes firefox to hardly respond. Anyone with a similar problem?

Offline

#824 2010-02-13 10:10:56

insanemal
Member
From: Brisbane/Australia
Registered: 2009-05-05
Posts: 140

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

Neuro wrote:

Right, apart from the random crash bug, what about slow flash video movies?

For example:
http://vimeo.com/6194911

This works fine with intel graphics card, but the radeon driver plays it (non-smoothly) and causes firefox to hardly respond. Anyone with a similar problem?

No issues here. Full speed no lag. Mind you it seemed to be quite CPU heavy.  Possibly due to the lack of video decode acceleration in flash on Linux.

Or it could be that my video card might be different to yours.. but I dunno. HD4530.

Also, I'm running an older libdrm.  I can't get the new one to work.. even after I recompile most everything after upgrading it. Black screens of nothing aren't fun.

Speaking of all things GIT... What the heck is going on with the OpenDesktop gitweb's. I can only see personal repositories... I can't see any of the normal repo's. Anybody know what is happening?

Offline

#825 2010-02-13 10:39:50

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

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

Ok, everyone using open source radeon drivers KMS, with mesa from git and are using a 2.6.33-rc kernel or 2.6.33-git kenel, please listen:

We're trying to trace a bug which causes kernel hangs (http://bugzilla.kernel.org/show_bug.cgi?id=15276), but can't get anything that's 100% per cent reproducible. Things that are known to cause the bug sometimes are:
1. Playing flash games (namely Hex Empire)
2. Using KWin present windows
3. Using thumbnails in KDE's taskbar.
4. Other stuff.

Symptoms:
- Black screen
- System unresponsive to keyboard or SSH
- Monitor states "no signal"

If you experience such a crash, please post your experience here or to the bug comments. If you are able to deterministically reproduce the bug, we'd all be gratefull.

Last edited by Neuro (2010-02-13 12:47:07)

Offline

Board footer

Powered by FluxBB