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 1MZBoY-0006OI-JE for garchives@archives.gentoo.org; Thu, 06 Aug 2009 22:52:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30A85E06A1; Thu, 6 Aug 2009 22:52:01 +0000 (UTC) Received: from mail.askja.de (mail.askja.de [83.137.103.136]) by pigeon.gentoo.org (Postfix) with ESMTP id E463BE06A1 for ; Thu, 6 Aug 2009 22:52:00 +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 1MZBoW-000705-CH for gentoo-user@lists.gentoo.org; Fri, 07 Aug 2009 00:52:00 +0200 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by zone.wonkology.org with local; Fri, 07 Aug 2009 00:51:58 +0200 id 00011B58.4A7B5E8E.000043BC 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 00:51:55 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.28-tuxonice-r3_3; KDE/4.2.4; i686; ; ) References: <4A798691.7020309@coolmail.se> <200908051551.27910.wonko@wonkology.org> <4A79AEFF.1010306@coolmail.se> In-Reply-To: <4A79AEFF.1010306@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-Disposition: inline X-Length: 8534 X-UID: 355 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200908070051.56329.wonko@wonkology.org> X-Archives-Salt: e8b4898a-3155-4bf2-b9f1-30129ce49c0e X-Archives-Hash: 33ab2fd97df0050b1154ba8d8a400cb4 pk writes: > Alex Schuster wrote: > > Oh, I just see that on my desktop machine xorg-server already got re- > > compiled without fglrx. I see no adverse effects yet, but then OpenGL > > never worked really well here. > > As I understand it the VIDEO_CARDS parameters (fglrx, radeon, etc.) only > controls what drivers should be pulled in when building xorg. So it > should not matter much; I'm just curious as to why it's removed from the > flags when for instance nvidia is still there... > > Out of curiousity, what doesn't work for you with regards to OpenGL? For > me almost all fglrx drivers have worked flawlessly for years. I'm hoping > to migrate to the open source radeon driver as soon as it's stable with > my current chip (rv670 - radeon 3870). 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. 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 seems to work without artifacts, though, at least Quake3 and some screen savers. But when playing around with things like Quake3, I get X crashes sometimes, and am able to switch to another virtual terminal only after pressing Alt-SysRq-R. And only for one time, if I try that application again and get another crash, even the SysRq trick does not help and I have to reboot. Then there is stuff like this in dmesg: BUG: using smp_processor_id() in preemptible [00000000] code: X/13807 caller is KAS_GetExecutionLevel+0xb/0xb7 [fglrx] Pid: 13807, comm: X Tainted: P 2.6.28-tuxonice-r3_3 #19 Call Trace: [] debug_smp_processor_id+0xa0/0xb4 [] KAS_GetExecutionLevel+0xb/0xb7 [fglrx] [] MCIL_GetExecutionLevel+0x47/0x90 [fglrx] [] RegisterIRQClient+0x5f/0x1a0 [fglrx] [] ReInitializeHotPlugCallback+0x0/0x30 [fglrx] [] IRQMGR_IRQSourceSupported+0x6c/0x80 [fglrx] [] ValidateIRQMgrAccess+0x31/0x200 [fglrx] [] IRQMGR_Access+0xd0/0x160 [fglrx] [] fireglAsyncioUnregisterIntMsgHandlers+0x460/0x4f0 [fglrx] [] IRQMGR_IRQSourceSupported+0x6c/0x80 [fglrx] [] fireglAsyncioUnregisterIntMsgHandlers+0x195/0x4f0 [fglrx] [] fireglAsyncioUnregisterIntMsgHandlers+0x460/0x4f0 [fglrx] [] asyncIONotifyMsg+0x339/0x3c0 [fglrx] [] _spin_unlock_irqrestore+0xe/0x21 [] asyncioSvcRecvFn+0xd1/0x1c0 [fglrx] [] asyncIONotifyMsg+0x244/0x3c0 [fglrx] [] firegl_asyncio_write+0x1ad/0x290 [fglrx] [] vfs_ioctl+0x50/0x5f [] ip_firegl_write+0x2b/0x4f [fglrx] [] ip_firegl_write+0x0/0x4f [fglrx] [] vfs_write+0x84/0x121 [] sys_write+0x3c/0x63 [] sysenter_do_call+0x12/0x21 No idea where this comes from, maybe it's not even related to OpenGL, but ip_firegl_write looks like it might be. 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 Does that mean I do not have hardware opengl rendering? fglrxinfo shows: display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI Radeon HD 3200 Graphics OpenGL version string: 2.1.8201 Release At least no error message. 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. KDE desktop effects do not work, at least not with OpenGL. I just tried with XRender - most effects did not work at all or were slow, and one made the system hang - I am glad kmail had saved this mail I am typing, so I do not have to write it all again now. Wonko