Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
anyone gotten xorg cvs (6.7.99 or 6.8) running in ppc?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Fri Sep 03, 2004 5:41 pm    Post subject: anyone gotten xorg cvs (6.7.99 or 6.8) running in ppc? Reply with quote

i was wondering if anyone had gotten this running on ppc?

after spending 5 hours downloading 6.7.99.903 (dialup :oops: ), it compiles for about 1 hour 50 minutes before dying.

this is on an 800 mhz g3 ibook, w/ 640 mb ram.

has anyone gotten it to compile? and if so, what archs/gcc/ anything else important.


i was eye candy :)

killfire
_________________
my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com
Back to top
View user's profile Send private message
Axl13
n00b
n00b


Joined: 01 Nov 2003
Posts: 28
Location: St. Petersberg, Russia

PostPosted: Tue Sep 07, 2004 6:12 am    Post subject: the same Reply with quote

I`m trying to emerge x11-xorg (6.7.0, 6.7.99.903,6.7.99.904), but all of them fault with the same error during the /usr/tmp/portage/xorg-x11-6.7.99.904/work/xc/programs/xcursorgen compilation.





Code:

making all in programs/xcursorgen/redglass...
make[1]: Entering directory `/usr/tmp/portage/xorg-x11-6.7.99.904/work/xc/programs/xcursorgen/redglass'
LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale  ../../../exports/bin/xcursorgen X_cursor.cfg X_cursor
make[1]: *** [X_cursor] Segmentation fault
make[1]: *** Deleting file `X_cursor'
make[1]: Leaving directory `/usr/tmp/portage/xorg-x11-6.7.99.904/work/xc/programs/xcursorgen/redglass'
make: *** [all] Error 2


my system is PB G3 Wallstreet:
Code:

apple xcursorgen # uname -a
Linux apple 2.6.5_rc2-benh1 #8 Tue Jun 1 18:15:56 EEST 2004 ppc 740/750 PowerBook GNU/Linux


my gcc:
Code:

apple xcursorgen # gcc -v
Reading specs from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/specs
Configured with: /usr/tmp/portage/gcc-3.4.1-r2/work/gcc-3.4.1/configure --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4/info --enable-shared --host=powerpc-unknown-linux-gnu --target=powerpc-unknown-linux-gnu --with-system-zlib --enable-languages=c,c++ --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/include/g++-v3 --with-local-prefix=/usr/local --disable-werror --enable-shared --enable-nls --without-included-gettext --disable-multilib --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)

[/code]
_________________
Alex Mishchenko
Back to top
View user's profile Send private message
amitofu
n00b
n00b


Joined: 16 Feb 2004
Posts: 30

PostPosted: Fri Sep 10, 2004 8:01 pm    Post subject: Reply with quote

I think the problem is gcc-3.4. There are posts all over this thread from people who had problems while using that compiler.

I personally have tried to get xorg-x11-6.8.0 to work on three different architectures using gcc-3.4: amd64, ppc, and x86. It compiles on all three but doesn't run on any of them. I tried to compile the new xorg on x86 with gcc-3.3 and it didn't even compile. I don't know what the deal is but I have given up for the time being. :(
Back to top
View user's profile Send private message
DiskBreaker
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 224

PostPosted: Sat Sep 11, 2004 9:47 pm    Post subject: Reply with quote

I had the same Segmentation fault during the compile of xcursorgen. I found the solution on the gentoo-ppc mailinglist:
You will need to reemerge libpng with -fno-strict-aliasing in your CFLAGS.
Code:
CFLAGS="-fno-strict-aliasing" emerge libpng

After that everything compiled fine for me and I am now running Xorg 6.8.0. So far it seems just as fast as 6.7 but I haven't activated the composite extension yet.

http://marc.theaimsgroup.com/?l=gentoo-ppc-user&m=108655780701599&w=2

Good luck!
DiskBreaker
Back to top
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Mon Sep 13, 2004 1:17 am    Post subject: Reply with quote

DiskBreaker wrote:
I had the same Segmentation fault during the compile of xcursorgen. I found the solution on the gentoo-ppc mailinglist:
You will need to reemerge libpng with -fno-strict-aliasing in your CFLAGS.
Code:
CFLAGS="-fno-strict-aliasing" emerge libpng

