[mythtv-users] Intel Mac Mini, FC6, Myth0.20

Jim Westfall jwestfall at surrealistic.net
Sat Oct 28 01:31:17 UTC 2006


Matt Hannan <mythtvlist at cox.net> wrote [10.27.06]:
> Thanks for the reply.
> Yes, yes I have put a ton of effort into it!
> It is killing me that I am down to the last day of my vacation and I
> have not been able to crack this nut.
> I think that the Mac Mini is the right box to use for a livingroom
> frontend, and I think that a ton of people are in agreement.
> Being able to load your distro of choice on it and get a full-blown and
> working MythTV frontend working should be a no-brainer, but alas.
> And that Xorg.conf is the issue is just beyond me!
> 
> There must be some other mobo's out there running the Intel Corporation
> Mobile 945GM chipset that have this working.
> Everything I am finding, tho, are laptops that are using the LCD and the
> TV-out.
> 
> Ubuntu 6.10 Final yields the same results. Blue screen (with or without
> frame buffering) and the same old errors.
> 

Hi

I use ubuntu 6.10 on my intel mac mini for a mythfrontend connected to a 
dell 2005FPW.

There are pre-built in resolutions in the video bios you may need to 
override.  You can use 915resolution util to list/modify them.

root at imini:~# 915resolution -l
Intel 800/900 Series VBIOS Hack : version 0.5.2

Chipset: 945GM
BIOS: TYPE 1
Mode Table Offset: $C0000 + $269
Mode Table Entries: 36

Mode 30 : 640x480, 8 bits/pixel
Mode 32 : 800x600, 8 bits/pixel
Mode 34 : 1024x768, 8 bits/pixel
Mode 38 : 1280x1024, 8 bits/pixel
Mode 3a : 1600x1200, 8 bits/pixel
Mode 3c : 1680x1050, 8 bits/pixel
Mode 41 : 640x480, 16 bits/pixel
Mode 43 : 800x600, 16 bits/pixel
Mode 45 : 1024x768, 16 bits/pixel
Mode 49 : 1280x1024, 16 bits/pixel
Mode 4b : 1600x1200, 16 bits/pixel
Mode 4d : 1680x1050, 16 bits/pixel
Mode 50 : 640x480, 32 bits/pixel
Mode 52 : 800x600, 32 bits/pixel
Mode 54 : 1024x768, 32 bits/pixel
Mode 58 : 1280x1024, 32 bits/pixel
Mode 5a : 1600x1200, 32 bits/pixel
Mode 5c : 1680x1050, 32 bits/pixel

In my case I want 1680x1050 for my monitor and have '915resolution 5c 1680 
1050' in /etc/rc.local.  The bios modes will reset if you reboot the mini.

Attaching my xorg.conf and a patch for XV on mythtv.

The XV patch fixes blue screen when you try to watch HD content.  There 
are 2 XV ports, the first one claims to handle 1920x1080 but it cant.  The 
patch makes it pick the 2nd port which can do 2048x2048 images.

jim

-------------- next part --------------
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/share/fonts/X11/misc"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"Intel Corporation Mobile Integrated Graphics Controller"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Option          "LinearAlloc"   "32768"
	#VideoRAM	65535
EndSection

Section "Monitor"
        Identifier      "SyncMaster"
        HorizSync       30-83
        VertRefresh     56-75
	UseModes	"16:10"
EndSection

Section "Modes"
	Identifier "16:10"
         Modeline "1280x800"  107.21  1280 1360 1496 1712  800 801 804 835
         Modeline "1280x800"  123.38  1280 1368 1504 1728  800 801 804 840
         Modeline "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848
         ModeLine "1680x1050" 146.2 1680 1784 1968 2256 1050 1051 1054 1087 -hsync -vsync
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation Mobile Integrated Graphics Controller"
	Monitor		"SyncMaster"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1680x1050" "1280x800"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
-------------- next part --------------
Index: libs/libmythtv/videoout_xv.cpp
===================================================================
--- libs/libmythtv/videoout_xv.cpp      (revision 11313)
+++ libs/libmythtv/videoout_xv.cpp      (working copy)
@@ -549,7 +549,7 @@
         VERBOSE(VB_PLAYBACK, LOC + QString("@ j=%1 Looking for flag[s]: %2")
                 .arg(j).arg(xvflags2str(neededFlags[j])));
 
-        for (uint i = 0; i < p_num_adaptors && (port == -1); ++i) 
+        for (int i = p_num_adaptors - 1; i >= 0 && (port == -1); --i) 
         {
             lastAdaptorName = ai[i].name;
             VERBOSE(VB_PLAYBACK, LOC +



More information about the mythtv-users mailing list