Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eMac and linux
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Thu Mar 06, 2003 1:27 pm    Post subject: eMac and linux Reply with quote

Hi all,

I installed gentoo linux succesfully on my eMac, now I have compiled X11, gnome and KDE too on it.
I tried to get them running, but there seems to be a video problem.
Now I heard from a guy on IRC that linux won't run, because of video misfunction. It won't run on any eMac.
Is this true????????
Or is there a way to get it running on my mac???

Tnx in advance :)
Back to top
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Thu Mar 06, 2003 5:10 pm    Post subject: To give some more info.. Reply with quote

Since he isn't too experienced with Linux, and I am experienced with PC Linux, I helped him with installing Linux on his PPC.

The only way we can get the kernel to boot is by adding:

append="video=ofonly" to yaboot.conf, or by simply leaving OpenFirmware support as only one enabled in framebuffer devices in the kernel configuration.

But if we do this, the only way we can get X11 to start, is by using the fbdev driver. And the fbdev driver does not work with more than 8-bit colors, and since the colors are completely screwed up in 8-bit colors, that is really not an option either.

This eMac is equipped with a GeForce2 MX, so I take it the rivafb driver should be used instead. But when that is selected, the kernel echos some info, and then very quickly turns the screen blank.
The only way to boot is using openfirmware, as far as we've found out so far.

Isn't there any kernel patch available to make it work with eMacs?

The kernel he's using is 2.4.20 with the ben-patches.
_________________
Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Fri Mar 07, 2003 6:22 am    Post subject: Reply with quote

the eMacs are known to still hae major problems with rivafb

unforunately I think the only setup possible right now is with ofonly video :(

All I can suggest is to wait for the kernel to stabalize a bit for that machine.
Back to top
View user's profile Send private message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Fri Mar 07, 2003 3:21 pm    Post subject: Reply with quote

hehe, I'll wait for it then :(

benh tried to make a patch yesterday, but that didn't work also :\
do you have any idea how loing it would take for the developers to get everything running on the eMac ??? :)
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Fri Mar 07, 2003 6:58 pm    Post subject: Reply with quote

no idea honestly, but it seems like they've have very little to no exposure to these machines at all. :(
Back to top
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Fri Mar 07, 2003 10:47 pm    Post subject: Reply with quote

Well, at least benh seems to own one. His patch changed the screen from blacking out to producing a nice white line in the center of the screen, but still hanging.

Isn't there anyone else with proper knowledge out there with an eMac then?
_________________
Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755
Back to top
View user's profile Send private message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Mon Mar 17, 2003 6:45 pm    Post subject: Reply with quote

bumping this thread again :P

is there any advantage in the developing of a stable kernel for the eMac???
Back to top
View user's profile Send private message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Mon Mar 17, 2003 6:46 pm    Post subject: Reply with quote

bumping this thread again :P

is there any advantage in the developing of a stable kernel for the eMac???
Back to top
View user's profile Send private message
Koalawalawala
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2003
Posts: 84
Location: Minneapolis, MN

PostPosted: Mon Mar 17, 2003 7:08 pm    Post subject: *ahem* Reply with quote

I used to fiddle with the x86 kernel; and I've been fiddling with Apple hardware since II-GS. :wink:

So now I have this beautiful (thanks Gerk), super-duper, new 15" powerbook. And that doesn't help you, since I use ATI. There used to be a group of people who hacked GeForce support and fiddled with X a lot. I think an evening of googling will give you a few people to start speaking to.

After all, they're two well known things; a PowerPC-based motherboard with (judging by the price on store.apple.com) well-established components, and a Geforce chipset which just happens to have a strange memory register, or address, or _something_ just a bit kinky.


Here's hoping you get that bad boy zooming :)

-Koala
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Tue Mar 18, 2003 4:52 am    Post subject: Reply with quote

I think its mostly the fact right now that the rivafb and the xfree drivers (which should be MUCH better in 4.3.0) just dont know how to deal with the non standard modelines that those tubes require....

As usual apple cant do normal thing like 75hz refresh rates, but I alwasy see things like 74.5hz , etc .. so I dunno there's a lot to be done aside from find a refresh rate and/or modelines that work for that machine, bu dont count on the drivers to take care of that for you ;)
Back to top
View user's profile Send private message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Tue Mar 18, 2003 6:47 am    Post subject: Reply with quote

I see, well I'm just a linux noob, so I guess I'll have to waith untill somebody else has fixed this problem :\
Back to top
View user's profile Send private message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Wed Mar 19, 2003 8:41 pm    Post subject: Reply with quote

Hey all,
I just heard that Yellow Dog Linux 3.0 is out.
It now has eMac support, does this mean that it should run gentoo soon now too????/
Would be very nice :D

Key features of Yellow Dog Linux 3.0 include:

6 CDs (3 install, 3 source).
Modern, robust Anaconda installer engine.
kernel 2.4.20.
gcc 3.2.1 and glibc 2.3.1.
XFree86 4.3, GNOME 2.2, and KDE 3.1.
Mac-On-Linux 0.9.68 (Classic Mac OS & OS X 10.2 -at the same time!).
Improved hardware support including Apple eMac , all GeForce 4-based Power Macs, and PowerBook 12".
3D support for ATI Radeon series graphics cards.
Sleep support for all Apple ATI Radeon Mobility-based portables.
Back to top
View user's profile Send private message
Koalawalawala
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2003
Posts: 84
Location: Minneapolis, MN

PostPosted: Wed Mar 19, 2003 9:56 pm    Post subject: outdated by dist method Reply with quote

Gentoo offers newer (ARCH="~ppc") versions of most listed apps. I'm running a sturdy gcc 3.2.2-r1 with a sleep/snooze enabled kernel, at (after fiddling with XF86Config) over 1800 fps on my PB 1GHz...

So if YDL has support for the eMac, then you just need more 'quality' time with your refresh rates. If you don't want to approach dedicated fiddlers, I suggest Apple's developer site. You have to register to view it, but it contains really super documentation (hardware specs... and more) on everything they support.

Besides, Gentoo will always be faster. :wink:

-Koala
Back to top
View user's profile Send private message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Tue Mar 25, 2003 8:10 am    Post subject: Reply with quote

hey all,
With the help of benh and slice (I saw them on IRC)
I got the correct modelines for my eMac monitor, and now I can run X
I'm totally happy now :)
Back to top
View user's profile Send private message
sisob
Apprentice
Apprentice


Joined: 28 Jun 2002
Posts: 274
Location: Ireland

PostPosted: Sun Mar 30, 2003 8:24 pm    Post subject: Reply with quote

OSXrocks wrote:
hey all,
With the help of benh and slice (I saw them on IRC)
I got the correct modelines for my eMac monitor, and now I can run X
I'm totally happy now :)


you should really post up those modelines and this thread should probably then be made sticky...
_________________
Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum
Back to top
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Sun Mar 30, 2003 10:46 pm    Post subject: Reply with quote

I happen to have 'm, as I helped 'OSXRocks' with installing Gentoo and getting X up and running.

This is the text you should add to the monitor section of XF86Config

Code:

      # 1024x768 @ 89.00 Hz (GTF) hsync: 72.00 kHz; pclk: 99.07 MHz
      Modeline "1024x768_89.00"  99.07  1024 1088 1200 1376  768 769 772 809 +HSync +VSync
      # 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
      Modeline "1280x960_72.00"  124.54  1280 1368 1504 1728  960 961 964 1001  +HSync +Vsync
      # 1152x864 @ 80.00 Hz (GTF) hsync: 72.40 kHz; pclk: 112.36 MHz
      Modeline "1152x864_80.00"  112.36  1152 1224 1352 1552  864 865 868 905  +HSync +Vsync
      # 1024x768 @ 89.00 Hz (GTF) hsync: 72.00 kHz; pclk: 99.07 MHz
      Modeline "1024x768_89.00"  99.07  1024 1088 1200 1376  768 769 772 809  +HSync +Vsync
      # 800x600 @ 112.00 Hz (GTF) hsync: 71.68 kHz; pclk: 76.84 MHz
      Modeline "800x600_112.00"  76.84  800 848 936 1072  600 601 604 640  +HSync +Vsync


Also, make sure the HorizSync and VertRefresh in the Monitor section match the ones listed above.
Code:

HorizSync 70.0 - 75.0
VertRefresh 70 - 120

works for him.

After that, you need to replace the normal resolution tags in the Screen -> Display section with the ones listed above, eg 800x600_112.00, 1024x768_89.00 etc etc.
For this all you can use the XFree86 4.3 nv driver.

That should do the trick, good luck.
_________________
Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755
Back to top
View user's profile Send private message
ApexGT
n00b
n00b


Joined: 05 Apr 2003
Posts: 4

PostPosted: Sat Apr 05, 2003 12:57 pm    Post subject: Reply with quote

Is it workin' :?: :?: :?:
Back to top
View user's profile Send private message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Sat Apr 05, 2003 3:05 pm    Post subject: Reply with quote

of course it works :)
Back to top
View user's profile Send private message
ApexGT
n00b
n00b


