You are not logged in.

#76 2009-09-22 17:12:42

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

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

Without KMS Quakelive is running fine big_smile. Compiz still has these artefacts.
Is somebody using kms and can give me a little status update? Last time i tested it, i got some crashes. And i need the lirc modules for the kernel26-kms hmm

/edit: is it possible to build the kms module for the kernel from the repo?

Last edited by Perry3D (2009-09-22 17:15:27)

Offline

#77 2009-09-22 19:08:40

Spy
Member
Registered: 2009-02-26
Posts: 78

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

Sorry for offtop, but must ask.

First of all I have VIA gfx chipset. My question is that is possible to use gallium3d (softpipe) ? Mesa software rasterizer will use gallium ?

Offline

#78 2009-09-23 00:49:59

xakh
Member
Registered: 2009-07-19
Posts: 56

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

I think my openGL is broken. Nothing that uses openGL works. What should I do to fix it?

Offline

#79 2009-09-23 07:42:36

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

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

xakh wrote:

I think my openGL is broken. Nothing that uses openGL works. What should I do to fix it?

Give us some outputs:
1) /var/log/Xorg.0.log
2) dmesg | tail (after an opengl application start)
3) output of the application.
4) Xorg.conf
5) with KMS-Kernel?

/edit: OK, after updating the packages i have the same problem: glxgears is running, but quakelive and nexuis quit immediately.
Revert your packages to the last working version.

Received signal 11, exiting...

Last edited by Perry3D (2009-09-23 15:07:12)

Offline

#80 2009-09-23 16:05:23

xakh
Member
Registered: 2009-07-19
Posts: 56

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

You're not getting the same problem. If I ever so much as open an openGL program, the whole screen lags, I can only move my mouse, and the only way to get anything working again is to hard restart. Also, I posted my log a page back already, and got no help. I don't have the KMS-Kernel thing yet, and I use HAL, so no xorg.conf exists for me. I'd love to give you an output, but I can't without force restarting, and then I can't figure out how to get the output afterwards.

Offline

#81 2009-09-23 17:21:37

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

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

Hmm..i can not find any relevant errors in your log.

Are you using a xorg.conf?
When did you update your packages the last time?

Offline

#82 2009-09-23 17:28:07

xakh
Member
Registered: 2009-07-19
Posts: 56

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

I updated my packages today, I'm not using a xorg.cong, I'm also using the git versions of mesa, glproto, dri2proto, ati-dri, and libgl. Also I have drm-radeon-module-git-r6xx-r7xx-3d. When I used the radeonhd driver, I got basic OpenGL support, for instance blender could run, certain screensavers worked okay, but anything more complex would cause the screen's colors to drasically change and get kind of weird, and I couldn't get a screen resolution above 1280x1024, which as I pointed out is not optimal for my monitor.

Offline

#83 2009-09-23 17:30:22

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

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

Are you also using libdrm-git and xf86-video-ati-git?

Offline

#84 2009-09-23 17:57:27

xakh
Member
Registered: 2009-07-19
Posts: 56

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

yes and yes.

Offline

#85 2009-09-23 23:35:13

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

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

First, I would like to thank you for this tutorial.
Second I have a question. I have a laptop with a HD4670 mobile in it and according to glxinfo my 3d accel is working but when ever I try to run glxgears it throws this error "drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info." but dmesg mentions nothing of any drm errors. Any suggestions would be useful. I am currently running a stock kernel with a recent git pull of all the packages listed in the origonal post.

Here is the output to 'dmesg | grep drm'.

 [drm] Initialized drm 1.1.0 20060810
pci 0000:01:00.0: setting latency timer to 64
[drm] Initialized radeon 1.31.0 20080528 for 0000:01:00.0
 on minor 0
[drm] Setting GART location based on new memory map
[drm] Loading RV730/RV740 PFP Microcode
[drm] Loading RV730/RV740 CP Microcode
[drm] Resetting GPU
[drm] writeback test succeeded in 1 usecs

Offline

#86 2009-09-24 08:22:45

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

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

@JonimusPrime: You can check if the right kernel modules are used with modprobe -l radeon and modprobe -l drm.
Did you look at your Xorg.0.log?
/edit: Oh, i am getting the same error when i start xbmc. Latest working packages for me are from the 20090922.

@xakh: The only difference to my system here is that i am using a split package for mesa, libgl and ati-dri (its faster to update them at once).
You can try this: http://www.file-upload.net/download-190 … ar.gz.html

Last edited by Perry3D (2009-09-24 08:47:54)

Offline

#87 2009-09-24 17:08:06

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

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

Perry3D, Thanks that fixed it now my laptop gets 2009FPS in glxgears! WOOT! Now all i need to do is build a custom kernel useing the kms-next branch and I'll be set.

