Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx problems on Pismo
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
CDRuzin
n00b
n00b


Joined: 22 Jan 2004
Posts: 35
Location: AR-USA

PostPosted: Thu Jan 22, 2004 10:06 pm    Post subject: startx problems on Pismo Reply with quote

Whenever I try to start X, the screen goes blank for a few seconds, and then spits this bit at me:

Code:
Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!


It gives me that line four times. Then says:

Code:
Fatal Server Error:
Caught signal 7.  Server aborting


When I look at the log file, the last thing it was doing before dying was going through a bunch of resource ranges after preInit.

I'm a newbie, so I have no idea if I've given any helpful information as to what my problem could be.

Any help would be greatly appreciated.
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Thu Jan 22, 2004 11:57 pm    Post subject: Reply with quote

Don't know if this might help, but that error does seem like something I discovered might be related. Last weekend, I did my first testing of 2.6.1 on my iBook, and had great trouble getting X to work. Ultimately, I figured out that if I had both the 'dri' and 'glx' options enabled in XF86Config -- something that works fine for me with a 2.4 kernel -- X would hang (no errors like yours, it would just hang with a blank screen). With only one of those, options (either one), X started fine. So, maybe take one or both of those options out, and see if that helps.
Back to top
View user's profile Send private message
CDRuzin
n00b
n00b


Joined: 22 Jan 2004
Posts: 35
Location: AR-USA

PostPosted: Fri Jan 23, 2004 3:56 am    Post subject: Reply with quote

That's an idea. From what I've read, "glx" is an nVidia thing, and "dri" is an ATI thing, I think. My Powerbook has an ATI Rage128 in it, so the glx modules X is looking for won't exist, right?

I'm feeling a little overwhelmed with it all, but I'm determined to figure it all out and have a working Gentoo desktop system.

Does anyone else have any advice? Better yet, can another Pismo owner show me how their XF86config file is setup?
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Fri Jan 23, 2004 2:05 pm    Post subject: Reply with quote

CDRuzin wrote:
That's an idea. From what I've read, "glx" is an nVidia thing, and "dri" is an ATI thing, I think. My Powerbook has an ATI Rage128 in it, so the glx modules X is looking for won't exist, right?


No -- glx and dri aren't vendor-specific; you may be thinking about graphics acceleration requiring binary-only drivers (for many Nvidia cards, some ATI) vs. open-source drivers supplied with xfree (most ATI cards, some Nvidia).

glx has to do with OpenGL, a common method of 3D rendering; the glx module provides OpenGL support to xfree. dri is the module that allows direct rendering, i.e., direct software access to the graphics card, which requires the modules provided by the xfree-drm package (or those included with the kernel if you use a 2.6 kernel). Neither are essential for X to work, but using dri generally helps performance, and glx helps 3D performance, sometimes dramatically in each case. There's much more detail at DRI web site.

CDRuzin wrote:
I'm feeling a little overwhelmed with it all, but I'm determined to figure it all out and have a working Gentoo desktop system.

Does anyone else have any advice? Better yet, can another Pismo owner show me how their XF86config file is setup?


Have you gone through the bits about X in the PPC FAQ, and/or tried Xeasyconf? You might also find some useful documentation on http://tuxmobil.org/ (look under 'laptops' for their hardware survey), though I'd watch for things that might be done a bit differently in other distros than Gentoo.

A good plan would be try to get X working in a basic way first -- proper resolution and color depth, mouse buttons setup the way you like, etc. So, maybe comment out the dri and glx options in the config file, and try again. The output in /var/log/XFree86.0.log can be helpful, too, as can the xfree documentation. Once that's done, then see if dri, glx, and any other more good-looking options will work.

One other good resource: http://www.desertsol.com/~kevin/ppc/. It's about using Gentoo on an iBook, but except for the fact you should use the 'ati' driver with the Pismo (not 'radeon', since it's a Rage 128, right?), the setup should be very similar.

Setting up X can be a bit daunting, but I've always been surprised by how a little bit of struggle leads to a config that will be stable for a long time. Keep that determination; best of luck. :)
Back to top
View user's profile Send private message
CDRuzin
n00b
n00b


Joined: 22 Jan 2004
Posts: 35
Location: AR-USA

PostPosted: Sat Jan 24, 2004 12:28 am    Post subject: Reply with quote

ozonator wrote:
No -- glx and dri aren't vendor-specific; you may be thinking about graphics acceleration requiring binary-only drivers (for many Nvidia cards, some ATI) vs. open-source drivers supplied with xfree (most ATI cards, some Nvidia).


Ah... ok. I'm not sure where I got they were vendor-specific things.

ozonator wrote:
One other good resource: http://www.desertsol.com/~kevin/ppc/. It's about using Gentoo on an iBook, but except for the fact you should use the 'ati' driver with the Pismo (not 'radeon', since it's a Rage 128, right?), the setup should be very similar.


I ended up finding exactly what I needed here on the Gentoo site:
https://bugs.gentoo.org/attachment.cgi?id=19324&action=view

I copied that almost exactly, and now X runs like a charm. So now I'm working on KDE.

ozonator wrote:
Setting up X can be a bit daunting, but I've always been surprised by how a little bit of struggle leads to a config that will be stable for a long time. Keep that determination; best of luck. :)


X was daunting to set up, especially for a Linux newbie like myself, but that feeling of accomplishment when it finally works is so worth it.
Back to top
View user's profile Send private message
Tapp_Darden
n00b
n00b


Joined: 17 Jul 2003
Posts: 20

PostPosted: Sat Jan 24, 2004 8:03 am    Post subject: works on G4 tower also Reply with quote

I've been having a lot of trouble getting X to start on my G4 AGP Tower with Rage128.

Changing my Yaboot.conf to run the r128 driver helped. X Started, however it looked like it was trying to use a refresh rate that my monitor did not support.(picture distorted)

I tried all sorts of configs for X, from Xeasyconf, to other ppls confs and none worked. However the above conf worked for me. I am now gets ~732 FPS in glxgears and glxinfo is reporting that Direct rendering is on. This makes me or sorts of happy, as I was searching high and low to get X to start. I love the feeling of getting something to work and learning new shit in the process.

anyway, if you are having trouble getting X to start, you may try using https://bugs.gentoo.org/attachment.cgi?id=19324&action=view (as the above poster indicated) even if you don't have the exact config. (although you may want to mod the conf if you are using a different 3d card)
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