pycousin / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

gnome-mplayer freezes in lubuntu #558

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Playing any video, film, stream, might make computer freeze. 
2. Player runs fine; minute player is finished computer is frozen. 
3. If player is stopped manually in advance it will not freeze. 

I am using gnome-mplayer 1.0.2 in lubuntu 11.04. Problem is consistent, even 
after clean reinstallation of os. It doesn't happen every time, but often. 
Gnome mplayer is default player in lubuntu. 

It happens regardless of playing downloaded films and videos, and happens both 
in Chromium browser, and Firefox using the flash-video-replacer-addon.  

I have installed VLC on same system, and it does not cause freeze or lock up.  

When freeze happens, it seems to lock either keys/mouse functions and/or 
desktop environment. Sometimes everything is frozen including indicator arrow; 
sometimes arrow can be moved around but nothing will respond. Key commands like 
ctrl-alt-w or any other doesn't work either. F-keys work, like Ctrl-Alt-F1. It 
makes computer log out to a black terminal like screen, and I can give "sudo 
reboot" command. 

This is a rather old Packard Bell computer, but I doubt it is unique for the 
model, as I have had similar experience on a Fujitsu (also lubuntu 11.04).

Regards

Original issue reported on code.google.com by silverli...@gmail.com on 7 Sep 2011 at 7:57

GoogleCodeExporter commented 8 years ago
Does mplayer itself cause the computer to freeze or is it only with 
gnome-mplayer? Also, can you tell me what settings you are using? I would 
suggest using x11 as the vo and alsa or pulse as the audio out.

There is nothing in gnome-mplayer that should cause the entire computer to 
freeze. 

Original comment by kdeko...@gmail.com on 7 Sep 2011 at 12:38

GoogleCodeExporter commented 8 years ago
Gnome mplayer is default in lubuntu and I haven't tried mplayer clean. (I did 
try and download mplayer from package manager, but it seems to be over ridden 
by the default gnome mplayer/gecko setup, and will not turn up as a separate 
option). Setting x11 for video out and either audio output option I try doesn't 
seem to make much difference. 

I am still trying to figure out what is causing the freezes, and they happen 
every  now and then. I have much the same setup of gnome mplayer / gecko 
combination in puppy linux (528) and works trouble free. 

It might be the gnome interface? I think it caen b a sort of desktop / windows 
manager feeze, as ctrl-alt-F1 key and termnial "sudo" commands seem to work.  

Original comment by silverli...@gmail.com on 28 Sep 2011 at 9:21

GoogleCodeExporter commented 8 years ago
Sounds like a possible video driver issue, since you say you can switch to a 
console. I would be interested to know what video chip the machine is using.

Original comment by kdeko...@gmail.com on 28 Sep 2011 at 12:13

GoogleCodeExporter commented 8 years ago
Just for info, the same thing happens on my setup running xubuntu 11.10 and 
gnome-mplayer with front-end to mplayer or mplayer2. The PC completely freezes 
and needs a reboot.

I have resorted to using vlc with no problems so far. I am using the flgrx 
driver from the repos and an Maudio 2496 soundcard via pulseaudio.

Original comment by david.dm...@gmail.com on 6 Nov 2011 at 10:27

GoogleCodeExporter commented 8 years ago
Changing the vo in gnome mplayer may fix this. I have a machine that crashes X 
if gl is selected even though gl works fine with stock mplayer.

Original comment by kdeko...@gmail.com on 6 Nov 2011 at 10:31

GoogleCodeExporter commented 8 years ago
Hi. Same issue here, but *only* in Acer 5050 (ATI Radeon Xpress 1100). Change 
xv, gl, x11, etc., doesn't work. No problems with Nvidia - Intel video cards in 
other laptops - PC - lubuntu 11.04/11.10 (in my experience).

Original comment by mikirr...@gmail.com on 29 Nov 2011 at 4:31

GoogleCodeExporter commented 8 years ago
mikirruka, sounds like a video driver issue, x11 should work however as it is 
the most basic video output. My personal setup is an ATI video card (rv635 
HD3650) using the ATI open source drivers on Fedora 15 64bit.

Original comment by kdeko...@gmail.com on 29 Nov 2011 at 7:41

GoogleCodeExporter commented 8 years ago
I'm agree with your opinion. Do you have any suggestion? (I use the default ATI 
driver in lubuntu). Thanks.

Original comment by mikirr...@gmail.com on 29 Nov 2011 at 10:06

GoogleCodeExporter commented 8 years ago
I'm wondering if you are running out of video ram, and the driver or DRM is not 
dealing with it correctly. Is that video driver running in KMS mode or not? You 
may check dmesg and see how much VRAM is reported 

dmesg | grep -i drm
dmesg | grep -i radeon

