Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem using radeon X server on iBook G3 800
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
anvesaka
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 138
Location: Toledo, Spain

PostPosted: Fri Mar 26, 2004 5:48 pm    Post subject: Problem using radeon X server on iBook G3 800 Reply with quote

If I activate fbdev option, the my X servers runs ok, but are not able to play videos correctly, just because fbdev is not fast enough. But if I disable fbdev, then my LCD screen is not showed correctly, flickering and showing stranges lines all along the screen.
My computer is an iBook, G3 800, with 32Mb of memory into an ATI Radeon 7500 card.

Why the radeon driver is not showing correctly in my LCD screen but the fb does?
Back to top
View user's profile Send private message
DrACoNuS
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2002
Posts: 116
Location: Edmonton, Alberta, Canada

PostPosted: Fri Mar 26, 2004 6:25 pm    Post subject: Reply with quote

Use the new radeon DRM driver in the kernel 2.6.*-benh sources and then use Xeasyconf everything from there on in should work fine.
_________________
Is that a huge bandwidth or are you just happy to see me?
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Tue Mar 30, 2004 6:00 pm    Post subject: Hi javuchi77 Reply with quote

Hi javuchi77,

I have the same problem!

Hi DrACoNuS
Quote:
Use the new radeon DRM driver in the kernel 2.6.*-benh sources and then use Xeasyconf everything from there on in should work fine.

I did as you said but this doesn't fix the prob. X flickers and has flickering lines across the screen.

What I have in my kernel 2.6.3-r2:
Quote:

Device-Drivers -> Character Devices ->

    <*> /dev/agpgart (AGP Support)
    <*> Apple UniNorth AGP support
    [ * ] Direct Rendering Manager
    <M> ATI Radeon

Device-Drivers -> Graphics Support ->

    [ * ] Support for Frame Buffer devices
    <*> ATI Radeon display support (the new one)
    [ * ] DDC/I2C for ATI Radeon support

Device-Drivers -> Graphics Support ->Console display driver support --->

    [ * ] VGA text console
    <*> Framebuffer Console support



My device section of my XFConfig (generated by Xeasyconf and modified by me) is:
Code:
Section "Device"
        Identifier      "Card0"
        Driver          "radeon"
        VendorName      "ATI Technologies Inc"
        BoardName       "Radeon Mobility M7 LW [Radeon Mobility 7500]"
        BusID           "PCI:0:16:0"
        Option          "UseFBDev"      "true"
EndSection

The Option "UseFBDev" doesn't have an effect, so it seems.

The modules section is like this:
Code:
Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "type1"
        Load  "freetype"
        Load  "speedo"
EndSection


What I tried:
I tried it without the frambuffer stuff of the kernel. But then I could
not see my iBook boot because I had a white (blank) screen and no console. When X then came up I had the flickering, too.

So please help,
Tassilo *who would love his ibook if X worked*

My iBook is a G3 800 MHz with Radeon Mobility M7 (7500).
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Tue Mar 30, 2004 9:24 pm    Post subject: Reply with quote

Today I updated to ppc-development-sources-2.6.4 with the same settings I described above, but the flickering didn't go away...
Back to top
View user's profile Send private message
skychum
n00b
n00b


Joined: 03 Dec 2003
Posts: 30

PostPosted: Tue Mar 30, 2004 10:18 pm    Post subject: Reply with quote

Umm, with the development kernels, I notice that building the code for apgart and radeon/radeonfb into the kernel is necessary to avoid a lot of problems. i used to build apgart fbdev, radeon and radeonfb as modules, and it would freese during init.
To sum up: build anything graphics related into the kernel image. This is sort of a temporary solution, if it even works, but I'm not smart enough to figure out any others.

BTW, with the 2.6.4 kernel, do you have pbbuttonsd working? I'm having problems:
https://forums.gentoo.org/viewtopic.php?t=155369
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Tue Mar 30, 2004 10:44 pm    Post subject: Reply with quote

Quote:
To sum up: build anything graphics related into the kernel image.
I did so, but it doesn't help.

Quote:
BTW, with the 2.6.4 kernel, do you have pbbuttonsd working? I'm having problems:
No, sorry. But I have the same troubles with it. I cannot be started at boot ([!!]). When I start it from the command line I get no errors, but "ps -e" shows no process...

BTW: At boot/shutdown I get the message:
Code:
* Failed to set system clock to hardware clock           [!!]

I know before my last kernel config sessions it worked. What have I done?
Back to top
View user's profile Send private message
skychum
n00b
n00b


Joined: 03 Dec 2003
Posts: 30

PostPosted: Tue Mar 30, 2004 10:54 pm    Post subject: Reply with quote

Sorry for giving adivce that made you recompile your kernel, I wasn't thinking.

But, I do know this: when I ran Xeasyconf, and chose ati as the driver, I have some lines/flickering too. So, run it again, and choose the option "Let XFree86 Pick". Afterwards you complete Xeasyconf,try your xserver again. The driver in /etc/X11/XF86Config-4 is set to "ati", and you can set it to "radeon", but I don't know if this makes any difference.
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Wed Mar 31, 2004 7:39 am    Post subject: Reply with quote

Quote:
So, run it again, and choose the option "Let XFree86 Pick". Afterwards you complete Xeasyconf,try your xserver again. The driver in /etc/X11/XF86Config-4 is set to "ati", and you can set it to "radeon", but I don't know if this makes any difference.

