Power Developer
https://powerdeveloper.org/forums/

setup x11
https://powerdeveloper.org/forums/viewtopic.php?f=9&t=1327
Page 1 of 1

Author:  astrofos [ Mon Jul 23, 2007 7:33 am ]
Post subject:  setup x11

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.

Author:  astrofos [ Sun Jul 29, 2007 3:07 am ]
Post subject: 

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?

Author:  lugduweb [ Sun Jul 29, 2007 7:47 am ]
Post subject: 

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...

Author:  acrux [ Sun Jul 29, 2007 11:26 am ]
Post subject: 

what's your xorg.conf?

Author:  astrofos [ Sun Jul 29, 2007 3:32 pm ]
Post subject: 

@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.

Author:  acrux [ Sun Jul 29, 2007 4:06 pm ]
Post subject:  @ astrofos

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.

Author:  acrux [ Tue Jul 31, 2007 8:39 am ]
Post subject:  Re: @ astrofos

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

Author:  astrofos [ Wed Aug 01, 2007 11:20 am ]
Post subject: 

Thank you very much! I will try to work with these.

Author:  acrux [ Fri Aug 03, 2007 3:45 pm ]
Post subject: 

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.

Author:  acrux [ Sat Aug 04, 2007 4:25 am ]
Post subject: 

aargh, same situation changing his original card (9200SE) with a fresh new one (9250PRO).

Author:  acrux [ Tue Aug 07, 2007 5:04 pm ]
Post subject: 

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.

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/