bad color depth in osx

tristan tristan at open3net.com
Tue Aug 2 03:26:45 MDT 2005


hi there, i got a problem with mol and my powerbook G4 17'' (nvidia)
i can run startmol -X, osx starts successfully, BUT,
display is garbaged, it seems that color depth is not correct, only 16
colors displayed.

any clue? what could cause this? is it due to my framebuffer config?
my terminal screen VT1-6 is in high resolution, but i don't know where i
could configure the color depth for console framebuffer...
on x86 machines, i append vga=791 to kernel parameters in grub, but on
ppc?

thanks for your help!!!



Here are my config files:

############################# /etc/mol/molrc.video (left default)
# -*- perl -*- (for emacs syntax coloring)
#
# Mac-on-Linux video configuration
#
# ----------------------------------------------------------------------
# Startup Resolution (this is used as a hint only)
# ----------------------------------------------------------------------
resolution:             640/480/75     # width/height/Hz
depth:                  32


# ----------------------------------------------------------------------
# X11 Settings
# ----------------------------------------------------------------------
enable_xvideo:          yes

# ----------------------------------------------------------------------
# Fullscreen (Console/fbdev) Settings
# ----------------------------------------------------------------------
enable_console_video:   yes
start_on_console:       no       # switch to console initially
autoswitch_console:     yes      # allow automatic switching to console
#fb_modes:           /etc/fb.modes   # extra video modes for molvconfig

# ----------------------------------------------------------------------
# XDGA (X11 fullscreen) Settings
# ----------------------------------------------------------------------
enable_xdga_video:      no

# ----------------------------------------------------------------------
# VNC Settings
# ----------------------------------------------------------------------
enable_vncvideo:        no      # Enable the VNC server
vnc_port:               5900    # port to use for VNC
###############################################################

############################# /etc/mol/molrc.osx (left default)
# -*- perl -*- (for emacs syntax coloring)
#
#  /etc/mol/molrc.osx
#
#  Mac-on-Linux master configuration file for MacOS X booting
#
#------------------------------------------------------------------------------
# Parse other config files (these files are in /etc/mol/)
#------------------------------------------------------------------------------
include         ${etc}/molrc.video      # video configuration
include         ${etc}/molrc.input      # mouse and keyboard
include         ${etc}/molrc.net        # networking
include         ${etc}/molrc.sound      # sound

#------------------------------------------------------------------------------
# Misc Settings
#------------------------------------------------------------------------------
ram_size:               256
disable_altivec:        no

#------------------------------------------------------------------------------
# OS X Volumes
#------------------------------------------------------------------------------
blkdev:                 /dev/cdrom      -cd ${cdboot}

ifempty ${altconfig} {
    # default configuration
    blkdev:             /dev/hda3       -rw
    blkdev:             /dev/sda        -rw
    blkdev:             /dev/sdb        -rw

} else {
    # alternate configuration
    blkdev:             /tmp/osx.image  -rw
    #blkdev:            /dev/loop0      -rw
}


#------------------------------------------------------------------------------
# SCSI configuration (also relevant for IDE CDs and other SCSI-like
devices)
#------------------------------------------------------------------------------
autoprobe_scsi:         yes

#------------------------------------------------------------------------------
# USB Configuration
#------------------------------------------------------------------------------
enable_usb:             yes
#############################################################


############ /var/lib/mol/fb_modes
1440 900 1440 900 0 0 10000 16 16 16 16 8 8 0 0
1 0 8 1536 0 0 0 0 0 0 0
################################



More information about the mol-general mailing list