All times are UTC-06:00




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
 Post subject: setup x11
PostPosted: Mon Jul 23, 2007 7:33 am 
Offline

Joined: Thu Mar 01, 2007 9:26 am
Posts: 13
Location: Greece
Hello, I finally installed crux core on my Efika! I had tried before but I were having problems with netbooting over TFTP / NFS. The sources of my problems were iptables, /etc/hosts.allow and /etc/hosts.deny.

So far I tried to add 2 additional packages:

1) Nano which installed perfectly.

2) X11 which doesn't work. What I did is:
pkgadd x11#6.9.0-5.pkg.tar.gz
startx

the screen blinked for a second and then it returned to console with errors like:
Quote:
(EE) Unable to locate/open config file
...
...
...
dlopen: libfreetype.so.6: cannot open shared object file: No such file o rdirectory
(EE) failed to load /usr/X11/lib/modules/fonts/libfreetype.so
(EE) failed to load module "freetype"
(EE) failed to load module "vesa"

fatal server error: cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices

XIO: fatal IO error 104 (connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining
It seems like some stuff like libraries and configuration are missing.

What I want to do is to first setup a working X11 and then add any necessary utilities (XFCE?) to have a basic windowing desktop.


Top
   
 Post subject:
PostPosted: Sun Jul 29, 2007 3:07 am 
Offline

Joined: Thu Mar 01, 2007 9:26 am
Posts: 13
Location: Greece
This forum is very quiet! Anyway on my problem, I noticed that crux iso contains a "freetype" package so I pkgadd-ed it too. It looks like I am getting closer but not there yet. Now I get the following errors:
Quote:
(EE) Unable to locate/open config file
...
...
...
(EE) failed to load module "vesa"

fatal server error: cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices

XIO: fatal IO error 104 (connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining
Any help as to what to do next?


Top
   
 Post subject:
PostPosted: Sun Jul 29, 2007 7:47 am 
Well it seems that it can't find the vesa module which is not working on PowerPC.
See this link :
Crux PPC - Vesa problem on PowerPC

Check also /etc/X11/xorg.conf file ("Device" section).
If you have a radeon, that would be a good idea to replace "vesa" by "radeon".

Hope that helps...


Top
   
 Post subject:
PostPosted: Sun Jul 29, 2007 11:26 am 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
what's your xorg.conf?

_________________
acrux _at_ linuxmail _dot_ org


Top
   
 Post subject:
PostPosted: Sun Jul 29, 2007 3:32 pm 
Offline

Joined: Thu Mar 01, 2007 9:26 am
Posts: 13
Location: Greece
@geoffrey_charra

This guy's log looks almost exactly like mine.

@both

The only things I have done so far is pkgadd x11 and freetype packages. I have not made a xorg.conf file nor I know where and how to make one.

My card is a Radeon 7000.


Top
   
 Post subject: @ astrofos
PostPosted: Sun Jul 29, 2007 4:06 pm 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
Quote:
The only things I have done so far is pkgadd x11 and freetype packages.
btw, you need some dependencies
Code:
root@sawtooth:/boot# ilenia -D x11
zlib [installed]
expat [installed]
freetype [installed]
fontconfig [installed]
libpng [installed]
x11 [installed]

then.. you don't have a xorg.conf nor a xinitrc.

CRUX PPC doesn't supply any pre-configured /etc/X11/xorg.conf file then you must do your own one.

you can use xorgconfig utility to do a standard one. I suggest to you to read:
man xorg.conf
man radeon ('cause your card is supported by this driver)

you can study this working xorg.conf (it's from a CRUX PPC 2.2 on Apple PowerMac G4 AGP "Sawtooth"):
http://acrux.homelinux.org:8080/varie/c ... /xorg.conf

obviously you must set your monitor frequencies 'n your card driver.

_________________
acrux _at_ linuxmail _dot_ org


Top
   
 Post subject: Re: @ astrofos
PostPosted: Tue Jul 31, 2007 8:39 am 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
Quote:
you can study this working xorg.conf (it's from a CRUX PPC 2.2 on Apple PowerMac G4 AGP "Sawtooth"):
http://acrux.homelinux.org:8080/varie/c ... /xorg.conf
actually i cannot try on Efika but i've just now tested on a Peg2 this dirty but working solution:
http://acrux.homelinux.org:8080/varie/c ... /xorg.conf

_________________
acrux _at_ linuxmail _dot_ org


Top
   
 Post subject:
PostPosted: Wed Aug 01, 2007 11:20 am 
Offline

Joined: Thu Mar 01, 2007 9:26 am
Posts: 13
Location: Greece
Thank you very much! I will try to work with these.


Top
   
 Post subject:
PostPosted: Fri Aug 03, 2007 3:45 pm 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
i've, a bit, cleaned thet xorg.conf. I suppose it works fine.

I'm not 100% sure 'cause on this returned (flambe') Pegasos2 it freezes and it happens very often but i think this machine is the evil or is broken... tomorrow i'll try with a different video card.

_________________
acrux _at_ linuxmail _dot_ org


Top
   
 Post subject:
PostPosted: Sat Aug 04, 2007 4:25 am 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
aargh, same situation changing his original card (9200SE) with a fresh new one (9250PRO).

_________________
acrux _at_ linuxmail _dot_ org


Top
   
 Post subject:
PostPosted: Tue Aug 07, 2007 5:04 pm 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
i've played with our Peg2 but it's always unstable...
when PCI BusType is forced to have DRI sometimes xorg starts and works nice (glxgears runs at about 510fps) but very often doesn't start and freezes.

_________________
acrux _at_ linuxmail _dot_ org


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 13 guests


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

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group