Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X won't work [solved]
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
wingrunr21
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 91

PostPosted: Sat Jun 10, 2006 2:40 am    Post subject: X won't work [solved] Reply with quote

I got X emerged on my G3 iMac. The only problem is it won't start. I followed the FAQ and used Xorgautoconfig and then setup X as I normally would on an x86 machine. The thing is, when I do a startx, it doesn't seem to do anything bad, and yet it shuts down the server.

Result of startx:

http://www.thepcplace.org/Files/startx.txt

xorg.conf:

http://www.thepcplace.org/Files/Xorg.conf.txt

Xorg.0.log:

http://www.thepcplace.org/Files/Xorg.0.log

Any help would be appreciated


Last edited by wingrunr21 on Mon Jun 12, 2006 3:37 am; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jun 10, 2006 12:04 pm    Post subject: Reply with quote

Quote:
Symbol vgaHWGetIOBase from module /usr/lib/modules/drivers/r128_drv.o is unresolved!

Is that kernel module loaded?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
wingrunr21
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 91

PostPosted: Sat Jun 10, 2006 12:34 pm    Post subject: Reply with quote

As per the FAQ everything is hard compiled in. I'm trying it with modules as I type this.

Update: Still a no-go with modules. Same error and everything. I've tried re-emerging X and all sorts of stuff. This is strange.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jun 10, 2006 1:50 pm    Post subject: Reply with quote

nixnut wrote:
Quote:
Symbol vgaHWGetIOBase from module /usr/lib/modules/drivers/r128_drv.o is unresolved!

Is that kernel module loaded?

Gah, I must be going blind. That's not a kernel module, but an xorg driver. Nevermind me then.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jun 10, 2006 3:33 pm    Post subject: Reply with quote

What do you have in your .xinitrc?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
wingrunr21
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 91

PostPosted: Sat Jun 10, 2006 10:09 pm    Post subject: Reply with quote

Nothing. I just want to get a vanilla X-Session working first.
Back to top
View user's profile Send private message
wingrunr21
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 91

PostPosted: Sun Jun 11, 2006 2:28 pm    Post subject: Reply with quote

Anyone have an idea? I cannot get it to work.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jun 11, 2006 3:54 pm    Post subject: Reply with quote

Two things to try. You could try using "UseFBDev" "false", but I don't see any real errors in your log. Next, you could try adding something (like xterm) to your xinitrc, I'd like to see if that starts up.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
wingrunr21
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 91

PostPosted: Sun Jun 11, 2006 4:15 pm    Post subject: Reply with quote

Alright, I changed "UseFBDev" to "false" and that didn't do anything. What I ended up doing was setting xdm to start automatically at boot, and lo and behold, it started. For some reason a startx won't run but the Login Manager will. This works for the time being, but I still need to know why I can't startx. I'll try the xterm thing in a minute.

Ok, got it working. For some reason a regular startx will do nothing, but starting a window manager with X will. Oh well. My only other issue is that X is SLOW. It takes it a LONG time to do anything.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jun 11, 2006 8:08 pm    Post subject: Reply with quote

What does emerge xorg-x11 -pv say?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
wingrunr21
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 91

PostPosted: Sun Jun 11, 2006 8:24 pm    Post subject: Reply with quote

It says:
Code:

iMac ~ # emerge -pv xorg-x11

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

Calculating dependencies ...done!
[ebuild   R   ] x11-base/xorg-x11-6.8.2-r7  (-3dfx) (-3dnow) +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal (-mmx) +nls -nocxx +opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB

Total size of downloads: 0 kB
Back to top
View user's profile Send private message
wingrunr21
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 91

PostPosted: Mon Jun 12, 2006 3:29 am    Post subject: Reply with quote

Alright, xfce4 barely loads, and when it does, no programs will run without freezing. The entire X server is just plain SLOW. Does anyone have a working xorg.conf that I can see for an iMac G3? This computer is a 700 mhz machine with a 16 mb video card and 256 mb of RAM. X should not be this slow on it.

Update: Well, right after I posted it something worked on it. I have no idea why it started working, but it did. Here's my xorg.conf for anyone in the future who needs it:

Code:

# This file was generated by Xorgautoconfig v0.2.2.
Section "ServerLayout"
        Identifier      "X.Org Configured"
        Screen          0  "Screen0" 0 0
        InputDevice     "Mouse0" "CorePointer"
        InputDevice     "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

        RgbPath         "/usr/lib/X11/rgb"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

        ModulePath      "/usr/lib/modules"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

# For X Font Server support, uncomment this and comment the other FontPaths
# Note that this is not required for most configurations
#       FontPath        "unix/:-1"
        FontPath        "/usr/share/fonts/TTF/"
#       FontPath        "/usr/share/fonts/ukr/"
        FontPath        "/usr/share/fonts/misc/"
#       FontPath        "/usr/share/fonts/util/"
#       FontPath        "/usr/share/fonts/default/"
        FontPath        "/usr/share/fonts/75dpi/"
#       FontPath        "/usr/share/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/Type1/"
#       FontPath        "/usr/share/fonts/local/"
#       FontPath        "/usr/share/fonts/encodings/"
        FontPath        "/usr/share/fonts/100dpi/"
#       FontPath        "/usr/share/fonts/100dpi/:unscaled"
#       FontPath        "/usr/share/fonts/cyrillic/"
EndSection

Section "Module"
        Load    "extmod"
        Load    "dri"
        Load    "xtrap"
        Load    "dbe"
        Load    "record"
#       Load    "glx"
        Load    "type1"
        Load    "freetype"
#       Load    "fbdevhw"
EndSection

#Section "Extensions"
#       Option "Composite"      "Disable"       # Experimental
#EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"
# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
        Option          "XkbOptions"    "compose:rwin"
### Uncomment this if your layout uses nodeadkeys
        #Option         "XkbVariant"    "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Protocol"       "ExplorerPS/2"
        Option          "Device"         "/dev/input/mice"
        Option          "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
#       UseModes        "Modes0"
        ModelName       "Monitor Model"
        Option          "DPMS"
        HorizSync       60-60
        VertRefresh     60-75
EndSection

#Section "Modes"
#       Identifier      "Modes0"

        # Generated
        # D: 78.740 MHz, H: 60.015 kHz, V: 75.019 Hz
#       Modeline "1024x768" 78.740 1024 1056 1152 1312  768 769 772 800  +HSync +VSync
#EndSection

Section "Device"
        Identifier      "Card0"
        ### Available Driver options:
        Option "DMAForXv"       "true"  # Use DMA for XV, reduces CPU usage
                                        # Can cause stability problems
        #Option "SWcursor"      "false" # Use Software Cursor
        #Option "NoAccel"       "false" # Disable Hardware Acceleration
        #Option "Display"       "FP"    # Display mode for devices which
                                        # support Flat Panels.  Modes:
                                        # "FP" - Use Flat Panel
                                        # "CRT" - Use CRT
                                        # "Mirror" - Use both FP and CRT
        ### See "man r128" for additional options

        ### Warning: If your r128 has less than 10MB of ram, you will only be
        ###          able to use dri in 16bit color.
        Option  "UseFBDev"      "true"
        Driver  "r128"
        BusID   "PCI:0:16:0"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Depth           8
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768"
        EndSubSection
EndSection

#Section "DRI"
#       Group 0
#       Mode 0666
#EndSection
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jun 12, 2006 3:44 am    Post subject: Reply with quote

You need to uncomment the last bit if you want to use OpenGL as a regular user.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
wingrunr21
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 91

PostPosted: Mon Jun 12, 2006 3:47 am    Post subject: Reply with quote

JoseJX wrote:
You need to uncomment the last bit if you want to use OpenGL as a regular user.


It doesn't work with that uncommented. Plus, this computer will be for internet/word processing only. It doesn't really need OpenGL.
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