Offline

#88 2009-09-25 19:12:16

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

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

After todays update my games (Quake Live and Nexuiz) run fine again.

If you still have problems: There is a little failure in the libdrm-git package: The source is not copied to a build folder. Maybe the package is broken if you just update it. Try deleting the src-folder and build it again.

Offline

#89 2009-09-27 16:22:52

pbnan
Member
From: Poland
Registered: 2009-09-27
Posts: 11

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

Hi

few days ago I recompiled all packages mentioned by Perry3D in first post. Now I discovered strange error in Xorg log. Google knows nothing about it.

I have to say that everything worked fine about one month ago (?).

Here's piece of Xorg.0.log (showed only warning/error lines):

(WW) The directory "/usr/share/fonts/PEX" does not exist.
(...)
(WW) The directory "/usr/share/fonts/defoma/TrueType" does not exist.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0x00ef00e0 is: 0x00ef00e0
(WW) RADEON(0):   MC_AGP_LOCATION was: 0x003f0000 is: 0x00030000
(WW) RADEON(0): Option "XAANoOffscreenPixmaps" is not used
(EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/r600_dri.so failed (/usr/lib/xorg/modules/dri/r600_dri.so: undefined symbol: _swrast_CopyConvolutionFilter2D)
(EE) AIGLX: reverting to software rendering
(EE) config/hal: NewInputDeviceRequest failed (8)
(...)
(EE) config/hal: NewInputDeviceRequest failed (8)

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:

I don't want to compile new kernel with KMS (yet smile ).

Can anyone help me?
Thanks in advance. smile

Last edited by pbnan (2009-09-27 16:23:21)

Offline

#90 2009-09-29 15:55:38

blabub
Member
Registered: 2009-09-29
Posts: 4

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

Can someone please upload the libGL.so.1*? (Todays build, 32-bit)
I can not compile it cause of amd64 system.

Thanks a lot!


btw:

name of display: :0.0                                                                                                                                                                                                                       
display: :0  screen: 0                                                                                                                                                                                                                       
direct rendering: Yes                                                                                                                                                                                                                       
server glx vendor string: SGI                                                                                                                                                                                                               
server glx version string: 1.2                                                                                                                                                                                                               
server glx extensions:

"SGI" can this be right?

Last edited by blabub (2009-09-29 16:10:38)

Offline

#91 2009-09-29 16:44:33

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

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

With 2.6.32 RC1 kernel released and mesa 7.6 (or is it mesa 7.7 needed for this?) is it possible to just install the new kernel and the ati-git driver (once mesa 7.6 is in the repos) and have working 3D/KMS? Also is there any packages or PKGBUILD's for the new kernel? Only one I can find is the git kernel in AUR

Offline

#92 2009-09-30 20:52:15

blabub
Member
Registered: 2009-09-29
Posts: 4

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

It seems to work now.
But one problem is there, when I try to restart the X server I can't start.
Have no Log Files atm here, will post it later.


Have someone the same problem?

Offline

#93 2009-10-01 08:31:17

sirn
Member
Registered: 2009-06-23
Posts: 7

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

agd5f's git repo seems to have been deleted. I've heard that they already pull the 3D support into 2.6.32 kernel, is it true?

Last edited by sirn (2009-10-01 08:37:04)

Offline

#94 2009-10-01 14:14:10

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

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

Yes, that is true.
It is possible to merge the new drm branch in the 2.6.31 kernel? Anybody tried it?

Offline

#95 2009-10-01 14:40:01

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

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

if we compile from git , then can we cut down on the number of packages to install?
Did someone make a repo yet, did i miss it?


Acer Aspire V5-573P Antergos KDE

Offline

#96 2009-10-01 15:43:54

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

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

Hmm it seems the latest builds of a few of the packages has actually caused a decrease in preformance, I was getting ~2000FPS and now I'm only getting ~1480FPS.

Hopefully, we can figure out a way to compile the radeon module against 2.6.31 so that we don't have to deal with using 2.6.32 wjile its still unstable.

Last edited by JonimusPrime (2009-10-01 15:47:59)

Offline

#97 2009-10-01 18:40:51

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

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

If I am going to compile kernel26-kms from AUR then do I need drm-* package? I am compiling with option:
  CONFIG_DRM_RADEON_KMS=y
Did anybody tried it before? My problem is that I cannot install drm-* properly so I am getting 300FPS and software rendering.

Offline

#98 2009-10-01 19:54:03

xakh
Member
Registered: 2009-07-19
Posts: 56

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

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?

Offline

#99 2009-10-02 21:21:58

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

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

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.

Offline

#100 2009-10-03 00:34:38

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

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

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.

Offline

Board footer

Powered by FluxBB