Might want to check in the BIOS if you can change the VRAM.

Original comment by kdeko...@gmail.com on 29 Nov 2011 at 10:51

GoogleCodeExporter commented 8 years ago
I am not using the open source radeon driver but the ATI flgrx. I have tried 
changing the sound output to alsa from pulseaudio and today the same lock 
occurred needing a reboot. When it happens on my PC the sound may repeat the 
last few ms and loop continuously as a continuous crack / pop. The screen is 
frozen and I cannot drop to a shell using ctrl-alt method.

For info :-

I am using a Gigabyte ATI 5750 1Gb

dmesg | grep -i fglrx
[   11.210114] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, 
Starnberg, GERMANY' taints kernel.
[   11.319148] [fglrx] Maximum main memory to use for locked dma buffers: 3119 
MBytes.
[   11.319239] [fglrx]   vendor: 1002 device: 68be count: 1
[   11.319658] [fglrx] ioport: bar 4, base 0xc000, size: 0x100
[   11.322582] [fglrx] Kernel PAT support is enabled
[   11.322599] [fglrx] module loaded - fglrx 8.90.5 [Oct 12 2011] with 1 minors
[   77.682915] fglrx_pci 0000:01:00.0: irq 44 for MSI/MSI-X
[   77.683377] [fglrx] Firegl kernel thread PID: 1012
[   77.683416] [fglrx] Firegl kernel thread PID: 1013
[   77.683454] [fglrx] Firegl kernel thread PID: 1014
[   77.683535] [fglrx] IRQ 44 Enabled
[   77.797328] [fglrx] Gart USWC size:1024 M.
[   77.797331] [fglrx] Gart cacheable size:404 M.
[   77.797335] [fglrx] Reserved FB block: Shared offset:0, size:1000000 
[   77.797337] [fglrx] Reserved FB block: Unshared offset:f9cb000, size:335000 
[   77.797339] [fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000 

Original comment by david.dm...@gmail.com on 1 Dec 2011 at 12:10

GoogleCodeExporter commented 8 years ago
I changed the vram 64 to 128 MB in the bios with no results.
My dsmeg info:

dmesg | grep -i drm
[   15.091435] [drm] Initialized drm 1.1.0 20060810
[   15.487793] [drm] radeon defaulting to kernel modesetting.
[   15.487796] [drm] radeon kernel modesetting enabled.
[   15.491197] [drm] initializing kernel modesetting (RS480 0x1002:0x5975).
[   15.491225] [drm] register mmio base: 0xC0100000
[   15.491227] [drm] register mmio size: 65536
[   15.491372] [drm] Generation 2 PCI interface, using max accessible memory
[   15.491392] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[   15.491394] [drm] Driver supports precise vblank timestamp query.
[   15.491417] [drm] radeon: irq initialized.
[   15.491513] [drm] Detected VRAM RAM=128M, BAR=128M
[   15.491518] [drm] RAM width 128bits DDR
[   15.960980] [drm] radeon: 128M of VRAM memory ready
[   15.960983] [drm] radeon: 512M of GTT memory ready.
[   15.961009] [drm] GART: num cpu pages 131072, num gpu pages 131072
[   15.966943] [drm] radeon: 2 quad pipes, 1 z pipes initialized.
[   16.031258] [drm] Loading R300 Microcode
[   16.095912] [drm] radeon: ring at 0x0000000060001000
[   16.095932] [drm] ring test succeeded in 1 usecs
[   16.098066] [drm] radeon: ib pool ready.
[   16.098142] [drm] ib test succeeded in 0 usecs
[   16.104323] [drm] Panel ID String: LPL                     
[   16.104327] [drm] Panel Size 1280x800
[   16.106146] [drm] Radeon Display Connectors
[   16.106150] [drm] Connector 0:
[   16.106152] [drm]   VGA
[   16.106155] [drm]   DDC: 0x68 0x68 0x68 0x68 0x68 0x68 0x68 0x68
[   16.106157] [drm]   Encoders:
[   16.106159] [drm]     CRT1: INTERNAL_DAC2
[   16.106160] [drm] Connector 1:
[   16.106162] [drm]   LVDS
[   16.106164] [drm]   DDC: 0x198 0x198 0x19c 0x19c 0x1a0 0x1a0 0x1a4 0x1a4
[   16.106166] [drm]   Encoders:
[   16.106168] [drm]     LCD1: INTERNAL_LVDS
[   16.106169] [drm] Connector 2:
[   16.106171] [drm]   S-video
[   16.106172] [drm]   Encoders:
[   16.106174] [drm]     TV1: INTERNAL_DAC2
[   16.183694] [drm] radeon: power management initialized
[   16.310916] [drm] fb mappable at 0xC8040000
[   16.310919] [drm] vram apper at 0xC8000000
[   16.310921] [drm] size 4096000
[   16.310923] [drm] fb depth is 24
[   16.310925] [drm]    pitch is 5120
[   16.311118] fbcon: radeondrmfb (fb0) is primary device
[   16.312147] fb0: radeondrmfb frame buffer device
[   16.312150] drm: registered panic notifier
[   16.312159] [drm] Initialized radeon 2.8.0 20080528 for 0000:01:05.0 on 
minor 0

dmesg | grep -i radeon
[   15.487793] [drm] radeon defaulting to kernel modesetting.
[   15.487796] [drm] radeon kernel modesetting enabled.
[   15.487890] radeon 0000:01:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   15.491378] radeon 0000:01:05.0: VRAM: 128M 0x0000000058000000 - 
0x000000005FFFFFFF (128M used)
[   15.491383] radeon 0000:01:05.0: GTT: 512M 0x0000000060000000 - 
0x000000007FFFFFFF
[   15.491417] [drm] radeon: irq initialized.
[   15.960980] [drm] radeon: 128M of VRAM memory ready
[   15.960983] [drm] radeon: 512M of GTT memory ready.
[   15.966943] [drm] radeon: 2 quad pipes, 1 z pipes initialized.
[   16.030648] radeon 0000:01:05.0: WB enabled
[   16.095912] [drm] radeon: ring at 0x0000000060001000
[   16.098066] [drm] radeon: ib pool ready.
[   16.106146] [drm] Radeon Display Connectors
[   16.183694] [drm] radeon: power management initialized
[   16.311118] fbcon: radeondrmfb (fb0) is primary device
[   16.312147] fb0: radeondrmfb frame buffer device
[   16.312159] [drm] Initialized radeon 2.8.0 20080528 for 0000:01:05.0 on 
minor 0