Joined: 05 Apr 2003
Posts: 4

PostPosted: Sat Apr 05, 2003 3:37 pm    Post subject: Reply with quote

OK, Thanks! :P
Back to top
View user's profile Send private message
kittehs
n00b
n00b


Joined: 18 Mar 2003
Posts: 5
Location: michigan

PostPosted: Sat Apr 05, 2003 8:13 pm    Post subject: MOL with eMac Reply with quote

now if someone can show me how to get MOL running correctly w/ an eMac, i will be impressed. :?
Back to top
View user's profile Send private message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Sat Apr 05, 2003 10:04 pm    Post subject: Reply with quote

well I haven't got MOL running either :P
so I guess that has to be figured out :)
Back to top
View user's profile Send private message
kittehs
n00b
n00b


Joined: 18 Mar 2003
Posts: 5
Location: michigan

PostPosted: Tue Apr 08, 2003 11:07 pm    Post subject: MOL now working Reply with quote

just upgraded the kernel on my eMac to benh-r10, and now MOL works. :P :P
Back to top
View user's profile Send private message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Wed Apr 09, 2003 7:58 am    Post subject: Reply with quote

well that's really cool :D
I already have the sources of the ben10 kernel (since Thursday) but I haven't got the time to install them :P
Back to top
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Wed Apr 09, 2003 12:09 pm    Post subject: Reply with quote

you lazy git :p
_________________
Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755
Back to top
View user's profile Send private message
OSXrocks
n00b
n00b


Joined: 17 Feb 2003
Posts: 24

PostPosted: Wed Apr 09, 2003 12:57 pm    Post subject: Reply with quote

got teh kernel running now,
but could you tell me how to run mol????
It won't run here :(
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
Goto page 1, 2  Next
Page 1 of 2

 
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