You are not logged in.

#101 2009-10-03 11:11:58

Mazur
Member
Registered: 2009-06-10
Posts: 103
Website

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

[mazur@locallabs ~]$ glxgears
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
[mazur@locallabs ~]$

Any ideas?

[root@locallabs mazur]# pacman -Q | grep git
ati-dri-git 20091001-1
dri2proto-git 20090930-1
drm-radeon-module-git-r6xx-r7xx-3d 20091003-1
git 1.6.4.4-1
glproto-git 20090930-1
libdrm-git 20090930-1
libgl-git 20091001-1
mesa-git 20091001-1
xf86-video-ati-git 20091001-1
[root@locallabs mazur]#/

Same with Nexuiz:

Trying to load library... "libjpeg.so.7" - loaded.
Trying to load library... "libpng12.so.0" - loaded.
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.

Last edited by Mazur (2009-10-03 11:54:22)

Offline

#102 2009-10-06 16:30:21

dan.boff
Member
Registered: 2009-04-07
Posts: 42

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

hi!

for me the kernel26-drm-next package + mesa-full are working perfectly for getting kms on my ati 4850.
but kms always turns on after my other moduls get loaded. how do i get kms working as fast as possible in the boot process?

Offline

#103 2009-10-07 01:14:38

JonimusPrime
Member
Registered: 2009-04-23
Posts: 13

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

Perry3D wrote:
JonimusPrime wrote:
xakh wrote:

Huh. Interesting. Where before OpenGL would lag and choke before requiring that I manually restart my computer, a new problem has arisen.

[xakh@Monolith ~]$ glxgears
IRQ's not enabled, falling back to busy waits: 2 18
drmRadeonCmdBuffer: -22

What does that mean? I still have yet to install that kmskernel thing, running like I was last time, I've run a few updates, but none of them have had anything to do with OpenGL, so what's up with this?

xakh you need to rebuild and install the drm modules, which sadly the soucre is no longer available for, I might be able to tar up the last git pull I grabbed and upload it if no one can find a way to build the module for the new kernel against 2.6.31.

Don't bother! The source is up again.

Woot! Does that mean they will keep developing a branch not in the mainline kernel or is this just a dev branch that will get merged each kernel update until it is complete, or both?

Offline

#104 2009-10-08 15:57:55

remaros
Member
Registered: 2009-10-06
Posts: 14

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

Hi, i have a question.
Does any one of You have a problem like mine and does any one have a clue how to resolve this?? Swtiching tabs(ikonqueror, arora, opera and so on) is very slow. It takes about 2 sek. for me to swich tab. Problem exists only with oss drivers.

Offline

#105 2009-10-09 21:53:19

registeringsucks
Member
Registered: 2009-04-27
Posts: 27

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

i can't get it to work:/
no ideo why:

glxinfo |grep -i opengl
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.7-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized radeon 1.29.0 20080613 on minor 0
lsmod | grep drm
drm                   198368  1 radeon
Section "Device"                        
    Identifier  "radeonCard"            
    Driver      "radeon"                
    Option        "AccelMethod" "exa" # default shadowfb
    Option        "DRI" "on"                            
EndSection

Section "DRI"
    Group        "video"
    Mode         0660
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "Module"
        Load  "dri2"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "record"
        Load  "glx"
EndSection

Section "Screen"
        Identifier "radeonCard"
        SubSection "Display"
                Virtual 3200    1200
        EndSubSection
EndSection

on Ati 4850 with xf86-video-ati-git


I installed all packages mentioned in OP's post. Whats wrong?

Offline

#106 2009-10-09 21:56:44

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

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

You need kernel26-git (linux kernel 2.6.32)

Offline

#107 2009-10-09 22:05:28

registeringsucks
Member
Registered: 2009-04-27
Posts: 27

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

flamelab wrote:

You need kernel26-git (linux kernel 2.6.32)

even though i have installed "drm-radeon-module-git-r6xx-r7xx-3d"?

Offline

#108 2009-10-09 23:30:47