Original comment by mikirr...@gmail.com on 1 Dec 2011 at 1:16

GoogleCodeExporter commented 8 years ago
What versions of mplayer are you using?

Original comment by kdeko...@gmail.com on 1 Dec 2011 at 4:41

GoogleCodeExporter commented 8 years ago
1.0rc4-4.5.2 (mplayer --help info)

Original comment by mikirr...@gmail.com on 1 Dec 2011 at 10:32

GoogleCodeExporter commented 8 years ago
You may want to upgrade to a newer version and see if that helps.

Original comment by kdeko...@gmail.com on 1 Dec 2011 at 1:36

GoogleCodeExporter commented 8 years ago
I loaded lubuntu 11.10 (USB-live) with the newer version of mplayer and the 
issue is gone... it's a (big) clue. Thanks.

Original comment by mikirr...@gmail.com on 1 Dec 2011 at 6:24

GoogleCodeExporter commented 8 years ago
MPlayer SVN-r33713-4.6.1

Maybe this is a power save issue ? I have not had this fault for a while but 
have been watching short programs and tend to pause them regularly (keypress). 
The last crash occurred after a long period of playback without any mouse or 
key-press and about when a power save due to inactivity may kick in. Clutching 
at straws here. To eliminate this I have disabled all power saving and the 
screen saver and will see if it happens again. 

Without any debug output it is hard I guess. It seems the fault occurs on 
lubuntu and xubuntu from these comments. Also using radeon or flgrx driver 
makes no difference. 

Looks like another linux distro has a similar problem.

http://peppermintos.net/viewtopic.php?f=10&t=4142

Original comment by david.dm...@gmail.com on 1 Dec 2011 at 8:03

GoogleCodeExporter commented 8 years ago
Finally, I got it (...for now?):

0.- in lubuntu 11.10 the problem no exist.

(lubuntu 11.04)
1.- (only)  mplayer upgrade doesn't work (tested on lubuntu 11.04)
2.- gnome-mplayer upgrade (1.02 to 1.04) + gecko-mediaplayer (same ppa): no 
hangs, no freezes, no issues.

all upgrades via ppa ...yeah, lazy.

Thanks.

Original comment by mikirr...@gmail.com on 1 Dec 2011 at 8:16

GoogleCodeExporter commented 8 years ago
more details:

with the second ppa 3 packages was updated: gnome-mplayer (1.04) + 
gecko-mediaplayer (1.04) + libva (1.0.12)

https://launchpad.net/~ed10vi86/+archive/video (just for natty)

Original comment by mikirr...@gmail.com on 1 Dec 2011 at 9:57

GoogleCodeExporter commented 8 years ago
updated to mlayer2 and 1.0.5b2~svn2194-0ubuntu2~gmdevppa1

Seems ok now,

Original comment by david.dm...@gmail.com on 19 Dec 2011 at 1:53

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 9 Jan 2012 at 5:41