[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Playing DVDs on Debian



try the 'ati' driver

X runs really poorly in just framebuffer, its not hard to
be tricked into thihking 'x works, so it must be aok'. thats
not true on a mac.


ive got dvds to run on an imac in linux, with all deb packages
dont worry. well get you there!


Dean

Adam wrote:
On Wed, 2004-07-07 at 13:23, Michael Heldebrant wrote:
On Wed, 2004-07-07 at 14:49, Adam wrote:

On Wed, 2004-07-07 at 11:42, Michael Heldebrant wrote:
On Wed, 2004-07-07 at 13:30, Adam Done wrote:

On Wed, 2004-07-07 at 10:16, Guido Guenther wrote:
On Wed, Jul 07, 2004 at 09:57:19AM -0700, Adam wrote:

Do you have dri working on this computer?  Check with glxinfo (Should
say in the third line)  If DRI is not on that could explain why it's
very choppy.

Is liba52-0.7.4 installed to handle the 5.2/5.1 sound?

This is my output..... I also have dri enabled for the x server

$ glxinfo
name of display: :2.0
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

display: :2  screen: 0
direct rendering: No
server glx vendor string: SGI

<-SNIP->

It says that DRI dDirect rendering) is not enabled.  What kernel vresion
are you running?  Please provide the output of:

uname -a


Linux asterix 2.4.25-ben1.asterix3 #1 Sun Jun 27 10:34:57 PDT 2004 ppc
GNU/Linux.  I have not yet been able to compile a working 2.6 kernel
sooo I am making sure I get some things to work before I head over to
the newer kernel, i.e. DVD.


cat /proc/modules


$ cat /proc/modules sheep 5088 0
mol                    48484   0
ipsec                 280984   2
snd-powermac           37892   2 (autoclean)
snd-pcm-oss            46248   0 (autoclean)
snd-mixer-oss          15088   0 (autoclean) [snd-pcm-oss]
snd-pcm                67476   0 (autoclean) [snd-powermac snd-pcm-oss]
snd-timer              16948   0 (autoclean) [snd-pcm]
snd-page-alloc          6552   0 (autoclean) [snd-pcm]
snd                    37896   2 (autoclean) [snd-powermac snd-pcm-oss
snd-mixer-oss snd-pcm snd-timer]



lspci

$ lspci
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc Rage 128
PF/PRO AGP 4x TMDS
0000:10:0b.0 Host bridge: Apple Computer Inc. UniNorth PCI
0000:10:0d.0 PCI bridge: Digital Equipment Corporation DECchip 21154
(rev 05)
0000:11:03.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1
(rev 07)
0000:11:07.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 02)
0000:11:08.0 USB Controller: Apple Computer Inc. KeyLargo USB
0000:11:09.0 USB Controller: Apple Computer Inc. KeyLargo USB
0000:11:0a.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394
Controller
0000:21:0b.0 Host bridge: Apple Computer Inc. UniNorth Internal PCI
0000:21:0f.0 Ethernet controller: Apple Computer Inc. UniNorth GMAC (Sun
GEM)




dpkg -l kernel\* |grep ii

$ dpkg -l kernel\* |grep ii
ii  kernel-build-2 2.6.6-2        build infrastructure for kernel
version 2.6.
ii  kernel-headers 2.6.6-2        header files for the Linux kernel
version 2.
ii  kernel-image-2 Custom.1       Linux kernel binary image for version
2.4.25
ii  kernel-image-2 Custom.1       Linux kernel binary image for version
2.4.25
ii  kernel-image-2 Custom.1       Linux kernel binary image for version
2.4.25
ii  kernel-image-2 Custom.1       Linux kernel binary image for version
2.4.25
ii  kernel-image-2 2.4.25-8       linux kernel pmac and yaboot binary
image fo
ii  kernel-image-2 Custom.1       Linux kernel binary image for version
2.6.3-
ii  kernel-image-2 2.6.6-2        Linux kernel image for 2.6.6-powerpc
ii  kernel-modules 2.4.25-8       linux kernel modules for the powerpc
config
ii  kernel-package 8.091          A utility for building Linux kernel
related ii kernel-patch-b 2.6.5.2-1 Kernel patch allowing to use partly-bad RAM ii kernel-patch-b 20031005 improved Power Macintosh support for
the Lin
ii  kernel-patch-d 2.4.25-3       Debian patches to Linux 2.4.25
ii  kernel-patch-d 2.6.3-2        Debian patches to Linux 2.6.3
ii  kernel-patch-d 2.6.6-2        Debian patches to Linux 2.6.6
ii  kernel-patch-g 2.0-1          grsecurity kernel patch - new major
upstream
ii  kernel-patch-p 2.6.6-2        improved PowerPC support for the Linux
kerne
ii  kernel-patch-s 0.99.34        Scripts to help dealing with packaged
kernel
ii  kernel-patch-s 3-8            Separate Kernel Address Space patch
ii  kernel-patch-u 20040603-1     User-mode Linux (kernel patch)
ii  kernel-patch-x 1.3.1-3        XFS Filesystem support for Linux
2.4.22, 2.4
ii  kernel-source- 2.4.25-3       Linux kernel source for version 2.4.25
with ii kernel-source- 2.6.3-2 Linux kernel source for version 2.6.3
with D
ii  kernel-source- 2.6.6-2        Linux kernel source for version 2.6.6
with D
ii  kernel-tree-2. 2.4.25-3       Linux kernel tree for building
prepackaged D
ii  kernel-tree-2. 2.6.3-2        Linux kernel tree for building
prepackaged D
ii  kernel-tree-2. 2.6.6-2        Linux kernel tree for building
prepackaged D



include your XF86Config-4 as an attachment please.

Hopefully this is the case:
For 2.4 series (not sure for 2.6) you need the danzer dri trunk packages
for dri.

If this is the case put this in your sources list:

deb http://people.debian.org/~daenzer/dri-trunk-sid ./

apt-get update and apt-get install xlibmesa-gl1-dri-trunk
xserver-xfree86-dri-trunk drm-trunk-module-src

go to /usr/src and tar -xvf drm-trunk.tar.gz

Go into your kernel-source directory (if you don't have one we can work
around this)

if you have kernel-package installed you should be able to:

make-kpkg modules_image

to get an installable drm-modules deb appropriate for your kernel.

Then make sure that agpgart and radeon (or whatever your cards module
is) are loaded, in that order and restart x.  Hopefully this will get
dri working.



Ok.. I installed the module package and then inmod mga and r128.. now.. I can't even restart the xserver.. I tried changing my drivers in XFree86-4 config file and now it is unworkable.  I will look over what I have done but so far.. i have unloaded the mga r128 modules and fiddled with my xserver drivers.  Nothing yet. I wonder if after all this time I have been working with an unaccelerated xserver.

-Adam


------------------------------------------------------------------------

# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"macintosh"
	Option		"XkbLayout"	"us"
EndSection

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

Section "Device"
	Identifier	"ati128"
	Driver		"fbdev"
#        Driver          "r128"
	BusID		"PCI:0:16:0"
#	Option		"UseFBDev"		"true"
EndSection

Section "Monitor"
	Identifier	"apple"
	HorizSync	30-60
	VertRefresh	60
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ati128"
	Monitor		"apple"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024"
	EndSubSection
EndSection

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

Section "DRI"
	Mode	0666
EndSection




Reply to: