Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How I got x.org up and running
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Hydraulix
Guru
Guru


Joined: 12 Dec 2003
Posts: 447

PostPosted: Tue Apr 20, 2004 10:40 am    Post subject: Reply with quote

Has anyone gotten this to work on the PPC platform? I can't wait to get rid of Xfree and try something new. :D
_________________
It is the fate of operating systems to become free.
- Neal Stephenson
Back to top
View user's profile Send private message
Red Sparrow
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2004
Posts: 128
Location: Greeley, CO

PostPosted: Thu Apr 22, 2004 1:24 am    Post subject: Reply with quote

If you check my posts on the second page of this thread, you can read a little bit about how I got it working on PPC. There's also at least one other person on the forums who got it working on PPC.

(- Steve -)
Back to top
View user's profile Send private message
Lejban
n00b
n00b


Joined: 12 Dec 2003
Posts: 53
Location: Sweden

PostPosted: Thu Apr 22, 2004 7:59 pm    Post subject: Reply with quote

MooktaKiNG wrote:
One very important thing that people need to do is add "x11-base/xorg-x11 ~x86" to /etc/portage/package.keywords (create the folder if its doesn't exist).

Now when you do emerge -uU world, portage won't try to install xfree.

Thats the problem i had for days.
This solved it.


I understand why this above is nescesary, but after adding that I get this:
This is what I get now:

Code:
root@ex portage # emerge -pvUD world
>>> --upgradeonly implies --update... adding --update to options.

These are the packages that I would merge, in order:

Calculating world dependencies -
!!! all ebuilds that could satisfy "x11-terms/xterm" have been masked.
!!! possible candidates are:
- x11-terms/xterm-184 (masked by: ~keyword)
- x11-terms/xterm-179 (masked by: ~keyword)

!!! Problem with ebuild media-sound/xmms-1.2.10-r1
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.


Now what?

Edit: emerge -pvU world works fine.
_________________
http://www.lejban.se|http://www.koad.se


Last edited by Lejban on Thu Apr 22, 2004 10:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
KenTI
n00b
n00b


Joined: 28 Jan 2004
Posts: 53
Location: Italy

PostPosted: Thu Apr 22, 2004 8:57 pm    Post subject: Reply with quote

got it working perfectly on a athlon xp 2000 desktop and a p4 2000 notebook, just emerge -C xfree and ACCEPT_KEYWORDS="~x86" emerge xorg-x11, and then changed fonts.conf anf the font infos in xorg.conf

i notice no great difference on the notebook (i've got an ATI radeon but not yet using the ati-drivers) but on the athlon, with a nvidia card using just the nv driver (still got problems to get the nvidia module working on the 2.6.6-mm6 kernel..) it looks more smooth and faster

and about the backup, i used partimage to create a backup of my whole root partition before starting the upgrade

by the way i didn't expect to work so good at the first trial on both computers :D
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Thu Apr 22, 2004 9:45 pm    Post subject: Reply with quote

Lejban wrote:
I understand why this above is nescesary, but after adding that I get this:
This is what I get now:

Code:
root@ex portage # emerge -pvUD world
>>> --upgradeonly implies --update... adding --update to options.

These are the packages that I would merge, in order:

Calculating world dependencies -
!!! all ebuilds that could satisfy "x11-terms/xterm" have been masked.
!!! possible candidates are:
- x11-terms/xterm-184 (masked by: ~keyword)
- x11-terms/xterm-179 (masked by: ~keyword)

!!! Problem with ebuild media-sound/xmms-1.2.10-r1
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.


Now what?

Edit: emerge -pvU world works fine.


Yeh i get that error too. But i can't figure out why though. However, at least its not trying to emerge xfree every time i do an upgrade ;)


:D:D:D, if anyone knows how to fix this let me know.
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
vonhelmet
l33t
l33t


Joined: 06 Apr 2004
Posts: 770
Location: Somewhere in a school

PostPosted: Fri Apr 23, 2004 5:15 pm    Post subject: Reply with quote

W00tar!

Another pretty painless conversion.

I rebooted to get everything working right. I'm sure I could have done it without the reboot, but I was feeling lazy.
Back to top
View user's profile Send private message
Clansman
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 140

PostPosted: Sat Apr 24, 2004 1:17 am    Post subject: Reply with quote

i tried it today.

first on my work machine, and a few hours later at home. i was amazed at how well it worked! i though of CVS-hell and weeks of compilation... but no. just plain and simple

/etc/init.d/xdm stop
emerge unmerge xfree
emerge xorg-x11
etc-update
/etc/init.d/xdm start

[i missed a couple of lines... ati-drivers was reemerged and opengl-update ati was made, not forgetting the xfree inject technique (which should not be necessary)...]

but that's not the best... KDE takes about 1 fourth of the time it took to load than it took with xfree!!!! any ideas why?

it took around 4-5 seconds to load; now, with xorg, in about a second it is up and running! WHOAAAA!!!

i had differences in the font-renderings but nothing serious... just a bit ... different.

[]
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Sat Apr 24, 2004 3:18 am    Post subject: reasoning? Reply with quote

Is there any real reason one should rush to switch to xorg? With the random assorted problems I was wondering if it was really a wise decision for the majority of users.
Back to top
View user's profile Send private message
NeighborhoodGullwings
Apprentice
Apprentice


Joined: 05 Dec 2003
Posts: 159

PostPosted: Sat Apr 24, 2004 5:07 am    Post subject: Re: reasoning? Reply with quote

GenKreton wrote:
Is there any real reason one should rush to switch to xorg? With the random assorted problems I was wondering if it was really a wise decision for the majority of users.
Only if you want to try something "new". And unless something drastic happens, this will become the new "default" x-server (if it isn't already declared as such).
Back to top
View user's profile Send private message
Trellph
n00b
n00b


Joined: 26 Mar 2003
Posts: 19
Location: Houston

PostPosted: Sat Apr 24, 2004 4:24 pm    Post subject: Reply with quote

If you have problems with libbitmap.a and/or libpcidata.a you need to do

Code:

hardened-gcc -r

and recompile it.
Back to top
View user's profile Send private message
Noth
n00b
n00b


Joined: 08 Jan 2003
Posts: 74
Location: Finland/Arizona/NewJersey

PostPosted: Sun Apr 25, 2004 7:21 pm    Post subject: Reply with quote

Trellph wrote:
If you have problems with libbitmap.a and/or libpcidata.a you need to do

Code:

hardened-gcc -r

and recompile it.


If you have that wrapper.
Hardened-gcc has been depreciated. USE flags are the new standerd. Try USE="-hardened -propolice -pic -pie" AND then put -fstack-protector in your cflags for hardened-gcc -a, and removing them for hardened-gcc -r.
_________________
!!!teG I sdrawkcaB eroM ehT oG I sdrawroF eroM ehT
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Sun Apr 25, 2004 8:21 pm    Post subject: Reply with quote

The fact that X had a licence change and is now excluded by many distros including Gentoo and that there was no real convincing alternative really disheartened me. I am now seriously considering switching entirely to MacOSX. So far I am extremely pleased with what I see. Look here for further information. Apparently, both gentoo portage and XFree run on MacOSX. Without a powerful and versatile X environment Linux is limited to the server domain.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
Clansman
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 140

PostPosted: Sun Apr 25, 2004 8:38 pm    Post subject: Reply with quote

Narada wrote:
The fact that X had a licence change and is now excluded by many distros including Gentoo and that there was no real convincing alternative really disheartened me. I am now seriously considering switching entirely to MacOSX. So far I am extremely pleased with what I see. Look here for further information. Apparently, both gentoo portage and XFree run on MacOSX. Without a powerful and versatile X environment Linux is limited to the server domain.


let me disagree:

1. xorg is a convincing alternative. actually, xorg is not very different from xfree. the current xorg is a branch of the latest xfree code with the older licence, plus some extensive bug-fixing and a couple of new features. so, for now xorg is almost the same as xfree
2. i will not discuss your opinion or your decision to switch over to macosx
3. linux will not be "without a powerful and versatile X environment". if distributions remove xfree, xorg will replace. the future is very bright for xorg, as there are substantial optimizations in the code and some very relevant new features.

don't be dissapointed with the recent news. i think that in time, this is a big step in a better direction, while not breaking usability through app's incompatibilities.

[]
Back to top
View user's profile Send private message
fernandotcl
Veteran
Veteran


Joined: 20 Nov 2003
Posts: 1396
Location: Sao Paulo, Brazil

PostPosted: Mon Apr 26, 2004 2:28 am    Post subject: Reply with quote

Isn't there a way to set X.org in the virtuals file instead of having to inject XFree?
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Mon Apr 26, 2004 3:00 am    Post subject: Reply with quote

yeah i had to go through and manaully change my virtual file, but it only works if the depend is virtual/x11 and not x11-base/xfree,

If it is x11-base/xfree then you have to either inject xfree or edit the ebuild, I just do that later of the two and edit the ebuild.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Hydraulix
Guru
Guru


Joined: 12 Dec 2003
Posts: 447

PostPosted: Mon Apr 26, 2004 4:37 am    Post subject: Reply with quote

Jigglypuff wrote:
If you check my posts on the second page of this thread, you can read a little bit about how I got it working on PPC. There's also at least one other person on the forums who got it working on PPC.

(- Steve -)



Thanks. I have x.org installed. But I'm having some trouble with the config.



Does anyone have a iBook dual USB config I can check out?
_________________
It is the fate of operating systems to become free.
- Neal Stephenson
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Mon Apr 26, 2004 5:29 am    Post subject: Re: radeon mobility patch Reply with quote

patroclo7 wrote:
I have a radeon mobility IGP 320 (U1). With xfree, I had dri functioning only patching a xfree 4.3.99.16... I read that many xfree long-term patches have been included in xorg. Does someone know if mine has been included too? As an alternative, do you know if there is a corresponding patch for xorg?
I'd like to switch, but enabling dri in xfree was such a nightmare that I do not want to risk to go back :-)

Not included.
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Mon Apr 26, 2004 5:30 am    Post subject: Reply with quote

El_Presidente_Pufferfish wrote:
Does anybody else see the really ugly checkerboard background before your standard wallpaper/kdm starts?
i looked in the patch to fix it for xfree, and the change is already there(defaultserverargs="-br"), so i don't know how to get rid of it

The change is only there for startx. You'll need to edit the line your *dm calls X with to add -br, in the dm config file.
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Mon Apr 26, 2004 5:31 am    Post subject: Reply with quote

aroben wrote:
Here's the deal with the xfree dependency (at least this is how I understand it):

x11-base/xorg-x11 wants to emerge x11-terms/xterm
x11-terms/xterm depends on virtual/x11 (basically, there needs to be some kind of X server installed for xterm to build)
x11-base/xfree is what fulfills this virtual/x11 dependency for most people (other things like x11-base/kdrive would also work)

When you emerge -C xfree, this line is removed from /var/cache/edb/virtuals:
Code:
virtual/x11 x11-base/xfree

So now the virtual/x11 dependency reverts to the default (which happens to be x11-base/xfree). This is why you see xfree listed when you do emerge -p.

To get around it, add this line to /var/cache/edb/virtuals:
Code:
virtual/x11 x11-base/xorg-x11

This will make xterm use xorg-x11 as it's dependency instead of xfree.

I think this is a bug in portage, because the xorg-x11 ebuild specifies that it provides a virtual/x11 equivalent, but portage doesn't realize this when calculating xterm's dependencies (even though it will be emerged after xorg-x11). Does anyone know if this is a legitimate bug?

-Adam

Yes it's a bug, yes a patch exists, no it's not committed yet.

Try http://dev.gentoo.org/~jstubbs/patches/2.0.50-r6-empty-fakedb.patch

It allows to-be-merged packages to fulfill dependencies, but it doesn't work on virtuals. This means xterm should work, but ttf-bitstream-vera may need to be edited since it calls the virtual.
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Mon Apr 26, 2004 5:32 am    Post subject: Reply with quote

jmusits wrote:
I'm not so sure about that, as both ebuilds for xterm are masked right now. Unless xterm is part of the xfree package and not included in the xorg-x11 package, then it would make sense to me that xterm needs to be emerged.

Jason

Correct. It is part of xfree and we broke it out for xorg-x11.
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Mon Apr 26, 2004 5:42 am    Post subject: Re: How I got x.org up and running Reply with quote

tcs wrote:
<UPDATED>
corrected /etc/X11/XF86Config and /etc/X11/xorg.conf, ikshaar mentioned this, thx :)
==================================================
<UPDATED>
man, gentoo is too fast for me... :wink:
whole howto is not necessary anymore, you only need to unmerge xfree, emerge xorg, edit your configs and that's it :D

Actually, all the config files should auto-update now.
My preferred way is:

Back up xfree install
Code:
quickpkg xfree

Build a binary package of xorg
Code:
emerge --buildpkg --nodeps xorg-x11

Get rid of xfree
Code:
emerge unmerge xfree

Install xorg
Code:
emerge --usepkg xorg-x11

Update your config files
Code:
etc-update

If you used xfree's OpenGL instead of ati-drivers or nvidia-glx,
Code:
opengl-update xorg-x11


Check out https://forums.gentoo.org/viewtopic.php?t=163188 for a little more info.
Back to top
View user's profile Send private message
mwab
n00b
n00b


Joined: 29 Apr 2004
Posts: 3

PostPosted: Thu Apr 29, 2004 5:38 am    Post subject: Reply with quote

I've emerged it and messed around with it a bit, but I can't get xfs to start. It returns the following message:
Code:
start-stop-daemon: stat /usr/X11R6/bin/xfs: No such file or directory  [!!]

Obviously, xfs is not located there, but how do I change these settings? Please note that I am new to gentoo and have never run X on this system.
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Thu Apr 29, 2004 10:45 am    Post subject: Reply with quote

you don't (or can't?) use xfs with xorg-x11 it has it simulates it or something like that ... not sure on the details, just know it is not needed.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Erythro73
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2004
Posts: 78
Location: Saint-Jean-sur-Richelieu, Québec

PostPosted: Thu Apr 29, 2004 11:48 pm    Post subject: Reply with quote

Which is the fastest... xorg or XFree? Whick is eating less memory?
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Thu Apr 29, 2004 11:56 pm    Post subject: Reply with quote

xorg is faster here.

and hopefully the ssh fix will be done soon, if it's not been fixed allready
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum