Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg on Apple G3
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
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Tue Sep 05, 2006 11:17 am    Post subject: xorg on Apple G3 Reply with quote

Ok guys, I managed to install gentoo on an old Apple G3, it runs well, but I can't install Xorg...

I admit I didn't see the X Server configuration Howto first so I didn't specifiy the VIDEO_CARDS and INPUT_DEVICES variables in /etc/make.conf.
It compiled Xorg and I tried to
Code:
Xorg -configure
which gave me this:
Code:

No screen found
No video card found
(I don't remember exactly)

So after I found the configuration Howto I umerged xorg-x11, specified the VIDEO_CARDS and INPUT_DEVICES variables and emerge xorg-x11 to make it build again with the new settings.
I had entered VIDEO-CARDS="-sis r128 radeon" since I wasn' totally sure which one to use and the -sis was necessary to compile Xorg...
After a
Code:
Xorg -configure
I got this:
Code:

[i]some info on Xorg[/i]
Module Loader present
Markers: [i]all the markers[/i]
(==) Log File [i]place + date of the logfile[/i]
List of video drivers:
s3
sis
tdfx
glint
voodoo
v4l
imstt
chips
sisusb
vga
mga
nv
savage
s3virge
dummy
trident
fbdev
No devices to configure. Configuration failed.

:cry:

lspci shows:
Code:

00:10.0 Display controller: ATI technologies Inc. Rage 128 RL/VR AGP


/var/log/Xorg.0.log shows:
Code:

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/linux-g3:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.16-gentoo-r9 ppc
Current Operating System: Linux linux-g3 2.6.16-gentoo-r9 #1 Wed Jul 12 20:18:02 CEST 2006 ppc
Build Date: 29 August 2006
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep  5 13:36:52 2006
(II) No APM support in BIOS or kernel
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.3
   X.Org Video Driver: 1.0
   X.Org XInput driver : 0.6
   X.Org Server Extension : 0.3
   X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 1.0.0
   Module class: X.Org Font Renderer
   ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 1.0.0
   ABI class: X.Org Video Driver, version 1.0
(--) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0020 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 1002,524c card 1002,524c rev 00 class 03,80,00 hdr 00
(II) PCI: 10:0b:0: chip 106b,001f card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 10:17:0: chip 106b,0022 card 0000,0000 rev 02 class ff,00,00 hdr 00
(II) PCI: 10:18:0: chip 106b,0019 card 0000,0000 rev 00 class 0c,03,10 hdr 00
(II) PCI: 10:19:0: chip 106b,0019 card 0000,0000 rev 00 class 0c,03,10 hdr 00
(II) PCI: 20:0b:0: chip 106b,001e card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 20:0f:0: chip 106b,0021 card 0000,0000 rev 01 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (0,0,32), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
   [0] -1   0   0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
   [0] -1   0   0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
   [0] -1   0   0x00000000 - 0xffffffff (0x0) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 16: bridge is at (16:11:0), (16,16,32), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 16 I/O range:
   [0] -1   0   0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 16 non-prefetchable memory range:
   [0] -1   0   0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 16 prefetchable memory range:
   [0] -1   0   0x00000000 - 0xffffffff (0x0) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 32: bridge is at (32:11:0), (32,32,32), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 32 I/O range:
   [0] -1   0   0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 32 non-prefetchable memory range:
   [0] -1   0   0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 32 prefetchable memory range:
   [0] -1   0   0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI:*(0:16:0) ATI Technologies Inc Rage 128 RL/VR AGP rev 0, Mem @ 0x94000000/26, 0x90000000/14, I/O @ 0x0400/8, BIOS @ 0xf1000000/17
List of video drivers:
   s3
   sis
   tdfx
   glint
   voodoo
   v4l
   imstt
   chips
   sisusb
   vga
   mga
   nv
   savage
   s3virge
   dummy
   trident
   fbdev
(II) LoadModule: "s3"
(II) Loading /usr/lib/xorg/modules/drivers/s3_drv.so
(II) Module s3: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 0.4.1
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "sis"
(II) Loading /usr/lib/xorg/modules/drivers/sis_drv.so
(II) Module sis: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 0.9.1
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "tdfx"
(II) Loading /usr/lib/xorg/modules/drivers/tdfx_drv.so
(II) Module tdfx: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 1.2.1
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "glint"
(II) Loading /usr/lib/xorg/modules/drivers/glint_drv.so
(II) Module glint: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 1.1.1
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "voodoo"
(II) Loading /usr/lib/xorg/modules/drivers/voodoo_drv.so
(II) Module voodoo: vendor="X.Org Foundation"
   compiled for 4.3.99.902, module version = 1.1.0
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "v4l"
(II) Loading /usr/lib/xorg/modules/drivers/v4l_drv.so
(II) Module v4l: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 0.1.1
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "imstt"
(II) Loading /usr/lib/xorg/modules/drivers/imstt_drv.so
(II) Module imstt: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 1.1.0
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "chips"
(II) Loading /usr/lib/xorg/modules/drivers/chips_drv.so
(II) Module chips: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 1.1.1
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "sisusb"
(II) Loading /usr/lib/xorg/modules/drivers/sisusb_drv.so
(II) Module sisusb: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 0.8.1
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "vga"
(II) Loading /usr/lib/xorg/modules/drivers/vga_drv.so
(II) Module vga: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 4.1.0
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "mga"
(II) Loading /usr/lib/xorg/modules/drivers/mga_drv.so
(II) Module mga: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 1.4.1
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "nv"
(II) Loading /usr/lib/xorg/modules/drivers/nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 1.1.2
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "savage"
(II) Loading /usr/lib/xorg/modules/drivers/savage_drv.so
(II) Module savage: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 2.1.1
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "s3virge"
(II) Loading /usr/lib/xorg/modules/drivers/s3virge_drv.so
(II) Module s3virge: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 1.9.1
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "dummy"
(II) Loading /usr/lib/xorg/modules/drivers/dummy_drv.so
(II) Module dummy: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 0.2.0
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "trident"
(II) Loading /usr/lib/xorg/modules/drivers/trident_drv.so
(II) Module trident: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 1.2.1
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
   compiled for 7.1.1, module version = 0.3.0
   ABI class: X.Org Video Driver, version 1.0
(II) Addressable bus resource ranges are
   [0] -1   0   0x00000000 - 0xffffffff (0x0) MX[B]
   [1] -1   0   0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
   [0] -1   0   0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
   [1] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [2] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [3] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [4] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [5] -1   0   0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
   [0] -1   0   0xf5200000 - 0xf53fffff (0x200000) MX[B]
   [1] -1   0   0x80080000 - 0x80080fff (0x1000) MX[B]
   [2] -1   0   0x80081000 - 0x80081fff (0x1000) MX[B]
   [3] -1   0   0x80000000 - 0x8007ffff (0x80000) MX[B]
   [4] -1   0   0xf1000000 - 0xf101ffff (0x20000) MX[B](B)
   [5] -1   0   0x90000000 - 0x90003fff (0x4000) MX[B](B)
   [6] -1   0   0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
   [7] -1   0   0xf0000400 - 0xf00004ff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
   [0] -1   0   0xf5200000 - 0xf53fffff (0x200000) MX[B]
   [1] -1   0   0x80080000 - 0x80080fff (0x1000) MX[B]
   [2] -1   0   0x80081000 - 0x80081fff (0x1000) MX[B]
   [3] -1   0   0x80000000 - 0x8007ffff (0x80000) MX[B]
   [4] -1   0   0xf1000000 - 0xf101ffff (0x20000) MX[B](B)
   [5] -1   0   0x90000000 - 0x90003fff (0x4000) MX[B](B)
   [6] -1   0   0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
   [7] -1   0   0xf0000400 - 0xf00004ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
   [0] -1   0   0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
   [1] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [2] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [3] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [4] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [5] -1   0   0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
   [0] -1   0   0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
   [1] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [2] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [3] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [4] -1   0   0xf5200000 - 0xf53fffff (0x200000) MX[B]
   [5] -1   0   0x80080000 - 0x80080fff (0x1000) MX[B]
   [6] -1   0   0x80081000 - 0x80081fff (0x1000) MX[B]
   [7] -1   0   0x80000000 - 0x8007ffff (0x80000) MX[B]
   [8] -1   0   0xf1000000 - 0xf101ffff (0x20000) MX[B](B)
   [9] -1   0   0x90000000 - 0x90003fff (0x4000) MX[B](B)
   [10] -1   0   0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
   [11] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [12] -1   0   0x00000000 - 0x000000ff (0x100) IX[B]
   [13] -1   0   0xf0000400 - 0xf00004ff (0x100) IX[B](B)
(II) Primary Device is: PCI 00:10:0
(II) v4l driver for Video4Linux
No devices to configure.  Configuration failed.



Now I really don't know what to do any more. Can you please help me? THX
Keba
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Sep 05, 2006 12:51 pm    Post subject: Reply with quote

First, I can't tell if you found the PPC Guide to configuring X here:
http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml#xorg

Next, to get the r128 driver, you should emerge xf86-video-ati and re-emerge xorg-server with the r128 and fbdev flags set. Make sure you have the correct framebuffer chosen as detailed in the FAQ (atyfb128) and that you've booted with that framebuffer. Next, run Xorgautoconfig and it should "just work". :)

Good luck!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Thu Sep 07, 2006 8:26 am    Post subject: Reply with quote

Thanks. I've just started recompiling my kernel. But how can I check what framebuffer I'm using and how could I change it if it's the wrong one? THX for answers
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Thu Sep 07, 2006 8:56 am    Post subject: Reply with quote

With the new kernel, I get a weird white line on the bottom of my screen. I'm not sure what framebuffer I'm using...
Greets
Keba
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Thu Sep 07, 2006 10:31 am    Post subject: Reply with quote

I don't get it. When running Xorgautoconf I get a conf file, but when trying to startx, I get:
Code:
No screens found


What can I do?
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Sep 07, 2006 12:54 pm    Post subject: Reply with quote

As it says in the FAQ, build in *only* the Rage 128 framebuffer. This will ensure that you use the correct one. Once you've booted with this, re-run Xorgautoconfig and you should have a working system.

Good luck!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Fri Sep 08, 2006 10:35 am    Post subject: Reply with quote

I'm sorry I cannot respond faster, this PC is situated at school so I can't configure it all the time...
I guess I won't be able to continue until Monday or Tuesday

I did exactly what you told me, and X starts!

I get a green line on the screen, under it some weird red, white and other colours and over it a black space. I also get the mouse cursor (the black X) and I can move it around. Except that, nothing happens. When I kill Xorg (Ctrl+Alt+Backspace) it tells me:

(WW) ****INVALID IO ALLOCATION**** b: 0xf0000400 e:0xf00004ff correcting
(EE) end of clock range 0xefffffff < begin exf0000000
->Some lines containing xkb_
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i=1025
(EE) R128(0): Idle timed out, resetting Engine...
-> the two (EE) lines are written 3 times
X connection to :0.0 broken (explicit kill or server shutdown)
-> two times
xterm: fatal io error 32 (broken pipe) or KillClient on X server ":0.0"
-> some more similar lines coming from me killing X

What can I do?
THX
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Fri Sep 08, 2006 10:48 am    Post subject: Reply with quote

I've just tried it with 24 bit colours and twm started. Doesn't the Mac R128 support 16bit? That would be a lot faster than 24bit...

THX for everything
Keba
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Sep 08, 2006 11:11 am    Post subject: Reply with quote

You could try adding Option "UseFBDev" "True" (or false) to the device section. This may fix 16bit color.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Fri Sep 08, 2006 11:24 am    Post subject: Reply with quote

Doesn't work but I don't care, 24bit appears to be fast enough.

The only problem I now have is that my emerge and emerge-webrsync are incredibly slow after a env-update and an etc-update...

What can I do? THX
_________________
Prayer can change the world!
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