LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-01-2004, 09:44 AM   #1
ultrabomberman
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 13

Rep: Reputation: 0
Using each head of a Matrox G400 independently w/ DirectFB


My Matrox G400 outputs to TV beautifully. However, once I start mplayer the monitor (which is on head 1) cuts out and the TV output (on head 2) is activated instead. I assume this is normal and that most people are OK with this arrangement.

However, this machine will primarily be a Freevo box, and I'd still like head 1 to have a console or X so I can still use it as a desktop computer. Freevo will spend the vast majority of the time doing nothing, just waiting for user input or the next recording to start, so I'm not worried about performance really.

Someone who works on DirectFB (Denis Oliver Kropp) talked about this in an interview, so I know it can be done:
Quote:
You can run native applications like DFBTerm, all X11 based applications via XDirectFB, play games using SDL on DirectFB, watch movies on the TV-Out using mplayer's dfbmga backend (while still using other applications on the first head).
So that's precisely what I want, though as of yet I can't find anything on the subject (or I'm using the wrong search terms). Freevo and mplayer would use dfbmga and output to the second head. Can I run a window manager (like Dropline Gnome, my favorite) through head 1?

Thanks for any help!
 
Old 07-02-2004, 08:19 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
I've done this, it was by compiling the matrox framebuffer into the kernel instead of vesa, I ended up with 2 identical virtual terms. kernel boot and all, and could have X start on one and output to the fb on the other. As I remember it, there was little to it other then a recompile. This was of course on a 2 head VGA system, but the idea is the same I assume. The mga framebuffer takes a different boot option or you get the black screen of no fun. They're in the Documentation section in the kernel source.

Cheers,

Finegan
 
Old 07-06-2004, 11:14 PM   #3
ultrabomberman
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 13

Original Poster
Rep: Reputation: 0
Getting there....

I've made some progress. I installed XDirectFB (I can post some links to instructions I followed when I get back to work tomorrow) and I was able to simultaneously have X running (using my favorite window manager Dropline Gnome) and output to the TV with mplayer.

However, playback was slow on the TV and I couldn't get the mouse to work in X. I'm still hunting around for resources and seeing if any random tweaks I make will improve the situation, but if ANYONE has insight on this matter, help me out please!

Thanks.
 
Old 07-06-2004, 11:19 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Just checking, are you using the matrox specific mplayer kernel driver? mga_vid.o, it'll be in the Mplayer source directory in a subdir called drivers, then you can use the -vo mga option...

Cheers,

Finegan
 
Old 07-06-2004, 11:39 PM   #5
ultrabomberman
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 13

Original Poster
Rep: Reputation: 0
It's installed and I can use -vo mga, but I don't understand what that does for me. It just plays on the first head with or without X.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Matrox G400 DRI single-head FrozenMist Linux - Hardware 5 12-26-2004 02:45 PM
Matrox G400 DH and TV-out setup niverson Linux - Hardware 2 09-27-2004 01:51 PM
MATROX G400 and XFree86 4.1.0.1 grcbheax Debian 4 08-07-2004 01:52 PM
Monitor ghosting with Matrox G400 Dual Head Problem kiley_rodgers Linux - Hardware 1 06-07-2004 07:59 PM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration