Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iBook 800 Mhz xorg help
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
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Mon Jul 05, 2004 3:01 am    Post subject: iBook 800 Mhz xorg help Reply with quote

I just reinstalled gentoo on my iBook, and I'm trying to get xorg set up for the first time. xorgconfg leaves my screen with a bunch of horizontal lines on the right 2 inches of the screen, and flickers on the rest of it.

I'd really like to get graphics acceleration going with my ati radeon 7500, but will settle for a working xorg.conf, if anyone can help me.

Thanks,

~Michael
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Mon Jul 05, 2004 4:18 am    Post subject: More details I should have posted Reply with quote

I should have mentioned:
I'm using the 2.6.7 kernel. If you have a working 800 Mhz dual USB iBook, stating which kernel options were complied in, or modules would be nice (DRI, Radeon, etc.). Posting your working xorg.conf would also be handy.

thanks,

Michael
Back to top
View user's profile Send private message
woolsherpahat
Guru
Guru


Joined: 09 Mar 2004
Posts: 347

PostPosted: Mon Jul 05, 2004 4:22 am    Post subject: Reply with quote

I just finshed installing and configuring X.Org on my 1Ghz G4 IBook running a 2.6.7 kernel too. Check out this thread relating to it. The main thing is to just make sure you got the right drivers compiled in your kernel.

https://forums.gentoo.org/viewtopic.php?t=190308
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Mon Jul 05, 2004 11:25 am    Post subject: Reply with quote

If you want a head start, here is mine for a G3 900 iBook.
_________________
Ask Questions the Smart Way - by ESR
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Tue Jul 06, 2004 1:06 am    Post subject: radeon_drv.o is unresolved Reply with quote

When I startx, I get the message
Code:
Symbol drmGetClient from module /usr/X11R6/lib/modules/drivers/radeon_drv.o is unresolved!

Since I'm running a 2.6 kernel, should this module be ending in "o"?
~Michael
Back to top
View user's profile Send private message
woolsherpahat
Guru
Guru


Joined: 09 Mar 2004
Posts: 347

PostPosted: Tue Jul 06, 2004 1:16 am    Post subject: Reply with quote

Have you loaded the module? Try 'modprobe radeon'.
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Tue Jul 06, 2004 1:21 am    Post subject: yeah Reply with quote

I've loaded both the uninorth-agp and radeon modules (one first, then the other, and vice-versa) - the screen still has the lines on it, and I still get about 80 fps with glxgears
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Tue Jul 06, 2004 4:54 pm    Post subject: It works now Reply with quote

I don't know *exactly* what I did to get it to work...but it works. My kernel config file and xorg.conf file are at:
http://michael.elementsbycaroline.com/gentoo
for anyone who wants to see them.

~Michael
Back to top
View user's profile Send private message
tofagerl
n00b
n00b


Joined: 30 Mar 2004
Posts: 14

PostPosted: Wed Jul 07, 2004 8:44 am    Post subject: Reply with quote

