mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Video option for a big endian machine?
@ 2015-02-11  8:53 lausgans
  2015-02-11  9:15 ` Ilia Mirkin
  2015-02-11 14:44 ` Alex Deucher
  0 siblings, 2 replies; 5+ messages in thread
From: lausgans @ 2015-02-11  8:53 UTC (permalink / raw)
  To: dri-users, xorg, linux-kernel

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!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Video option for a big endian machine?
  2015-02-11  8:53 Video option for a big endian machine? lausgans
@ 2015-02-11  9:15 ` Ilia Mirkin
  2015-02-11 14:44 ` Alex Deucher
  1 sibling, 0 replies; 5+ messages in thread
From: Ilia Mirkin @ 2015-02-11  9:15 UTC (permalink / raw)
  To: lausgans; +Cc: dri-users, xorg, linux-kernel, dri-devel

On Wed, Feb 11, 2015 at 3:53 AM,  <lausgans@gmail.com> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Video option for a big endian machine?
  2015-02-11  8:53 Video option for a big endian machine? lausgans
  2015-02-11  9:15 ` Ilia Mirkin
@ 2015-02-11 14:44 ` Alex Deucher
  2015-02-11 21:08   ` Dave Airlie
  1 sibling, 1 reply; 5+ messages in thread
From: Alex Deucher @ 2015-02-11 14:44 UTC (permalink / raw)
  To: lausgans; +Cc: dri-users, xorg, LKML

On Wed, Feb 11, 2015 at 3:53 AM,  <lausgans@gmail.com> 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!
> _______________________________________________
> xorg@lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Video option for a big endian machine?
  2015-02-11 14:44 ` Alex Deucher
@ 2015-02-11 21:08   ` Dave Airlie
  2015-02-25 18:25     ` One Thousand Gnomes
  0 siblings, 1 reply; 5+ messages in thread
From: Dave Airlie @ 2015-02-11 21:08 UTC (permalink / raw)
  To: Alex Deucher; +Cc: lausgans, dri-users, xorg, LKML

On 12 February 2015 at 00:44, Alex Deucher <alexdeucher@gmail.com> wrote:
> On Wed, Feb 11, 2015 at 3:53 AM,  <lausgans@gmail.com> 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Video option for a big endian machine?
  2015-02-11 21:08   ` Dave Airlie
@ 2015-02-25 18:25     ` One Thousand Gnomes
  0 siblings, 0 replies; 5+ messages in thread
From: One Thousand Gnomes @ 2015-02-25 18:25 UTC (permalink / raw)
  To: Dave Airlie; +Cc: Alex Deucher, lausgans, dri-users, xorg, LKML

On Thu, 12 Feb 2015 07:08:10 +1000
Dave Airlie <airlied@gmail.com> wrote:

> On 12 February 2015 at 00:44, Alex Deucher <alexdeucher@gmail.com> wrote:
> > On Wed, Feb 11, 2015 at 3:53 AM,  <lausgans@gmail.com> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-25 18:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-11  8:53 Video option for a big endian machine? lausgans
2015-02-11  9:15 ` Ilia Mirkin
2015-02-11 14:44 ` Alex Deucher
2015-02-11 21:08   ` Dave Airlie
2015-02-25 18:25     ` One Thousand Gnomes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®