From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MZPtF-0004Cb-F6 for garchives@archives.gentoo.org; Fri, 07 Aug 2009 13:53:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1706E0364; Fri, 7 Aug 2009 13:53:47 +0000 (UTC) Received: from mail.askja.de (mail.askja.de [83.137.103.136]) by pigeon.gentoo.org (Postfix) with ESMTP id A0ADBE0364 for ; Fri, 7 Aug 2009 13:53:47 +0000 (UTC) Received: from static-87-79-89-40.netcologne.de ([87.79.89.40] helo=zone.wonkology.org) by mail.askja.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1MZPtC-0003xR-AR for gentoo-user@lists.gentoo.org; Fri, 07 Aug 2009 15:53:46 +0200 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by zone.wonkology.org with local; Fri, 07 Aug 2009 15:53:42 +0200 id 00011B93.4A7C31E6.00005FE6 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Question regarding VIDEO_CARDS and unrelated question regarding USE flags Date: Fri, 7 Aug 2009 15:53:39 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.28-tuxonice-r3_3; KDE/4.2.4; i686; ; ) References: <4A798691.7020309@coolmail.se> <200908070051.56329.wonko@wonkology.org> <4A7B8111.9080507@coolmail.se> In-Reply-To: <4A7B8111.9080507@coolmail.se> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908071553.40317.wonko@wonkology.org> X-Archives-Salt: 011d7f5c-96ad-4b79-8aaa-930c6036a03f X-Archives-Hash: 61f346ef09e3e0446aa011bc8a4a1dee pk writes: > Alex Schuster wrote: > > I have a Radeon HD 3200 and I am using ati-drivers-8.552-r2. Higher > > versions did not compile. My kernel is 2.6.28-tuxonice-r3, and with > > newer kernels I was not able to build any ati-drivers at all. That was > > a while ago. I tried ati-drivers-9.6 a month ago when that came out, > > and I don't remember what exactly happened, it compiled but it didn't > > work either. > > I'm also using ati-drivers-8.552-r2, but with gentoo-sources-2.6.25-r9 > (I usually skip one kernel release but .27 was initally riddled with > problems so I skipped it and, well, I will probably not upgrade until I > hear good news with regards to the open source drivers and the related > kernel changes - maybe .32?)... I really don't know anything about > tuxonice kernels, other than it's patches maintained out-of-tree with > support for suspend-to-disk. I know that there has been problems with > the suspend in the mainline but again I don't know if tuxonice is > affected. > > As an experiment, you could try a vanilla or gentoo-sources kernel with > the ati-drivers to see if that alleviates the problems you are having. I had tried vanilla-sources, with the same results. As expected, there should not be much of a difference. I am not using tuxonice suspend features, but I intend to do so in the future. > > fgl_glxgears sort of runs, with 135-170 FPS, but the graphics is > > distorted - see http://wonkology.org/~wonko/tmp/fgl_glxgears.png . > > Other OpenGL software > > Have you tried different settings in xorg.conf? No, I did not yet take the time to investigate this further. So many other problems :) > I have this in mine (only the - maybe - relevant stuff shown): > > ... > Section "Module" > Load "glx" > Load "extmod" > Load "dri" > Load "dbe" > Load "type1" > EndSection > > Section "dri" > Group 27 # video > Mode 0660 > EndSection > > Section "Device" > Identifier "Card0" > Driver "fglrx" > VendorName "ATI Technologies Inc" > BoardName "Unknown Board" > Option "mtrr" "off" > # === OpenGL specific profiles/settings === > Option "Capabilities" "0x00000000" > # === Video Overlay for the Xv extension === > Option "VideoOverlay" "on" > Option "OpenGLOverlay" "off" > Option "CenterMode" "off" > Option "PseudoColorVisuals" "off" > Option "Stereo" "off" > Option "StereoSyncEnable" "1" > Option "UseFastTLS" "0" > Option "BlockSignalsOnLock" "on" > Option "UseInternalAGPGART" "no" > Option "ForceGenericCPU" "no" > Screen 0 > > EndSection > ... > > Of course, my settings may be different from your needs. I added your stuff, that did not make much of a difference. I had an empty modules sections, but all of these modules are loaded by default. Except for type1, which does not exist. > > No idea where this comes from, maybe it's not even related to OpenGL, > > but ip_firegl_write looks like it might be. > > Well, I'm no expert but fglrx may be incompatible with tuxonice... I read there were at least some problems, but only related to hibernating, not using OpenGL. > > And Xorg.0.log shows these lines: > > (EE) AIGLX error: fglrx exports no extensions > > (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driDriverExtensions) > > (EE) AIGLX: reverting to software rendering > > As far as I can tell it seems like it's reverting to software rendering, > maybe for the AIGLX extension or maybe for all rendering... > > > Does that mean I do not have hardware opengl rendering? fglrxinfo > > shows: > > Try: > glxinfo | grep -i direct > > You should get: > "direct rendering: Yes" > ...if you have hardware opengl. I know this command from when I had a NVidia card, and I am missing the 'YES' in my output of fglrxinfo. But I do not have a 'NO' there either. CPU usage gets rather high, but not to 100 percent, as I would expect when it does all the rendering itself. But, where does glxinfo come from? I do not have it. I thought it's in the drivers package, like nvidia-drivers, and in case of ati-drivers it's called a little different. > I also found this: > http://bugs.gentoo.org/176441 > > It's for older ati-drivers but identical error message... Although the symbol being missed is a different one. > > I hope with the newer drivers (and perhaps a newer kernel) things will > > become better. I did not yet take the time to investigate this further. > > I've "heard" that newer kernels (>=2.6.29?) are not working with > ati-drivers. Not sure if this has been alleviated... I thought I read here that they do, but may give lots of warnings in syslog. I hope to have some free time this weekend, so I can try to the newer drivers. I really like to test the KDE4 desktop effects :) Wonko