2015-02-11 08:53:05

by lausgans

[permalink] [raw]
Subject: Video option for a big endian machine?

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?

Thanks much for any help!-


2015-02-11 09:15:32

by Ilia Mirkin

[permalink] [raw]
Subject: Re: Video option for a big endian machine?

On Wed, Feb 11, 2015 at 3:53 AM, <[email protected]> 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

2015-02-11 14:44:56

by Alex Deucher

[permalink] [raw]
Subject: Re: Video option for a big endian machine?

On Wed, Feb 11, 2015 at 3:53 AM, <[email protected]> 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.
>

The X1 and X3 are really old asics and the risc specific versions
tended to have special firmware for that platform that the open driver
does not handle properly. You might have better luck using a more
modern GPU (e.g., an R5xx or newer based asic) with an x86 vbios.


Alex

> 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?
>
> Thanks much for any help!
> _______________________________________________
> [email protected]: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s

2015-02-11 21:08:13

by Dave Airlie

[permalink] [raw]
Subject: Re: Video option for a big endian machine?

On 12 February 2015 at 00:44, Alex Deucher <[email protected]> wrote:
> On Wed, Feb 11, 2015 at 3:53 AM, <[email protected]> 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.
>>
>
> The X1 and X3 are really old asics and the risc specific versions
> tended to have special firmware for that platform that the open driver
> does not handle properly. You might have better luck using a more
> modern GPU (e.g., an R5xx or newer based asic) with an x86 vbios.

If memory serves PA-RISC had some restrictions on PCI BAR windows, it
wasn't just endianness problems.

Dave.

2015-02-25 18:26:14

by Alan Cox

[permalink] [raw]
Subject: Re: Video option for a big endian machine?

On Thu, 12 Feb 2015 07:08:10 +1000
Dave Airlie <[email protected]> wrote:

> On 12 February 2015 at 00:44, Alex Deucher <[email protected]> wrote:
> > On Wed, Feb 11, 2015 at 3:53 AM, <[email protected]> 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.
> >>
> >
> > The X1 and X3 are really old asics and the risc specific versions
> > tended to have special firmware for that platform that the open driver
> > does not handle properly. You might have better luck using a more
> > modern GPU (e.g., an R5xx or newer based asic) with an x86 vbios.
>
> If memory serves PA-RISC had some restrictions on PCI BAR windows, it
> wasn't just endianness problems.

PCI isn't really the root bus so it's a bit odd.

If you can live with 1024x768 then the ancient PCI Voodoo2 graphics cards
in 2D mode don't even report as video cards, have minimal setup
requirements and work on just about anything with a PCI bus. They are
also usually available in the "junk box under the table" at computer
shows.

3D is a bit trickier but the 2D acceleration is quite nice and can even
do alpha blending (as it was in part designed to work with the 3D).
Actually doing 3D is a different kettle of fish.

Alan