remaros
Member
Registered: 2009-10-06
Posts: 14

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

I had similar problem. Check if You have errors in xorg log complainign about old libdri. If yes then you have to reinstall xorg-server.

Last edited by remaros (2009-10-09 23:31:13)

Offline

#109 2009-10-10 08:16:25

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

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

registeringsucks wrote:
flamelab wrote:

You need kernel26-git (linux kernel 2.6.32)

even though i have installed "drm-radeon-module-git-r6xx-r7xx-3d"?

There is more than one way to get the new drm-modules.
1) drm-radeon-module-git-r6xx-r7xx-3d (no support for KMS).
2) kernel26-git
3) kernel26-drm-next + radeon-firmware

Offline

#110 2009-10-10 09:51:58

registeringsucks
Member
Registered: 2009-04-27
Posts: 27

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

I reinstalled "xorg", rebooted and found myself with a nice composited KDE4-Desktop. I'm not sure however, what's caused the problems in the first place. Anyway,thx for your help guys:)

Offline

#111 2009-10-14 15:26:50

descendent87
Member
Registered: 2009-07-23
Posts: 105

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

With mesa, libdrm, xorg and xf86-video-ati all updated in the repo's now is it just the kernel modules that we need before 3D will be working? Or are the versions in the repo's still not new enough for 3D
So basically if I install just kernel26-git from AUR will I have working 3D/KMS?

Offline

#112 2009-10-14 21:40:44

descendent87
Member
Registered: 2009-07-23
Posts: 105

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

Just had another update to xf86-video-ati and after restarting compositing in kwin works but only if i select xrender instead of opengl and it's painfully slow

Offline

#113 2009-10-15 08:44:05

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

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

I propose to use the git packages of libdrm, mesa, libgl and ati-dri. The versions on the repo's will work for KMS with cards <= r500 and maybe not for newer cards.
At the moment i am using xorg from the repos, kernel26-drm-next, radeon-firmware, libdrm-git, mesa-git, libgl-git and ati-dri-git and it is working fine for my HD4850.

Offline

#114 2009-10-15 11:44:01

dan.boff
Member
Registered: 2009-04-07
Posts: 42

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

is kernel26-drm-next still working for you?
i usually update all git packages everyday, and since kernel 2.6.31 made it to core the kernel patches of kernel26-drm-next don't apply properly. do you know how to fix this?

Offline

#115 2009-10-15 13:08:30

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

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

Oh, i forgot: i downloaded the PKGBUILD from AUR and modified it to work with the current kernel.

Currently i am at work. But i think you just have to modify the kernel-variable and remove one patch. I can post the updated PKGBUILD this evening.

Offline

#116 2009-10-15 19:37:15

dan.boff
Member
Registered: 2009-04-07
Posts: 42

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

thanks, i looked into it myself and saw that the patches made in config aren't even necassary anymore. now kms is enabled my default in .config

Offline

#117 2009-10-16 18:08:46

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

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

Hi, i have installed :

[guillaume@yimm64 ~]$ yaourt -Q | grep git
==> Liste tous les paquetages installés
local/ati-dri-git 20091016-1
local/dri2proto-git 20091016-1
local/glproto-git 20091016-1
local/libdrm-git 20091016-1
local/libgl-git 20091016-1
local/mesa-git 20091016-1
local/xf86-video-ati-git 20091016-1

and kernel26-drm-next. and radeon-firmware (edit)

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.7-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
drm_kms_helper: Unknown symbol drm_add_modes_noedid
drm_kms_helper: Unknown symbol drm_get_encoder_name
drm_kms_helper: Unknown symbol drm_cvt_mode
drm_kms_helper: Unknown symbol drm_add_modes_noedid
drm_kms_helper: Unknown symbol drm_get_encoder_name
drm_kms_helper: Unknown symbol drm_cvt_mode

Any ideas? I found nothing on google.
Thanks

Last edited by yimm (2009-10-16 18:31:50)

Offline

#118 2009-10-16 18:24:45

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

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

