From: Calin B. <cbr...@ya...> - 2007-06-05 17:49:54
|
--- Calin Brabandt <cbr...@ya...> wrote: > > > > --- Calin Brabandt <cbr...@ya...> wrote: > > > >> I compiled 0.9.72 on my Mac mini under Ubuntu > >> Feisty. > >> I can't seem to get X11 video support working. I > >> have > >> a guest Mac OS install of 10.3.9 Panther with the > >> display set to 1024x768x75. The X11 host is > running > >> 1440x900x75. > >> > >> In molrc.video, I have: > >> > >> resolution: 640/480/75 > >> depth: 32 > >> > >> and I've tried other "hinted" video modes in > >> molrc.video and guest modes < 1440x900 I've also > >> tried setting the X11 host to 1280x1024. > >> > >> When I try to force X11 output using > >> > >> enable_console_video: no > >> start_on_console: no > >> autoswitch_console: no > >> > >> I get "No video modes at all was found - exiting" > >> > >> calinb@ppc:~/mol-0.9.72$ Mac-on-Linux 0.9.72 [Jun > 3 > >> 2007 15:47] > >> Copyright (C) 1997-2004 Samuel Rydh > >> Starting MOL session 1 > >> Running in PowerPC 7400 mode, 512 MB RAM > >> Timebase: 41.62 MHz, Bus: 166.48 MHz, Clock: 1416 > >> MHz > >> Using USB mouse on /dev/input/mice > >> OHCI USB controller registered > >> Video driver(s): > >> No video modes at all was found - exiting > >> cleaning up... > >> Terminating threads... > >> DONE > >> > >> I've compiled with and without XDGA support, just > to > >> see if it makes a difference. > >> > >> I quite happy with the Console FB performance but > >> would like to try X11 windowed mode too. Any > help > >> or > >> suggestions are much appreciated. > >> > >> Also, could someone please explain what is lost > in > >> going to 10.4 Tiger and broken MOL > "acceleration?" > >> > >> Thanks again, > >> > >> -Cal > >> > > Can you paste your entire molrc.video? Thanks. > > > > -- > > Nathan Smith > > Thanks, Nathan. I also have the following warning > during the build: > > + Entering Linux > Building modules, stage 2. > WARNING: could not find > /home/calinb/mol-0.9.72/obj-ppc/build/src/kmod/.traps.o.cmd > for > /home/calinb/mol-0.9.72/obj-ppc/build/src/kmod/traps.o > Kernel source : > /lib/modules/2.6.20.3-ubuntu1-mol/build > Module compiled for : > 2.6.20.3-ubuntu1-mol > Running kernel : > 2.6.20.3-ubuntu1-mol > + Entering netdriver > Building modules, stage 2. > > Here's my .config-ppc for the build > # > # Automatically generated make config: don't edit > # > CONFIG_PPC=y > > # > # Machine Specific Build Targets > # > # CONFIG_AMIGAONE is not set > # CONFIG_OLDWORLD is not set > CONFIG_FBDEV=y > CONFIG_X11=y > # CONFIG_VNC is not set > # CONFIG_XDGA is not set > CONFIG_ALSA=y > CONFIG_OSS=y > CONFIG_USBDEV=y > CONFIG_PCIPROXY=y > > # > # Debugging > # > # CONFIG_DEBUGGER is not set > # CONFIG_TTYDRIVER is not set > # CONFIG_SCSIDEBUG is not set > # CONFIG_DUMP_PACKETS is not set > # CONFIG_DHCP_DEBUG is not set > # CONFIG_HOSTED is not set > > # > # Network drivers > # > # CONFIG_TUN is not set > # CONFIG_TAP is not set > CONFIG_SHEEP=y > > I built the latest stock 2.6.20.3 Ubuntu kernel from > source, just to make sure my header files were > correct. I didn't change anything in .config. > > Here's my complete molrc.video: > > # -*- 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 > # > ---------------------------------------------------------------------- > # > # Some config options: > # > # xdisplay: remote.host:0.0 > # use_backing_store: yes/no > # > # Backing store is primarily useful if the > X-connection is remote. > # Note: X11-video is not as fast as full-screen > video. > > enable_xvideo: yes > > > # > ---------------------------------------------------------------------- > # Fullscreen (Console/fbdev) Settings > # > ---------------------------------------------------------------------- > # > # The tool 'molvconfig' is used to configure the > fullscreen mode. > # > # Some config options: > # > # vt: 9 # VT-number to use > # gamma: 1.0 # gamma (parameter between 0.1 and > 1.0) > # gamma: 1.0 1.0 1.0 # gamma (r,g,b) > # > # Ctrl-Cmd-Space switches back to the orignal VT > > enable_console_video: no > > start_on_console: no # switch to console initially > autoswitch_console: no # allow automatic switching > to > console > > #fb_modes: /etc/fb.modes # extra video modes for > molvconfig > > > # > ---------------------------------------------------------------------- > # XDGA (X11 fullscreen) Settings > # > ---------------------------------------------------------------------- > # > === message truncated === I built 0.9.73-SVN and it seems to work. However, when starting in X11 mode, I get a white X window until the OS X desktop comes up (no Tux hugging the apple splashscreen). If I set molrc.video to start in console mode with the line, start_on_console: yes then I get the Tux hugging the apple splashscreen. Regardless, I can switch back and forth between X11 and console modes and all is well so it appears there may be a bug in the released tarball version of mol. -Cal ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/ |