LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-29-2005, 04:18 AM   #1
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
mplayer doesn't work after reconfiguring xorg


Hi,

I have a nvidia tnt2 riva graphics card, and I'm running Ubuntu 5.04. A few days ago I had a problem with my X server, and I had to reinstall my nvidia drivers and make an xorg.conf file that I accidently deleted.

After getting the X server back up, I'm having trouble using mplayer. This is the error I'm getting:
Code:
VO: [xv] 640x480 => 640x480 Planar YV12
X11 error: BadAccess (attempt to access private resource denied)

MPlayer interrupted by signal 6 in module: decode_video
I tried using other video output drivers, but only "-vo sdl" is working fine. Other vo's such as xv, x11, gl2 are not working. xv used to give me much better output compared to sdl.

I also tried using other media players like gxine and xfmedia. They work fine, and the XV driver also works with them.

Here is my /etc/X11/xorf.conf file, maybe there's some lines I need to add/remove/change?

Code:
Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	RgbPath		"/etc/X11/rgb.txt"
EndSection
Section "ServerFlags"
	Option "AllowMouseOpenFail"
EndSection
Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"extmod"
	Load	"freetype"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
	Load	"glx"
EndSection
Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection
Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection
Section "Device"
	Identifier	"Generic Device"
	Driver		"nvidia"
EndSection
Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection
Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Device"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection
Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Generic Mouse"
EndSection
Edit: I've tried reinstalling mplayer, but it still wont work (using the deb in the ubuntu repository -version 1:1.0-pre6-0.3ubuntu6)
Thanks,
-Aku

Last edited by akudewan; 08-29-2005 at 04:23 AM.
 
Old 08-29-2005, 06:44 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Short answer. Remove mplayer and reinstall it.
 
Old 09-02-2005, 12:53 AM   #3
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 30
I compiled mplayer from source, had many errors during compiling that I fixed.

If anyone is getting this error when using the XV driver,
Code:
 vo: x11 uninit called but X11 not inited..
then you need to install the libxv-dev package. I hope this will help people, since I couln't find anything on google, and most forum threads have the issue unsolved.
 
  


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
Mouse needs reconfiguring, it doesn't work. anagle207 Linux - Newbie 2 06-01-2005 10:33 PM
ati xorg ut2004 mplayer true_atlantis Linux - Software 0 11-30-2004 02:45 PM
xorg doesn't work sharky Arch 4 11-11-2004 04:13 PM
Getting Xorg 6.7 to work with Savage. XFree 3.3.6 RobTek Linux - Newbie 2 10-20-2004 08:49 AM
Mplayer crashes with Xorg (Slack 10) OdieQ Slackware 5 07-07-2004 08:17 AM


All times are GMT -5. The time now is 01:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration