Re: [gentoo-dev] X11 on Lemote Fulong (Loongson 2E) -- 'lm2e' local USE flag RFC

2008-08-02 Thread Stuart Longland
Donnie Berkholz wrote:
 On 13:23 Thu 31 Jul , Stuart Longland wrote:
  An alternative however, I'd like to propose is the addition of a 'lm2e'
 local USE flag to the affected ebuilds

 Stuart,
 I'm glad to hear you've made progress on this and gotten things working!
 
 As soon as you get this code upstream, I will be happy to add these 
 patches. I'm not interested in adding patches that aren't upstream yet 
 to any X packages.

No worries, is there any specific channel ideal for doing this?  The
patches have been kicking around in overlays for a while, it's just
recently that I've decided to do anything about them.

Ultimately going upstream with them was an option I was considering once
I knew they wouldn't break other MIPS systems.  At this stage, I haven't
tried.

 I looked at the xf86-video-ati patch in the loongson overlay and it's 
 huge. It's clearly GPL-licensed, presumably from the GATOS project, and 
 that makes it unacceptable for upstream. I'm presuming it is straight 
 from the GATOS folks and thus is just adding TV-out.

IIRC it works without that patch, but I may have included it to try and
get hardware OpenGL going. (it *almost* works... Quake II runs for 5
seconds before the video card dies.  During this time, frame rates are
good.)

 The libdrm and xorg-server patches look more reasonable and shouldn't be 
 terribly problematic to get upstream.

The critical one is xorg-server for general usage.  I'll have to see if
there's a newer patch available.

Regards,
-- 
Stuart Longland (aka Redhatter)  .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer  '.'` :
. . . . . . . . . . . . . . . . . . . . . .   .'.'
http://dev.gentoo.org/~redhatter :.'

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] X11 on Lemote Fulong (Loongson 2E) -- 'lm2e' local USE flag RFC

2008-08-02 Thread Donnie Berkholz
On 16:43 Sat 02 Aug , Stuart Longland wrote:
 Donnie Berkholz wrote:
  On 13:23 Thu 31 Jul , Stuart Longland wrote:
 An alternative however, I'd like to propose is the addition of a 'lm2e'
  local USE flag to the affected ebuilds
 
  Stuart,
  I'm glad to hear you've made progress on this and gotten things working!
  
  As soon as you get this code upstream, I will be happy to add these 
  patches. I'm not interested in adding patches that aren't upstream yet 
  to any X packages.
 
 No worries, is there any specific channel ideal for doing this?  The
 patches have been kicking around in overlays for a while, it's just
 recently that I've decided to do anything about them.

Yep! bugs.freedesktop.org, in the appropriate products/components. The 
product will probably be either xorg, mesa or DRI, depending on the 
patch.

-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com


pgpLtlzyhJUZQ.pgp
Description: PGP signature


[gentoo-dev] X11 on Lemote Fulong (Loongson 2E) -- 'lm2e' local USE flag RFC

2008-07-30 Thread Stuart Longland
Hi All,
I've been rather quiet lately, largely due to university activities
absorbing about 98% of my time, and other projects absorbing much of the
remaining 2%.  But nonetheless, I'm still plodding along with testing,
and still intending to stick around despite the departures around me.

As people would know, Lemote were kind enough to donate two of their
Fulong desktop computers to enable support of Gentoo on their platform.
 I'm pleased to announce that Gentoo works out-of-the-box for a
console-only system, and only needs a few small patches for X to work
(provided in overlays [1] and [2]).

My intention was to test these patches on SGI systems to check they
didn't break compatibility there before merging them into the main tree,
however time has beaten me and I haven't had the opportunity.  With this
being my final semester at university, and work experience two days a
week, I don't expect this situation to improve.

An alternative however, I'd like to propose is the addition of a 'lm2e'
local USE flag to the affected ebuilds, which are:

x11-base/xorg-server
x11-drivers/xf86-video-ati
x11-libs/libdrm

It'll be unmasked in the Cobalt profiles (which the Loongson platform
shares), and can simply be added to the USE variable on these systems.
It won't affect Cobalt as I believe running an X server on those systems
would be a pointless exercise.

If there aren't any complaints, I'll look into getting this done
possibly next weekend.  At the moment, zhenghe (one of the boxes here)
has been reformatted, I'm setting up Gentoo 2008.0 on it, so I'll be
testing everything as I go.
-- 
Stuart Longland (aka Redhatter)  .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer  '.'` :
. . . . . . . . . . . . . . . . . . . . . .   .'.'
http://dev.gentoo.org/~redhatter :.'

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

Footnotes:
1. My personal overlay at git://git.longlandclan.yi.org/overlay.git --
browseable at http://git.longlandclan.yi.org/?p=overlay.git;a=summary
2. Gentoo CN overlay at http://www.gentoo-cn.org/gitweb/?p=loongson



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] X11 on Lemote Fulong (Loongson 2E) -- 'lm2e' local USE flag RFC

2008-07-30 Thread Donnie Berkholz
On 13:23 Thu 31 Jul , Stuart Longland wrote:
   An alternative however, I'd like to propose is the addition of a 'lm2e'
 local USE flag to the affected ebuilds, which are:
 
   x11-base/xorg-server
   x11-drivers/xf86-video-ati
   x11-libs/libdrm
 
   It'll be unmasked in the Cobalt profiles (which the Loongson platform
 shares), and can simply be added to the USE variable on these systems.
 It won't affect Cobalt as I believe running an X server on those systems
 would be a pointless exercise.

   If there aren't any complaints, I'll look into getting this done
 possibly next weekend.  At the moment, zhenghe (one of the boxes here)
 has been reformatted, I'm setting up Gentoo 2008.0 on it, so I'll be
 testing everything as I go.

Stuart,
I'm glad to hear you've made progress on this and gotten things working!

As soon as you get this code upstream, I will be happy to add these 
patches. I'm not interested in adding patches that aren't upstream yet 
to any X packages.

I looked at the xf86-video-ati patch in the loongson overlay and it's 
huge. It's clearly GPL-licensed, presumably from the GATOS project, and 
that makes it unacceptable for upstream. I'm presuming it is straight 
from the GATOS folks and thus is just adding TV-out.

The libdrm and xorg-server patches look more reasonable and shouldn't be 
terribly problematic to get upstream.

-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com


pgpEvkeHFfaXG.pgp
Description: PGP signature