This is exactly the way I set X up...
Back to top
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Wed Mar 31, 2004 8:02 am    Post subject: Reply with quote

have the same problem with G4 Radeon 9600 Powerbook.
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
gordin
Guru
Guru


Joined: 11 Oct 2002
Posts: 300
Location: Germany/WI

PostPosted: Wed Mar 31, 2004 9:46 pm    Post subject: Reply with quote

Try to decrease the VertRefresh of your screen in Section Monitor
I use
Code:
VertRefresh  50-75

on my 700Mhz iBook.
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Thu Apr 01, 2004 6:58 pm    Post subject: Reply with quote

Quote:
Try to decrease the VertRefresh of your screen in Section Monitor
I use
Code:
VertRefresh  50-75

on my 700Mhz iBook.

I've set this in my XFConfig's Monitor section but this doesn't help, too.
Back to top
View user's profile Send private message
scruff
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2003
Posts: 142
Location: Boston, MA

PostPosted: Fri Apr 02, 2004 3:04 am    Post subject: Reply with quote

I don't have perfect performance when playing videos under Gentoo-ppc either. I have a 900mhz/640mb radeon 7500 iBook that plays divx and dvd's perfectly in OS X, but jittery and with vid/sound sync problems in Gentoo. I use OS X like 5% of my iBook time, and it's only for playing videos!!! Video's play absolutely perfect on my x86 desktop under linux though (specs in sig) so I know they should with our iBook hardware as well.

The video issue is something I tinker with from time to time but haven't found a solution. Hopefully someone 'in the know' will chime in here soon ;)

Oh yea: When playing a divx on my iBook my CPU useage is like 40%, but on the desktop it's around 2 or 3%. Why is my iBook cpu handling so much of the video load rather than the vid card? I used Xeasyconf, edited XF86config to use the radeon module (which is built as a module in my kernel-2.6.1benh1). My graphics section is the same as tassilo80's above.
_________________

AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ @ oc'd to 2.3ghz
DFI Lanparty UltraD nForce4 SLI
2x1gb Geil PC4000
GeForce 7800GT
Sound Blaster Audigy Platinum
200gb Maxtor DiamondMax 10
74gb WD Raptor 10k RPM
Back to top
View user's profile Send private message
joshuad
n00b
n00b


Joined: 13 Mar 2004
Posts: 15
Location: Morgantown, WV

PostPosted: Sun Apr 04, 2004 3:18 am    Post subject: Reply with quote

Here is a link to a database of config files for PPC.
http://ppcconfdb.sourceforge.net/?id=conf
Not sure if this will help you guys out, but it might give you some ideas.
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 Apr 04, 2004 12:11 pm    Post subject: Reply with quote

That's great Joshua, thanks.

I just scored a G3 900 iBook on ebay for $770 :) It will be my first Mac ever, which should make for plenty of adventure. I'll need all the help I can get. Fortunately, the Gentoo on PPC documentation seems to be very good.
_________________
Ask Questions the Smart Way - by ESR
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Tue Apr 06, 2004 7:28 pm    Post subject: Reply with quote

Quote:
Here is a link to a database of config files for PPC.
http://ppcconfdb.sourceforge.net/?id=conf
Not sure if this will help you guys out, but it might give you some ideas.

A bit confusing this site. It tells me to use the r128 module instead of radeon on my G3 800 MHz iBook with kernel 2.6, although this iBook has a radeon. Nevertheless I tried it, but with r128 there's no graphics at all.
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Thu Apr 15, 2004 10:48 pm    Post subject: Reply with quote

Hi,

I got it. The problem was that I had no /dev/fb0 with my UDEV system. I created it with mknod and now everything works great. No flickering at all.

Regards,
Tassilo
Back to top
View user's profile Send private message
Grapes
n00b
n00b


Joined: 21 Jan 2003
Posts: 43

PostPosted: Tue Aug 10, 2004 3:24 am    Post subject: Reply with quote

tassilo80 wrote:
Hi,

I got it. The problem was that I had no /dev/fb0 with my UDEV system. I created it with mknod and now everything works great. No flickering at all.

Regards,
Tassilo


can anyone tell me how to do this?
Back to top
View user's profile Send private message
soujirou
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: sweden

PostPosted: Wed Aug 11, 2004 10:13 am    Post subject: Reply with quote

yah someone.. tell =)
_________________
ibook 12" G3 800mhz 30gb 384ram
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Thu Aug 12, 2004 3:51 pm    Post subject: Reply with quote

Quote:
can anyone tell me how to do this?

Log into a terminal as root and then
Code:
mknod /dev/fb0 c 29 0


Regards,
Tassilo
Back to top
View user's profile Send private message
Zippy
n00b
n00b


Joined: 28 Jul 2002
Posts: 38

PostPosted: Tue Oct 19, 2004 3:55 pm    Post subject: Ibook 800 DRM working Reply with quote

Im running 2.6.1-benh1 from the 2004.1 cd's on my ibook 800 dual USB.
Ive had nasty screen flickering and all the usual problems.

I thought Id give it all another go when I got bored one night.

First step,

I set all display options to be compiled in. AGPGART DRM etc

Try as I might, with the pre-compiled xfree package, I could not get DRM to work. I tried everything.

Then, after unemerging xfree and a re-emerge and compile, all I had to do was run Xeasyconf and change the device from "ati" to radeon"

Bingo works like a charm now :)
Got sleep/screen dimming working too :D with pbbuttonsd

Happy at last ....

Zippy
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