Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752240AbbBKJPc (ORCPT ); Wed, 11 Feb 2015 04:15:32 -0500 Received: from mail-ob0-f178.google.com ([209.85.214.178]:62786 "EHLO mail-ob0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751438AbbBKJP2 convert rfc822-to-8bit (ORCPT ); Wed, 11 Feb 2015 04:15:28 -0500 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 11 Feb 2015 04:15:27 -0500 X-Google-Sender-Auth: T2gEXQHDNL3sCAmDn57sd8CfjN4 Message-ID: Subject: Re: Video option for a big endian machine? From: Ilia Mirkin To: lausgans@gmail.com Cc: dri-users@lists.freedesktop.org, xorg@lists.x.org, "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2400 Lines: 39 On Wed, Feb 11, 2015 at 3:53 AM, wrote: > Hello. > > I'm looking for a PCI or AGP video card that would work on a Linux port for a big endian architecture (HP PA-RISC). Unfortunately the stock video options (ATI FireGL X1 and X3) give an incredibly slow unaccelerated 2D due to failure to kickstart the command processor (radeon open source driver). Neither folks from linux-parisc@ nor from dri-devel@ camps know how to fix this. > > Are there any other options that should get a good accelerated 2D or better 3D and theoretically should work on a subj (big endian byte order, looks like coherent memory and all I/O is going through IOMMU chip)? > > How about nouveau or anything else on non-x86 arch? What people are using on POWER machines for example? The current state of hardware-accelerated 2d/3d on big endian is a bit of a mess. With nouveau, you can generally get older cards to work (esp if you stick to 4K pages) -- by older I mean pre-G80 (nv50) cards. A user recently tried to get a semi-modern (fermi) nvidia card up and running, and ended up with messed up colors (the belief is that the LUTs are being messed up, but it could be any number of issues). I believe that ATI/AMD hardware, generally speaking, also works. IIRC PA-RISC has some extra-special issues beyond being BE though. You can get a used card for pretty cheap, you might give nouveau a try. Moving to 3d-land (i.e. mesa), hw drivers used to work before mesa 9.2 or 9.1 or so, but then some changes went in to fix llvmpipe (software 3d implementation, using LLVM as a JIT) on big endian platforms which cause byte-swapped textures in many cases on actual hw. Some additional work was done to fix this, but I'm not sure what the status is. I think the biggest reason for this is that nobody actually has access to BE CPU's anymore, especially not in conjunction with 16x PCIe slots -- they tend to be server-class machines with little attention paid to graphics. You just run VM's on them, and use llvmpipe to get that fancy 3d compositor to work. I don't think any of the issues are _that_ hard to fix, but very difficult to do so "blind". -ilia -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/