After that everything compiled fine for me and I am now running Xorg 6.8.0. So far it seems just as fast as 6.7 but I haven't activated the composite extension yet.

http://marc.theaimsgroup.com/?l=gentoo-ppc-user&m=108655780701599&w=2

Good luck!
DiskBreaker


thanks, i had it building fine, but it wouldnt start, thanks to this, now it does (and im using firefox in it right now)...

however, i have a couple of issues. composite does not work ( no eyecandy :( ) and things take forever to start up. even things as simple as xterms. i just timed it, and my xterm took 15 seconds to start. thats crazy i used to have it close to a second. xterms seem to be the worst, but other things take a lot longer than with 6.7....
[EDIT]
found out it was a font issue, and its fixed by running fc-cache.... seems pretty simple, now everything is fine.
hope that helps someone else out
[/EDIT]

killfire
_________________
my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com
Back to top
View user's profile Send private message
DiskBreaker
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 224

PostPosted: Mon Sep 13, 2004 2:23 am    Post subject: Reply with quote

killfire wrote:
composite does not work ( no eyecandy :(

I can't get it to work either :cry:
I have both Composite and RENDER enabled in my xorg.conf and my log says
Code:
(II) Initializing built-in extension COMPOSITE

But then when I try to run xcompmgr I get:
Code:
No composite extension


killfire wrote:

found out it was a font issue, and its fixed by running fc-cache.... seems pretty simple, now everything is fine.
hope that helps someone else out

I had the same problem, in my case it was a cursor issue since I was using custom cursors. A simple strace showed that xterm was trying to load the cursors but couldn't find them and was stuck in a loop for half a minute.
Back to top
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Sun Sep 19, 2004 5:03 pm    Post subject: Reply with quote

DiskBreaker wrote:
killfire wrote:
composite does not work ( no eyecandy :(

I can't get it to work either :cry:
I have both Composite and RENDER enabled in my xorg.conf and my log says
Code:
(II) Initializing built-in extension COMPOSITE

But then when I try to run xcompmgr I get:
Code:
No composite extension


killfire wrote:

found out it was a font issue, and its fixed by running fc-cache.... seems pretty simple, now everything is fine.
hope that helps someone else out

I had the same problem, in my case it was a cursor issue since I was using custom cursors. A simple strace showed that xterm was trying to load the cursors but couldn't find them and was stuck in a loop for half a minute.


my problem is a little different. when i load the extensions, it hard locks. so i dotn even get to test it out.

sucks too, because i hate rebooting my machine.

killfire
_________________
my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Mon Sep 20, 2004 9:27 am    Post subject: Reply with quote

I've got it working on an ibook G3 800.
There are some problems, but all in all it works fine here. RenderAccel seems to be broken with the new release though and you should switch it off in your xorg.conf, especially if you want to run xcompmgr -c. (Most of the time I just get a green blur around the windows instead of a nice shadow with RenderAccel enabled)

If anyone is interested, here is the relevant part of my config:



Code:

Section "Device"
Identifier  "Card0"
Option "UseFBDev"
Option     "EnablePageFlip" "true"
Option  "RenderAccel" "false"
Option  "backingstore"
Driver      "radeon"
VendorName  "ATI Technologies Inc"
BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
BusID       "PCI:0:16:0"
EndSection

Section "Extensions"
Option  "Composite" "true"
EndSection

_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Mon Sep 20, 2004 5:53 pm    Post subject: Reply with quote

Hmm, seems that I have some difficulties getting it up and running as well. My whole system is compiled with -fno-strict-alias, so I can assume that libpng is not the problem. Actually, when I run startx the X server crashes with signal 11. The log doesn't say much.. Argh, I can not dump it cause I can't access my Linux partition from OS-X :-(

Maybe somebody has any blind and wild guesses how I can fix it? Oh, almost forgot, it's a 1G TiBook...

Jens
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Mon Sep 20, 2004 6:45 pm    Post subject: Reply with quote

Savage:

http://stimuli.ca/linux/files/xorg.conf
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Tue Sep 21, 2004 7:48 am    Post subject: Reply with quote

Thanks heaps. At least my X is up and running again! Unfortunately, evilwm (my favorite window manager) crashes now :-( Back to Gnome, I reckon? At least for a while...

The shadows and transparency work on TiBook??

Jens
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
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