You are not logged in.
Without KMS Quakelive is running fine . 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
/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
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
I think my openGL is broken. Nothing that uses openGL works. What should I do to fix it?
Offline
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
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
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
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
Are you also using libdrm-git and xf86-video-ati-git?
Offline
yes and yes.
Offline
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
@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
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
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
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 ).
Can anyone help me?
Thanks in advance.
Last edited by pbnan (2009-09-27 16:23:21)
Offline
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
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
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
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
Yes, that is true.
It is possible to merge the new drm branch in the 2.6.31 kernel? Anybody tried it?
Offline
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
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
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
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
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
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