UseFBDev is the key here... I had the same problems, but I fixed it by using the fbdev driver directly. (As far as I can tell, opengl doesn't work anyway, so...)
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Thu Jul 08, 2004 12:54 am    Post subject: Borked it again... Reply with quote

So I was trying to get bootsplash working, recompiled the kernel a few times, tried X and got weird blackness with a huge flickery blue pointer, and a black background.
/var/log/Xorg.0.log said that it couldn't find /dev/fb2 or fb(3,4,5,6,7,8,9).

So, I'm trying to compile the kernel again. You mentioned a fbdev driver. What do I need to include to get that?

I have as modules:
ATI Radeon display support (Old driver)
ATI Radeon displayu support
Virtual Frame Buffer support
Framebuffer Console support
/dev/agpgart (AGP Support)
Apple UniNorth AGP support
ATI Radeon

Compiled in (only option):
Open Firmware frame buffer device support
Direct Rendering Manager (XFree86 4.1.0 and higher DRI support

Am I missing something? (kernel 2.6.7-pegasos)

Thanks,

Michael
Back to top
View user's profile Send private message
alsh
n00b
n00b


Joined: 21 Apr 2003
Posts: 60
Location: Glen Allen, VA

PostPosted: Thu Jul 08, 2004 2:48 pm    Post subject: Reply with quote

I run xorg on an 800mhz G4 iBook with no issue. I'll put links to my configs for you to look at.

Note: I use gentoo-development sources. I also use bootsplash, to do that I followed the bootsplash guide but removed the gentoo-dev sources bootsplash patch and applied the one from the bootsplash site (I believe the second or third comment on the bootsplash 9 step guide sticky has the directions to do this).

Kernel config
xorg.conf

If you need any more info let me know.

-Alan

Edit: The fourth comment on the bootsplash guide by DiskBreaker is what I did to get bootsplash functioning on gentoo-dev-sources.

https://forums.gentoo.org/viewtopic.php?t=192895
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Thu Jul 08, 2004 3:26 pm    Post subject: Working once again... Reply with quote

I don't have bootsplash working yet, but X is working again. GLX gears gets arround 500-600 fps...so I guess that's as good as I'll get.

Thanks for your help!

~Michael
Back to top
View user's profile Send private message
woolsherpahat
Guru
Guru


Joined: 09 Mar 2004
Posts: 347

PostPosted: Thu Jul 08, 2004 5:58 pm    Post subject: Reply with quote

That sounds about right for your hardware.
Back to top
View user's profile Send private message
protosub
n00b
n00b


Joined: 24 Jun 2004
Posts: 14
Location: England

PostPosted: Sun Jul 11, 2004 10:05 am    Post subject: Reply with quote

ronmon wrote:
If you want a head start, here is mine for a G3 900 iBook.


ronmon, there appears to be a slight problem with your config. When I used it I got the error 'No Screens Found'. Taking a closer look at your config I found what appears to be a typo:
Quote:

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection


I believe that the Screen0 (in bold) should infact just be 'Screen'. This solved my problem. Just thought I would let you know so you could ammend the file.
_________________
<insert witty sig here>
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Sun Jul 11, 2004 2:57 pm    Post subject: Reply with quote

Thanks protosub. That was a typo in the file that I swiped and I didn't catch it. For some reason it still worked for me.

Unfortunately, my iBook is disassembled for painting right now. I've changed the file on my server and will try it on the iBook when it's back up and running.
_________________
Ask Questions the Smart Way - by ESR
Back to top
View user's profile Send private message
ziberpunk
n00b
n00b


Joined: 09 Nov 2002
Posts: 4

PostPosted: Sun Jul 18, 2004 1:53 pm    Post subject: Re: iBook 800 Mhz xorg help Reply with quote

servobf wrote:
I just reinstalled gentoo on my iBook, and I'm trying to get xorg set up for the first time. xorgconfg leaves my screen with a bunch of horizontal lines on the right 2 inches of the screen, and flickers on the rest of it.


I've the same problem on my Ibook 1GHz with radeon 9200 Mobile. I've tried all configurationes listed in this thread but none works, any ideas about what solved the problem?
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Wed Aug 25, 2004 4:02 am    Post subject: Same problem Reply with quote

I'm trying to get Xorg working on my fresh install on an iBook 800Mhz 15".

I've got kernel linux-2.6.7-gentoo-r14 (gentoo-dev-sources).

I did Xorg -configure, and it seemed to be ok...except it said it couldn't find fbdev and
(EE) RADEON(0): Cannot read V_BIOS (5)

I can run X and startx, but, comes up with all the flickering lines I've seen described.

My driver in my config file is "ati". I've tried it with "radeon" and it gives the exact same results.

I compiled in everything in the kernel, not modules...is this required as modules? I deselected ATI Radeon display support (Old driver) as an option...used the new driver...

I pretty much think I have all the rest compiled in....as described in the posts I've searched out so far...

Any ideas where to start looking?

TIA,

Cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Wed Aug 25, 2004 5:58 am    Post subject: Reply with quote

Does Xorg -config do the same thing as
Code:
/usr/X11R6/bin/xorgconfig

?

Next thing I'd try (how I got a working config) is emerge xeasyconf. Run that, and it will generate an XFree config file (in /etc/X11). Rename this file to xorg.conf, and see if that works. I had to change one or two things, but they were simple to find with the EE error messages.

Good luck,

~Michael
Back to top
View user's profile Send private message
iGentoo
n00b
n00b


Joined: 25 Jun 2004
Posts: 9
Location: Wollongong

PostPosted: Fri Aug 27, 2004 2:17 pm    Post subject: iBook G4 xorg.conf with 3D accel Reply with quote

Greetings
Here's the relevant sections from my 800mhz G4 12" xorg.conf with 3D acceleration giving about 900 fps @ 32 or 1700 @ 16



Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
UseModes "Modes0"
HorizSync 30-70
VertRefresh 50-160
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "CrtScreen" # [<bool>]
#Option "PanelSize" # [<str>]
Option "UseFBDev" # [<bool>
Identifier "Card0"
Driver "radeon"
Option "UseFBDev" "true"
Option "AGPMode" "4"
Option "EnablePageFlip" "true"
# Option "AGPFastWrite" "true"
Option "Accel" "true"
Option "DPMS" "true"
VendorName "ATI"
BoardName "Radeon Mobility M7 LW"
BusID "PCI:0:16:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "640x480" "800x600"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "640x480" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "640x480" "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "640x480" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "640x480" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Modes"
Identifier "Modes0"
Modeline "1024x768" 65.003 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
EndSection
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Fri Aug 27, 2004 7:38 pm    Post subject: Modules or compiled in? Reply with quote

Are most of you compiling the video into the kernel or as modules?

C

Ps: Also, I'm seeing may of ya'lls xorg config files listing modelines such as:

Quote:
Section "Modes"
Identifier "Modes0"
Modeline "1024x768" 65.003 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
EndSection


And I've seen this setting a lot...but, all I see it is with the 12 inch screen. I can't seem to find specific info for the 15" screen. Would the numbers for the 12" work for the 15"?
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
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