You are not logged in.

#1 2008-01-21 22:28:42

OmegaX
Member
Registered: 2008-01-21
Posts: 6

MPlayer lost gl and gl2 Video Ouput

I installed mplayer yesterday and configured it to use gl2 as video output, tested it with some videos and everything was fine.
Afterwards I did a system update and a newer version of MPlayer was downloaded with it, then I opened a video and got an error message that video could not be initialized. I checked the options and the gl and gl2 output options dissappeared so I had to change the video output to xv.
How can I restore gl2 video output? I have a GNOME desktop and the latest nvidia packages from the repository.

Offline

#2 2008-01-21 22:33:29

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: MPlayer lost gl and gl2 Video Ouput

It's probably related to the xorg-server update that broke a lot of things bug... try downgrading xorg-server to version 1.4.0.90-3 and if that doesn't work for you than the problem is mplayer.

BTW do you, by any chance, come from Bulgaria? (I'm asking, cause I know someone who uses exactly the same nickname.(and comes from Bulgaria, of course))


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2008-01-21 22:38:37

OmegaX
Member
Registered: 2008-01-21
Posts: 6

Re: MPlayer lost gl and gl2 Video Ouput

I'm from Peru, it seems my nickname is somewhat popular because I don't find it available always in some of the forums I subscribe.
Thanks for the reply, I'll try that as soon as I can, just for curiosity, what things did that update break?

Offline

#4 2008-01-21 22:51:53

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: MPlayer lost gl and gl2 Video Ouput

Well... a lot of things... eclipse, VLC, amule, azureus, xaralx, etc... it would seem it effects allmost all java/wxwidgets programs...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#5 2008-01-21 22:54:08

OmegaX
Member
Registered: 2008-01-21
Posts: 6

Re: MPlayer lost gl and gl2 Video Ouput

Wow, I hope it gets fixed soon, I just installed Archlinux yesterday and I wanted to install azureus and eclipse after mplayer.

Offline

#6 2008-01-22 01:36:48

OmegaX
Member
Registered: 2008-01-21
Posts: 6

Re: MPlayer lost gl and gl2 Video Ouput

I couldn't downgrade the package, I think it wasn't in the cache or something. It seems the problem is with the mplayer package itself.
According to this bug report: http://bugs.archlinux.org/index.php?do= … sk_id=9288
If I compile the package from source there is no problem, I commented on the bug report and I hope it gets fixed soon.

Offline

#7 2008-01-22 04:02:22

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: MPlayer lost gl and gl2 Video Ouput

For curiosity: why are you using gl2?

I always used xv and I always had better performance... smile

@+

Offline

#8 2008-01-22 14:21:13

OmegaX
Member
Registered: 2008-01-21
Posts: 6

Re: MPlayer lost gl and gl2 Video Ouput

Shaika-Dzari wrote:

For curiosity: why are you using gl2?

I always used xv and I always had better performance... smile

@+

Isn't gl and gl2 video output supposed to use OpenGL? I have a nvidia graphics card with its drivers installed so I thought it would be the most logical choice for me.
Anyway it is a bug, because gl was before and with the new version is gone.

Offline

#9 2008-01-22 14:55:38

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: MPlayer lost gl and gl2 Video Ouput

OmegaX wrote:

Isn't gl and gl2 video output supposed to use OpenGL? I have a nvidia graphics card with its drivers installed so I thought it would be the most logical choice for me.

Not to detract from your problem here, but the xv driver is far superior to the gl family.

Last edited by skottish (2008-01-22 14:56:05)

Offline

#10 2008-01-22 15:40:15

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: MPlayer lost gl and gl2 Video Ouput

recompile the package using abs. that's the solution smile


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2008-01-22 16:48:44

OmegaX
Member
Registered: 2008-01-21
Posts: 6

Re: MPlayer lost gl and gl2 Video Ouput

How do I recompile a package? In my old distro I just compiled mplayer from the SVN source because the one in the repo was very old. Also if I recompile this package wouldn't it be replaced when I update the system again?

Offline

#12 2008-01-22 17:09:57

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: MPlayer lost gl and gl2 Video Ouput

OmegaX wrote:

How do I recompile a package? In my old distro I just compiled mplayer from the SVN source because the one in the repo was very old. Also if I recompile this package wouldn't it be replaced when I update the system again?

Read up on ABS and makepkg in the wiki. If you don't want to pull down the entire ABS tree, you can find Mplayers build files from searching for mplayer on the main page, and going to the CVS entry to the right.

Note: I don't know if the ABS wiki page has been updated. It now requires that you explicitly download the package 'abs'.

Offline

#13 2008-01-22 21:16:12

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: MPlayer lost gl and gl2 Video Ouput

skottish wrote:

Not to detract from your problem here, but the xv driver is far superior to the gl family.

Same opinion here.
I have a nvidia card and Xv offers far more performance than gl or gl2.
Try it. smile

Offline

#14 2008-01-22 21:24:58

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: MPlayer lost gl and gl2 Video Ouput

Shaika-Dzari wrote:
skottish wrote:

Not to detract from your problem here, but the xv driver is far superior to the gl family.

Same opinion here.
I have a nvidia card and Xv offers far more performance than gl or gl2.
Try it. smile

I've not tested in terms of performance, but when I use the Xv output driver all media players (not just mplayer) give me flat colors on my laptop. Gl output has always given me nice colors and performance seems to be good enough for me so I haven't looked into it.

Offline

#15 2008-01-23 03:02:17

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: MPlayer lost gl and gl2 Video Ouput

This may be a little hard to see, but it illustrates the point between gl and xv. If you look at the gl cut (left) and compare it to the xv cut (right), you'll see how 'grainy' it is. In fact, it's less than half of the resolution of the other. This is exactly the same behavior I've found in all of the Linux video players I've tried with both gl and gl2 (and most every other video driver).

gl_xv.png

Offline

Board footer

Powered by FluxBB