Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"Silly" nVidia question.
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
Shan
Guru
Guru


Joined: 04 Nov 2003
Posts: 558
Location: /dev/null

PostPosted: Fri Jul 07, 2006 3:27 am    Post subject: "Silly" nVidia question. Reply with quote

I'm currently waiting for the postal service to deliver my new (to me) 12" AluBook with the nVidia GPU, and I've been wondering a few things (The following is based on speculation and a general lack of understanding in regards to PPC; which is why I'm here asking questions :lol: )

If Apple ships a unit (in this case a laptop) with an nVidia graphics card then certainly they must have drivers of some sort for it in order to have hardware acceleration; this I think is a fact even though I don't "know" it to be so; if it weren't true then having an nVidia GPU would be a pointless waste of money on Apples part. Whats also true is that OSX is based upon Darwin, a Free(?)BSD kernel, which from my understanding is fairly compatable with the Linux kernel.

So whats stopping us from using the driver that ships with OSX?

My guess(es)?

* Darwin isn't binary compatable with Linux; akin to how Windows isn't compatable with Linux (Speculation, I've never touched a BSD and all my knowledge of it is heresay).

* "Severe" integration within OSX making it hard or impossible to extract and be useable.

* Licensing restrictions that either prevents this from happening entirely (EG "Must be used with OSX") or would require a license to OSX; either of which don't (technically speaking) make it impossible, just morally wrong or only useful for people who use both OSX *and* Linux.

Lastly (and somewhat unrelated but still concerning nVidia); is there an open-source project actively working on 3D capabilities with nVidia cards? I know Xorg has the 2d "nv" driver, and at one point there was a SF project working on riva/tnt/early geforce (I think?) support; and ATi has an opensource implimentation as well as official, but is there an nVidia one? I knew when I bought the laptop that it was unlikely I'd have linux 3d acceleration and I'm okay with that, I'm just wondering if there are alternatives available for me to play around with; even if they're rough around the edges.
_________________
{ NO -U } { STRIP }
{ TINY }
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Jul 07, 2006 3:53 am    Post subject: Reply with quote

Your guesses aren't bad. :p You would have to port all of the MacOSX driver framework and its graphic system (Quartz, not open source) to Linux. Which doesn't get you very far when you're looking for an X driver. The nv driver is intentionally obfuscated and difficult to work with (thanks nVidia) and they have not released any specs. Now, this isn't as bad as it all sounds. The nouveau project (http://nouveau.freedesktop.org/wiki/) is working to create specs to write drivers, but it's slow going. There is also a working driver for Haiku that's open source which supports up to the 6xxx series afaik. This could also be used as a mesa driver, but there are few people who have the time or the inclination to work on porting it. I guess the final word is that there isn't even really any code for you to play with right now, nouveau is the best contender and they don't have much actually written.

Sorry.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
veonline
n00b
n00b


Joined: 21 Mar 2005
Posts: 58

PostPosted: Mon Jul 10, 2006 4:16 pm    Post subject: Reply with quote

something MUST be done!!! i can't see anymore the eyecandy-flashing-macos-things and my poor linux suffer only for scrolling a window :twisted: :twisted:
i'm even disposed to buy a new graphic card, but wich one on the ppc64 arch??
Back to top
View user's profile Send private message
Gura
n00b
n00b


Joined: 28 Jun 2006
Posts: 14
Location: Pola de Lena, Asturias

PostPosted: Mon Jul 10, 2006 8:11 pm    Post subject: Reply with quote

Hello :)
Y have a Powerbook 6,8 with nVidia chipset. Y have a problem with hibernate-script. If I use hibernate script or echo -n disk > /sys/power/state the laptop, it suspend to disk correctly. When I boot again the laptop:
a) I use the Open Firmware Framebuffer (offb or ofonly) and the laptop hibernate and wake up correctly, but brightness control doesn't work.
b) I use nVidia Framebuffer (nvidiafb). The brightness color work, and the laptop hibernate correctly, but wake up don't work.

Code:
eth0 suspending, WakeOnLan disabled


In the common.conf of hibernate-script package, I configured:

Code:
DisableWriteCacheOn /dev/hda
UnloadModules ohci1394 ieee1394 usbhid ehci_hcd ohci_hcd appletouch therm_adt746x
LoadModulesFromFile /etc/modules
DownInterfaces eth0


Anybody has able to suspend to disk and wake up the PowerBook 6,8 with nVidia 5200Go correctly?

Thanks, and sorry by my bad english.
_________________
Solo cuando lo pierdes todo eres libre para actuar.
Back to top
View user's profile Send private message
Shan
Guru
Guru


Joined: 04 Nov 2003
Posts: 558
Location: /dev/null

PostPosted: Mon Jul 10, 2006 8:19 pm    Post subject: Reply with quote

As I understand it suspend to ram ("sleep") doesn't work at all yet with nVidia chipsets; just ATi.
_________________
{ NO -U } { STRIP }
{ TINY }
Back to top
View user's profile Send private message
Gura
n00b
n00b


Joined: 28 Jun 2006
Posts: 14
Location: Pola de Lena, Asturias

PostPosted: Mon Jul 10, 2006 8:52 pm    Post subject: Reply with quote

Yes, but I ask by the suspend to disk ("hibernate"). I believe that it is possible....

I wait for opinions and suggestions ;)

Thanks
_________________
Solo cuando lo pierdes todo eres libre para actuar.
Back to top
View user's profile Send private message
Gura
n00b
n00b


Joined: 28 Jun 2006
Posts: 14
Location: Pola de Lena, Asturias

PostPosted: Mon Jul 10, 2006 9:46 pm    Post subject: Reply with quote

Oh yeah! It is apparently solved. As it failed when initializing the graphic card, and PPC need always a framebuffer console (or not?) I deduced that the problem is /dev/fb0, created by nvidiafb driver (built-in).

I modified /etc/hibernate/common.conf and I added:

Quote:

# DisableWriteCacheOn /dev/hda
IncompatibleDevices /dev/fb0

_________________
Solo cuando lo pierdes todo eres libre para actuar.
Back to top
View user's profile Send private message
Shan
Guru
Guru


Joined: 04 Nov 2003
Posts: 558
Location: /dev/null

PostPosted: Mon Jul 10, 2006 9:50 pm    Post subject: Reply with quote

Sorry, I missed that at the end of your message.

Anyways, if you haven't already, you might want to look at this thread. Theres also the Gentoo-wiki
_________________
{ NO -U } { STRIP }
{ TINY }
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