Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

'Matrox' flag not loading mga module in mplayer

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
19 posts • Page 1 of 1
Author
Message
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

'Matrox' flag not loading mga module in mplayer

  • Quote

Post by Chewwit » Fri Apr 07, 2006 12:53 pm

I'm using the matrox use flag in my make.conf to try and get accelerated mplayer video output.

I cannot find the xmga.o module for the kernel for mplayer play back. It does not appear to have been insmoded into my kernel automatically.

I have created the required /dev/mga_vid node as per the mplayer documentation.

I have a fullset of Mplayer compilation output should anyone wish to peruse it.

Mplayer does give me xmga as a video out option, but when I attempt playback I get a 'Fatal error when opening/initializing the vo device'

Does anyone know where portage places this module when the matrox flag is called (so that I can insert it manually)?

Can the ebuild be modified to create the node automatically, and insert the module into the kernel? The matrox use flag could also be used to tell genkernel to insmod this module after building a more recent kernel, without reqiuiring the remerging of mplayer, or fiddling around with insmod seperately.

I'm happy to report this as a bug if people have no objections, I would also like to hear from anyone who has used this flag successfully, and how they went about it.

Thanks

Chewwit
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Sat Jun 24, 2006 4:12 am

I'm running into similar problems. I have the matrox USE flag enabled, but no mga_vid device or mga/xmga module.

Research points me to a number of posts with hack for older kernels, but nothing recent (and I dislike hacks anyway).

From what I gather, building mplayer with the matrox flag should make the necessary modules. Some posts report that modprobe -f mga_vid works after applying a patch.

I've looked high and low for patches, working sources, etc, and come up with stuff from 2.6.6 and earlier kernels and/or notes that the patches only work for specific older kernels. Methinks this needs to be addressed as a mainline kernel option.

-----
Reasonably related search urls:

http://forums.gentoo.org/viewtopic-t-43 ... gavid.html (similar to this thread)
http://forums.gentoo.org/viewtopic-t-41 ... gavid.html (also similar to this thread but somehow he had success on an older kernel)
http://forums.gentoo.org/viewtopic-t-29 ... vid+o.html (linked from previous page)
http://forums.gentoo.org/viewtopic-t-32 ... gavid.html (somehow he had the module already so all he had to do was force it)

I could include more but those are (sadly) the most recent ones.

Off the forums,

http://www.google.com/search?hl=en&q=cr ... gle+Search (how do I create /dev/mga_vid? Well, apparently it already exists or else you just apply a patch that everyone has and no-one links to) (can you tell I'm frustrated? :) )
http://mgaview.sourceforge.net/using.html (from the above Gooooogle link; seems to have reasonable instructions aside from the fact that things don't match up with my gentoo box as far as the kernel header file OR the ability to find anything on the mplayerhq site)
http://lists.mplayerhq.hu/pipermail/mpl ... 00241.html (email message from someone who appears to maintain the mga_vid kernel patches claiming he hasn't created one for 2.6.15 as of 6 months ago (and now we're up to 2.6.16))
-----

Not sure how much help that is, but figured maybe we needed to consolidate some info.
Top
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

  • Quote

Post by Chewwit » Tue Jul 04, 2006 2:27 pm

I've been away, hence the long period before replying. I think I reported this as a bug, but can't find it in the records, I was looking for it so I could append all this useful info. It is a possibilty that I may not have done, If so are you willing to get some kind of collabrotive text together for another submission?

Chewwit
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Wed Jul 05, 2006 3:19 am

Absolutely.

Right now I'm in the midst of updating to modular Xorg along with the rest of the regularly scheduled portage updates, so it may be a day or two depending on how successful I am :)

Will post back here when I have Xorg running. Suggestions on how to procede at that point?
Top
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

  • Quote

Post by Chewwit » Wed Jul 05, 2006 8:14 am

Am also updating to modular x at the moment :). I'll try and have another loook for the bug, I'm fairly sure I did report it but it doesn't appear in the 'my bugs' section, and keyword searches have so far found nought. If I can't I suggest we submit another with a link to the forum post (the easy option) or we submit some text that summarises your research (requires more work). I don't suppose you've got things working on your system, so we can post a suggested fix?

Chewwit
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Wed Jul 05, 2006 11:36 am

DON'T UPDATE TO MODULAR X!

My X installation is broken right now because I did.

I followed the Gentoo Modular X howto exactly and discovered that my X environment went from merged display to cloned display. X -configure did not produce a usable config file (well, unless by usuable you include "no different behavior than that from the original working file that resulted in cloned screens in modular X"). This despite including the mga VIDEO_CARDS flag in make.conf.....

