Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: iMac G4 24-bit Color

  1. #1
    Join Date
    Sep 2007
    Location
    Milwaukee, WI
    Beans
    268
    Distro
    Ubuntu Development Release

    iMac G4 24-bit Color

    Alright, this issue is staring to get a bit annoying. I've got several PPC Mac's that I'm playing with Linux on. Each of them is a G4, and the two that I'm toying with now use nVidia graphics (Geforce 6200 in PowerMac, and a Geforce 4 440 Go in a iMac G4).

    On both machines, when I install from the debian netinstall CD, I end up with what looks like a 16 bit environment. I've played a little with Xorg.conf (after creating it), but still end up with ugly colors.

    My Xorg.conf is as follows (for the iMac - 17''):

    Code:
    Section "Device"
    Identifier "Configured Video Device"
    BusID   "PCI:0:16:0"
    Driver  "nouveau"
    EndSection
    
    Section "Screen"
        Identifier    "Default Screen"
        Monitor       "Configured Monitor"
        Device        "Configured Video Device"
    SubSection "Display"
    		Depth		24
    		Modes		"1440x900" "1152x720" "1024x768" "1024x640" "800x600"
    	EndSubSection
    		Depth		1
    		Modes		"1440x900" "1152x720" "1024x768" "1024x640" "800x600"
    	EndSubSection
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
    	Screen		"Default Screen"
    EndSection
    
    #Section "DRI"
    #	Mode	0666
    #EndSection
    DRI is commented out right now, just to see if it was causing issues.

    Running 'lsmod' shows that the nouveau module is loaded, but 'glxinfo' lists 'Software Rasterizer' and 'Mesa Project' for the 'renderer string' and 'vendor string' fields, respectively.

    Am I missing something obvious, or just too tired? I saved this 800 mhz iMac from a dumpster earlier (just needed a hard drive), and am looking to put it to use. It's future may have a mini-ITX x86 swap, but for now, I'd like to see what it is capable of.

  2. #2
    Join Date
    Aug 2011
    Location
    Nowhere near you
    Beans
    82
    Distro
    Ubuntu Studio 11.04 Natty Narwhal

    Re: iMac G4 24-bit Color

    Maybe just adding

    DefaultDepth 24

    right before SubSection "Display" will give you the results you're looking for.

  3. #3
    Join Date
    Sep 2007
    Location
    Milwaukee, WI
    Beans
    268
    Distro
    Ubuntu Development Release

    Re: iMac G4 24-bit Color

    I'll give that a try in the morning. I figured deleting the other sections (Depth=16, 8 and 4) would have been sufficient. I didn't even have an Xorg.conf to start. I tried running Xorg -configure from a chroot'ed shell, but it didn't do any good...gave me some error. I started my Xorg.conf from a file someone else posted that was a semi-similar setup.

  4. #4
    Join Date
    Aug 2011
    Location
    *Splat*
    Beans
    40
    Distro
    Ubuntu Development Release

    Re: iMac G4 24-bit Color

    Remember--- to save configurations you have to be root.

    Since you possibly are using VM ware you might not get the full recognition of driver support. It shows that you are only using default drivers. Meaning you are not loading the correct or absolute drivers for Ubuntu. I'm not too sure of how you would go about that since I am not on a Mac and never used a Mac OSx.

    You could try a workaround of Looking for hex conversion tools then attempt to *COPY*[Don't move or delete location file] and paste the driver for your monitor into the loader after you use a conversion tool.

    You can find Mac OSX conversion tool... Mainly their only used in Terminal.

    You can also use the Terminal to mount the Mac OSX hard drive... You will need a MAC OSX mounter. You would tell it
    # mount <OSX drive>

    That would *possibly* help Ubuntu see the Macintosh shell... You can insert an auto mount command( If it works when mounting the OSX shell) in the fstab loader.
    The fstab.conf is located in the /etc/ folder.

    The fstab is loader that tells the shell to automount drives
    You would insert a command into your fstab like...

    /dev/<MACOSX drive> /proc <sda1 / ext4 /ubuntu partition> fs 0 1

    The < > show that you need to insert your CPU specific variable.

    To learn more information about the use of fstab...
    Do a manual lookup
    type
    $ man fstab
    in your Terminal console. That will tell you some tid bit of the mounter.


    Do not remove anything or add/change other variables in your fstab UNLESS the mount helps ubuntu work with it better.

  5. #5
    Join Date
    Aug 2011
    Location
    Nowhere near you
    Beans
    82
    Distro
    Ubuntu Studio 11.04 Natty Narwhal

    Re: iMac G4 24-bit Color

    Quote Originally Posted by pkmgarf View Post
    I figured deleting the other sections (Depth=16, 8 and 4) would have been sufficient.
    That just fills the various optionsl like the dropdown the gui. You still need to tell it where to start.

    what's Xorg -configure tell you?
    Last edited by Furball588; August 4th, 2011 at 05:55 AM.

  6. #6
    Join Date
    Aug 2011
    Location
    Nowhere near you
    Beans
    82
    Distro
    Ubuntu Studio 11.04 Natty Narwhal

    Re: iMac G4 24-bit Color

    Quote Originally Posted by EkuquoL View Post
    Remember--- to save configurations you have to be root.

    Since you possibly are using VM ware you might not get the full recognition of driver support. It shows that you are only using default drivers. Meaning you are not loading the correct or absolute drivers for Ubuntu. I'm not too sure of how you would go about that since I am not on a Mac and never used a Mac OSx.

    You could try a workaround of Looking for hex conversion tools then attempt to *COPY*[Don't move or delete location file] and paste the driver for your monitor into the loader after you use a conversion tool.

    You can find Mac OSX conversion tool... Mainly their only used in Terminal.

    You can also use the Terminal to mount the Mac OSX hard drive... You will need a MAC OSX mounter. You would tell it
    # mount <OSX drive>

    That would *possibly* help Ubuntu see the Macintosh shell... You can insert an auto mount command( If it works when mounting the OSX shell) in the fstab loader.
    The fstab.conf is located in the /etc/ folder.

    The fstab is loader that tells the shell to automount drives
    You would insert a command into your fstab like...

    /dev/<MACOSX drive> /proc <sda1 / ext4 /ubuntu partition> fs 0 1

    The < > show that you need to insert your CPU specific variable.

    To learn more information about the use of fstab...
    Do a manual lookup
    type
    $ man fstab
    in your Terminal console. That will tell you some tid bit of the mounter.


    Do not remove anything or add/change other variables in your fstab UNLESS the mount helps ubuntu work with it better.
    He's not running a vm

    Nor are they running OS X

    anf whats the fstab have to do with xorg?

  7. #7
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: iMac G4 24-bit Color

    You don't have a "Monitor" Section, while it is mentioned in the "Screen" Section...

    You can also fall back to the nv driver, have a look here:

    http://mac.linux.be/content/xorgconf-ilamp-g4-1-ghz
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  8. #8
    Join Date
    Sep 2007
    Location
    Milwaukee, WI
    Beans
    268
    Distro
    Ubuntu Development Release

    Re: iMac G4 24-bit Color

    ^^^I knew you'd chime in eventually.

    I found that page on your site yesterday. I tried falling back to nv, but it didn't get installed by default, and I can't find it in the repos either. I haven't looked at sources.list at all, but I could have sworn nv was in the standard debian PPC repos.

    I don't have time to play with this thing right now, but I'll try some things after work. I don't remember the exact error that Xorg -configure threw, but I think it was because I tried to run it while chrooted into my system from the debain rescue CD.

    I will try Xorg -configure again from the actual install, and not the rescue CD. How do I stop the Xserver? I tried the standard init.d/gdm stop or whatever it is, but it appears that that doesn't stop gdm3?

    I guess I could login single user, but I'd like to know how to stop GDM.
    Last edited by svtguy88; August 4th, 2011 at 03:29 PM.

  9. #9
    Join Date
    Sep 2007
    Location
    Milwaukee, WI
    Beans
    268
    Distro
    Ubuntu Development Release

    Re: iMac G4 24-bit Color

    I added "DefaultDepth" as well as a "Monitor" section, following the link above. I still get nasty colors, and glxinfo reports using a software rasterizer.

    When I tried running Xorg -configure, it complains about "number of created screens does not match number of detected devices."

    I'm off to work again for the day...hopefully I can tinker more when I get home.

  10. #10
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: iMac G4 24-bit Color

    I would turn off KMS (kernel mode setting) and use the nv driver...
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

Page 1 of 4 123 ... LastLast

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
  •