public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] X11 on Lemote Fulong (Loongson 2E) -- 'lm2e' local USE flag RFC
@ 2008-07-31  3:23 Stuart Longland
  2008-07-31  3:50 ` Donnie Berkholz
  0 siblings, 1 reply; 4+ messages in thread
From: Stuart Longland @ 2008-07-31  3:23 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2158 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

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

* Re: [gentoo-dev] X11 on Lemote Fulong (Loongson 2E) -- 'lm2e' local USE flag RFC
  2008-07-31  3:23 [gentoo-dev] X11 on Lemote Fulong (Loongson 2E) -- 'lm2e' local USE flag RFC Stuart Longland
@ 2008-07-31  3:50 ` Donnie Berkholz
  2008-08-02  6:43   ` Stuart Longland
  0 siblings, 1 reply; 4+ messages in thread
From: Donnie Berkholz @ 2008-07-31  3:50 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1517 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [gentoo-dev] X11 on Lemote Fulong (Loongson 2E) -- 'lm2e' local USE flag RFC
  2008-07-31  3:50 ` Donnie Berkholz
@ 2008-08-02  6:43   ` Stuart Longland
  2008-08-03  0:03     ` Donnie Berkholz
  0 siblings, 1 reply; 4+ messages in thread
From: Stuart Longland @ 2008-08-02  6:43 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1846 bytes --]

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.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

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

* Re: [gentoo-dev] X11 on Lemote Fulong (Loongson 2E) -- 'lm2e' local USE flag RFC
  2008-08-02  6:43   ` Stuart Longland
@ 2008-08-03  0:03     ` Donnie Berkholz
  0 siblings, 0 replies; 4+ messages in thread
From: Donnie Berkholz @ 2008-08-03  0:03 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2008-08-03  0:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31  3:23 [gentoo-dev] X11 on Lemote Fulong (Loongson 2E) -- 'lm2e' local USE flag RFC Stuart Longland
2008-07-31  3:50 ` Donnie Berkholz
2008-08-02  6:43   ` Stuart Longland
2008-08-03  0:03     ` Donnie Berkholz

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