Did you update your drm-modules? There are 3 packages to do this:

1) drm-radeon-module-git-r6xx-r7xx-3d (no support for KMS).
2) kernel26-git
3) kernel26-drm-next + radeon-firmware

Offline

#119 2009-10-16 18:30:46

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

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

I have installed kernel26-drm-next and radeon-firmware wink
It's a fresh install of archlinux.

Last edited by yimm (2009-10-16 18:31:19)

Offline

#120 2009-10-17 05:57:38

venky80
Member
Registered: 2007-05-13
Posts: 1,002

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

@perry3d does agd5f's repo have all the got packages regularly updated?


Acer Aspire V5-573P Antergos KDE

Offline

#121 2009-10-17 10:00:30

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

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

yimm wrote:

I have installed kernel26-drm-next and radeon-firmware wink
It's a fresh install of archlinux.

Whats the output of modprobe -l drm and modprobe -l radeon?
Did you restart after installing the drm-modules? Try to recompile the libdrm and mesa stuff.

venky80 wrote:

@perry3d does agd5f's repo have all the got packages regularly updated?

You need to update the package yourself. Just recompile it with makepkg (or yaourt). Git will download the newest version for you.

Offline

#122 2009-10-17 16:50:09

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

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

Perry3D wrote:

Whats the output of modprobe -l drm and modprobe -l radeon?
Did you restart after installing the drm-modules? Try to recompile the libdrm and mesa stuff.

modprobe -l drm
kernel/drivers/gpu/drm/drm.ko
modprobe -l radeon
kernel/drivers/gpu/drm/radeon/radeon.ko

Ok, i try to recompile wink
Edit : same problem ...

Last edited by yimm (2009-10-17 18:03:08)

Offline

#123 2009-10-18 05:57:47

venky80
Member
Registered: 2007-05-13
Posts: 1,002

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

does anyone have issues with libgl-dri not being installed using yauort?


Acer Aspire V5-573P Antergos KDE

Offline

#124 2009-10-18 07:09:57

csslayer
Member
Registered: 2009-03-05
Posts: 85

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

dan.boff wrote:

hi!

for me the kernel26-drm-next package + mesa-full are working perfectly for getting kms on my ati 4850.
but kms always turns on after my other moduls get loaded. how do i get kms working as fast as possible in the boot process?

You can take a look at my comment of  the package radeon-firmware, I add a hook for mkinitcpio to do this, because no exists hook can do this well.

Offline

#125 2009-10-18 07:14:47

csslayer
Member
Registered: 2009-03-05
Posts: 85

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

yimm wrote:

Hi, i have installed :

[guillaume@yimm64 ~]$ yaourt -Q | grep git
==> Liste tous les paquetages installés
local/ati-dri-git 20091016-1
local/dri2proto-git 20091016-1
local/glproto-git 20091016-1
local/libdrm-git 20091016-1
local/libgl-git 20091016-1
local/mesa-git 20091016-1
local/xf86-video-ati-git 20091016-1

and kernel26-drm-next. and radeon-firmware (edit)

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.7-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
drm_kms_helper: Unknown symbol drm_add_modes_noedid
drm_kms_helper: Unknown symbol drm_get_encoder_name
drm_kms_helper: Unknown symbol drm_cvt_mode
drm_kms_helper: Unknown symbol drm_add_modes_noedid
drm_kms_helper: Unknown symbol drm_get_encoder_name
drm_kms_helper: Unknown symbol drm_cvt_mode

Any ideas? I found nothing on google.
Thanks

I think I have met the same problem as you. I just think the module places of kernel26-drm-next is not quite good, I change the drm.next directory to the root of the modules. Seems if module of the same name installed, which is used is choosed by the path?...

If you have the makepkg directory, you can just move pkg/lib/modules/2.6.31-ARCH/kernel/drivers/gpu/drm.next to
pkg/lib/modules/2.6.31-ARCH/updates/drm.next and use makepkg -Rf to repackage.

If not solved, you can try libdrm-git.

Offline

Board footer

Powered by FluxBB