Attempting to reinstall my mga drivers modules (mga_driv.o, mga_hal_driv.o) resulted in a couple of interesting discoveries:
  • The modules appeared to be identical between the mgadrivers tarball and the modular X install
  • The mgadrivers install shell script refused to install due to version mismatch
  • I followed the engineers' credo: "If it doesn't fit, force it. If it breaks, it needed fixing anyway." So I copied the modules over manually. No change in behavior.
  • I had used quickpkg to keep a backup of my previous X installation, so I emerge -kv'd the old package from /usr/portage/packages/xorg-x11. Apparently the process of installing the modular X and restoring the original X has resulted in the loss (somewhere) of /usr/X11R6, so now I have no working X in any fashion at all.
UGH. :cry:
Top
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

  • Quote

Post by Chewwit » Wed Jul 05, 2006 1:48 pm

Too late.

I'm having problems too, though not as bad as yours. I get a distorted xserver running, with some kind of strange horizontal line distortion which then affects the (previously fine) vesa framebuffer command line when shutdown, forcing a system reboot. am trying to fix it at the moment but may have to resort to downgrading to the old x server.

By the way your /usr/X11R6 should just be a soft link to /usr, but I'm not sure that will fix your problems...

Chewwit
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Wed Jul 05, 2006 2:40 pm

Well...maybe you can avoid the mistakes I made. Friend of mine found a post on this forum page (post by slopop27). He suggests adding MGASDRAM and XINERAMA to the xorg.conf. Take a look at his xorg.conf.

Hopefully it helps :)
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Sat Jul 08, 2006 3:00 am

Making any progress with your dual-head? I managed to get X back to where it runs my monitors in cloned mode.

Looking at the Matrox forums, I found the following items:
  • Matrox Linux forum
  • Matrox forum; someone rebuilt the binary drivers to do dual-head support
I'm still digesting the above.
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Mon Jul 10, 2006 3:09 pm

OK, I've given up on dual-heading for the moment. I've hooked the second head to another box and set up Synergy to tie the two together.

I'm still willing to debug the mga video device error though.
Top
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

  • Quote

Post by Chewwit » Tue Jul 18, 2006 8:56 am

Finally got mine up and running again by enabling the compositor, so Xorg 7.0 is now fully functioning (some two weeks after I started using it). Don't know if that's any help. How's your X coming on? Let me know once your sorted and we can get the bug written up on the original topic :wink:

Chewwit
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Tue Jul 18, 2006 1:44 pm

Fully functioning as in merged mode across two screens rather than cloned mode? If so, tell me how. And what is this "compositor" you speak of?
Top
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

  • Quote

Post by Chewwit » Tue Jul 18, 2006 1:59 pm

Sorry, only use single headed mode, so don't have any idea whether you can get dual displays up and running in extended mode. I have now, however got a functioning x server, which is more than can be said before (If you want checkout bug #140757 for some pictures). To get this running I enabled the compositor, the bit that does fancy transparencies and the like in my xor.conf. there is one built into Xgce4 and apparently it was unhappy running without it enabled on the x server. I then had some problems with firefox and flash, but those too were resolved. For further details try http://gentoo-wiki.com/TIP_Xorg_X11_and_Transparency. I hope this is some help, your obviously having much trouble.

Chewwit
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Tue Jul 18, 2006 2:06 pm

Oh, I'm just using the pseudo-transparency of Eterms. Nothing fancy like true transparency (which I like but don't have the inclination to fool with). I've had X running on a single head since my previous post where I mentioned Synergy.

So...mga_vid bug time? :)
Top
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

  • Quote

Post by Chewwit » Tue Jul 18, 2006 2:14 pm

Ok, how should we go about it? I'm happy submitting a bug with a link to this post. Or do you think it would be better compiling to gether your extensive list of sources as a document first, then appending that?

Chewwit
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Tue Jul 18, 2006 3:01 pm

Eh...my extensive list of sources was mostly google search, on the topics linked above. Other than that, I don't have a list, so this topic is probably sufficient.
Top
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

  • Quote

Post by Chewwit » Tue Jul 18, 2006 3:58 pm

Bug has been submitted (raiding some text from this forum). Its number is #140930, check it out at bugzilla and add your own comments if you feel the need to.

Chewwit
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Tue Jul 18, 2006 4:02 pm

Looks good. I can provide system specific info for my box if you need another platform for the bug report.
Top
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

  • Quote

Post by Chewwit » Tue Jul 18, 2006 5:06 pm

Go for it, just append to that bug.

Chewwit
Top
Post Reply

19 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic