Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Weird Colors - iMac G4 PPC Lamp Model Ubuntu 11.10

  1. #11
    Join Date
    Nov 2006
    Location
    Glasgow
    Beans
    140
    Distro
    Ubuntu

    Re: Weird Colors - iMac G4 PPC Lamp Model Ubuntu 11.10

    Makes sense to me!
    A 1Ghz G4 iMac 'Lampy' with MintPPC 9 & OS X 10.5, a 400Mhz Slot loading G3 iMac with Debian Squeeze & OS X 10.4, a 1Ghz eMac with Lubuntu 12.04 and a 233Mhz Tray Loading G3 iMac with Debian Squeeze & OS X 10.4

  2. #12
    Join Date
    May 2012
    Beans
    1

    Re: Weird Colors - iMac G4 PPC Lamp Model Ubuntu 11.10

    Indeed, this is what worked for me... [2002 iMAC G4 800mhz with NVidia GeForce2 MX]

    I'm a total Linux noob so feel free to correct me if there is/are any easier way to get there.
    I just compiled various tutorials accordingly to this thread wich I used to get it working.

    >installation with 12.04 ppc live cd from there [alt on boot > select the live cd to boot]

    http://cdimage.ubuntu.com/releases/1...op-powerpc.iso

    >this leads to a minimal cli interface so boot with this option

    Code:
    live-powerpc nouveau.modeset=0
    [the live cd will boot with the same "strange" colors as yours [screen is still "readable"]

    >launch the ubuntu full installer on the desktop and follow the steps as usual

    >reboot

    >at yaboot type...

    Code:
    Linux nouveau.modeset=0
    >when the mac has finished booting, open the terminal

    [I followed this tutorial to compile old nv driver]

    http://ubuntuforums.org/showpost.php...9&postcount=27

    >so

    Code:
    sudo nano /etc/apt/sources.list
    >add

    Code:
    deb http://ports.ubuntu.com/ubuntu-ports/ natty universe
    deb-src http://archive.ubuntu.com/ubuntu natty universe
    at the end of the file.

    >then ctrl+O to save > ENTER to confirm > ctrl+x to close

    >then to compile the old nv driver

    Code:
    sudo apt-get update
    sudo apt-get install build-essential fakeroot dpkg-dev
    mkdir nv-build
    cd nv-build 
    apt-get source xserver-xorg-video-nv
    cd xserver-xorg-video-nv-2.1.17                        
    sudo apt-get build-dep xserver-xorg-video-nv
    dpkg-buildpackage -rfakeroot -b
    cd ..
    sudo dpkg -i ./*.deb
    >Then remove the two lines you previously added

    Code:
    sudo nano /etc/apt/sources.list
    Code:
    deb http://ports.ubuntu.com/ubuntu-ports/ natty universe
    deb-src http://archive.ubuntu.com/ubuntu natty universe
    >then ctrl+O > ENTER > ctrl+x

    >then

    Code:
    sudo apt-get update
    >old nv driver is now compiled...

    I then found an xorg.conf file wich seems to work for me [I hope for you too] there

    http://ubuntuforums.org/showthread.php?t=1444986

    >so, open a new txt file > paste the following code in it > save it to file_name.txt [file_name=any name you would like]

    Code:
    Section "Device"
    Identifier "nVidia"
    Driver "nv"
    BusID "PCI:0:16:0"
    Option "FlatPanel" "true"
    Option "FPDither" "true"
    EndSection
    
    Section "Monitor"
    Identifier   "Generic Monitor" 
    Option      "DPMS" 
    HorizSync     59-63
    VertRefresh   50-160
    EndSection
    
    
    Section "Screen"
    	Identifier "Screen0"
    	Device "nVidia"
    	Monitor "Generic Monitor"
    	DefaultDepth 24
    	Subsection "Display"
    	Depth 24
    	Modes	"1024x768"
    EndSubSection
    EndSection
    
    Section "ServerLayout"
    Identifier "ilamp"
    Screen "Screen0"
    #Option "AIGLX" "off"
    EndSection
    
    #Section "Extensions"
    #	Option "Composite" "enable"
    #EndSection
    
    Section "DRI"
    	Mode 0666
    EndSection
    >then [depending on the file_name and the location you choose or simply drag the file into the terminal between "mv" and "/etc/X11/xorg.conf"]

    Code:
    sudo mv file_name /etc/X11/xorg.conf
    >the xorg.conf file is now ready and so is the nv driver, you just now need to make the "nouveau.modeset=0" yaboot paramater permanent [https://wiki.ubuntu.com/PowerPCFAQ#H...r_permanent.3F]

    >to do so

    Code:
    sudo nano /etc/yaboot.conf
    >add

    Code:
    nouveau.modeset=0
    in the appends fields [between the quotes and after what is already there [!separated by a space!] if you would not change anything to the way ubuntu boot natively]

    >now reboot

    Code:
    sudo reboot
    >everything should now works as it has worked for me...
    Last edited by csrunu; May 12th, 2012 at 05:49 PM.

  3. #13
    Join Date
    Dec 2007
    Beans
    10
    Distro
    Ubuntu Development Release

    Re: Weird Colors - iMac G4 PPC Lamp Model Ubuntu 11.10

    Thx csrunu for your great post with all the little things you have to do to be able to use the nv-driver again! Highly appreciate it!

    For the long run: I got a reply from one of the admins at ubuntu brainstorm, that in situations like this you've to file a bugreport against a meta package like xorg-xserver with the plain explanation, that it worked before the upgrade and now doesn't. Maybe in the end there will be some installer, that does all the steps you listed above, that would be installable through synaptic or even during installation - and all this at own risk. Maybe this could be a solution for the dilemma that nouveau needs kms and reintegrating xorg-xserver-video-nv would need a maintainer....

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •