You are not logged in.

#1 2008-11-21 12:49:14

skoder
Member
From: Russia, Saint-Petersburg
Registered: 2008-11-21
Posts: 11

Problems with video playback

Hi all.
My system is: P4 2.6 ghz, ATI Radeon HD 2600 XT 256 DDR3 AGP, 1024 mb DDR RAM.
I installed arch.
Also I installed alsa, codecs, gstreamer codecs, vlc, mplayer, totem, gnome, catalyst dirver, etc. All from repos. Default kernel.

During video playback picture freeze in few seconds each 10-15 minutes, but sounds continue playback. In this freezing time, my CPU raise to 100% utilization according gnome cpu monitor. After few seconds of freezing system comes back. It happens each 10-15 minutes. Compiz is off.
I tried to run video using console, I run mplayer, vlc and totem in console, choose video file and playback. Only vlc shows error message from av codec and "(maybe computer too slow?)" message. Other players show nothing about freezing.
Video file - simple video, not HDTV.

A have ubuntu on another HDD, in ubuntu video playback is ok.


My xorg.conf from arch

cat xorg.conf
Section "ServerLayout"
   Identifier     "Default Layout"
   Screen      0  "aticonfig-Screen[0]-0" 0 0
   Option       "AIGLX" "on"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "xtrap"
        Load  "record"
        Load  "GLcore"
        Load  "glx"
        Load  "freetype"
EndSection

Section "InputDevice"
   Identifier  "Generic Keyboard"
   Driver      "kbd"
   Option       "XkbRules" "xorg"
   Option       "XkbModel" "pc105"
   Option       "XkbLayout" "us,ru"
   Option       "XkbVariant" ",winkeys"
   Option       "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
#   Identifier  "Configured Mouse"
#   Driver      "mouse"
#   Option       "CorePointer"
#EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[0]-0"
   Option       "VendorName" "ATI Proprietary Driver"
   Option       "ModelName" "Generic Autodetecting Monitor"
   Option       "DPMS" "true"
EndSection

Section "Device"
   Identifier  "aticonfig-Device[0]-0"
   Driver      "fglrx"
   Option       "UseFastTLS" "1"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]-0"
   Device     "aticonfig-Device[0]-0"
   Monitor    "aticonfig-Monitor[0]-0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "DRI"
   Mode         0666
EndSection

Section "Extensions"
   Option       "RENDER" "Enable"
   Option       "DAMAGE" "Enable"
   Option       "Composite" "Enable"
EndSection

Help me, please.

p.s. sorry about my English. neutral

Thanks.

Last edited by skoder (2008-11-30 14:07:11)

Offline

#2 2008-11-21 13:21:37

idosh
Member
Registered: 2008-11-07
Posts: 42

Re: Problems with video playback

Check this thread, it might help you.

Offline

#3 2008-11-21 13:49:04

skoder
Member
From: Russia, Saint-Petersburg
Registered: 2008-11-21
Posts: 11

Re: Problems with video playback

It really can help me, I think.
Today I will try it.
Thank you.

Offline

#4 2008-11-24 06:45:05

skoder
Member
From: Russia, Saint-Petersburg
Registered: 2008-11-21
Posts: 11

Re: Problems with video playback

Yes, it works!
Thank you!

Last edited by skoder (2008-11-24 07:17:52)

Offline

#5 2008-11-30 14:17:51

skoder
Member
From: Russia, Saint-Petersburg
Registered: 2008-11-21
Posts: 11

Re: Problems with video playback

Sorry, but this problem not solved yet.
Freezes haven`t  disappeared, but were shorter and more often (each ~ 5 min). CPU raises not to 100%, but 50-60%. These freezes not so terrible, but they are. I can see these freezes even in tvtime, when I watching tv.

My current xorg.conf.

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
    Option        "AIGLX" "on"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "dbe"
    Load  "dri"
    Load  "xtrap"
    Load  "record"
    Load  "GLcore"
    Load  "glx"
    Load  "freetype"
    Load  "drm"
EndSection

Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "kbd"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "us,ru"
    Option        "XkbVariant" ",winkeys"
    Option        "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"

    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    Option        "VideoOverlay" "on"
    Option        "OpenGLOverlay" "off"
    Option        "UseFastTLS" "1"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    Monitor    "aticonfig-Monitor[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "DRI"
    Group        "video"
    Mode         0666
EndSection

Section "Extensions"
    Option        "RENDER" "Enable"
    Option        "Composite" "Enable"
EndSection

nopat option exists in menu.lst.

$ uname -a
Linux fabian 2.6.27-ARCH #1 SMP PREEMPT Fri Nov 14 09:33:13 UTC 2008 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GenuineIntel GNU/Linux
$ fglrxinfo 
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 2600 XT AGP
OpenGL version string: 2.1.7873 Release

Maybe I should install fglrx from amd.com? Maybe I should install radeondHD instead catalyst? Any other solutions?
Thanks.

Last edited by skoder (2008-11-30 19:12:43)

Offline

#6 2008-11-30 15:57:04

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: Problems with video playback

Cataylst 8.11 just got added to extra, try updating in the repos first.

Offline

#7 2008-11-30 19:19:43

skoder
Member
From: Russia, Saint-Petersburg
Registered: 2008-11-21
Posts: 11

Re: Problems with video playback

I`ve just run pacman -Syu. Catalyst has not been updated.

Offline

#8 2008-12-01 00:15:41

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: Problems with video playback

Try again, usually it takes a while for it to get in. You will also have your xorg-server updated as well for driver compatibility reasons.

EDIT: You can check in the package updates as well, just to reaffirm: http://www.archlinux.org/packages/?arch … =&limit=50

Last edited by Acecero (2008-12-01 00:19:50)

Offline

#9 2008-12-03 20:08:18

skoder
Member
From: Russia, Saint-Petersburg
Registered: 2008-11-21
Posts: 11

Re: Problems with video playback

I made update.
Now I have catalyst 8.11. I`m testing video playback with different players, it take some time. I`ll write about results.

By the way, today I found another strange bug with fglxr. While I resizing x-chat window, X locked and all key combinations not working. Only hard reset can reboot computer. After that, in /var/log/messages.log I found these lines:

Dec  3 22:47:33 fabian [fglrx] ASIC hang happened
Dec  3 22:47:33 fabian Pid: 3474, comm: Xorg Tainted: P          2.6.27-ARCH #1
Dec  3 22:47:33 fabian [<f8dea65e>] _ZN4Asic16WaitForBitsClear19ConditionSuccessfulEv+0x1e/0x70 [fglrx]
Dec  3 22:47:33 fabian [<f8d67929>] firegl_hardwareHangRecovery+0x19/0x30 [fglrx]
Dec  3 22:47:33 fabian [<f8de99db>] _ZN4Asic9WaitUntil15ResetASICIfHungEv+0xb/0x20 [fglrx]
Dec  3 22:47:33 fabian [<f8de9977>] _ZN4Asic9WaitUntil15WaitForCompleteEv+0x97/0xf0 [fglrx]
Dec  3 22:47:33 fabian [<f8df434c>] _ZN8AsicR60016ASICIdleInternalEN4Asic15idle_WaitMethodE+0xcc/0x1f0 [fglrx]
Dec  3 22:47:33 fabian [<f8dc5b86>] QSSubmitList+0x56/0x170 [fglrx]
Dec  3 22:47:33 fabian [<c0310000>] cpu_init+0x8/0x29a
Dec  3 22:47:33 fabian [<f8de811c>] _ZN4Asic7PM4idleENS_15idle_WaitMethodE+0x4c/0x80 [fglrx]
Dec  3 22:47:33 fabian [<f8de1245>] _ZN15QS_PRIVATE_CORE7PM4idleEN4Asic15idle_WaitMethodE+0x35/0x70 [fglrx]
Dec  3 22:47:33 fabian [<f8dce3f1>] _ZN10QS_PRIVATE11synchronizeEv+0x31/0x40 [fglrx]
Dec  3 22:47:33 fabian [<f8dc5cb7>] QSSynchronize+0x17/0x20 [fglrx]
Dec  3 22:47:33 fabian [<f8dcf0b9>] _Z14uQSSynchronizej+0x19/0x20 [fglrx]
Dec  3 22:47:33 fabian [<f8dd780b>] _Z8uCWDDEQCjjjPvjS_+0x3db/0x1260 [fglrx]
Dec  3 22:47:33 fabian [<f8dc51a4>] CMMQS_uCWDDEQC+0x34/0x40 [fglrx]
Dec  3 22:47:33 fabian [<f8d86b92>] firegl_cmmqs_CWDDE_32+0x402/0x4b0 [fglrx]
Dec  3 22:47:33 fabian [<c01c64a6>] proc_get_sb+0x96/0x160
Dec  3 22:47:33 fabian [<f8d852dd>] firegl_cmmqs_CWDDE32+0x8d/0x140 [fglrx]
Dec  3 22:47:33 fabian [<c01220d7>] __dequeue_entity+0x57/0xc0
Dec  3 22:47:33 fabian [<f8d85250>] firegl_cmmqs_CWDDE32+0x0/0x140 [fglrx]
Dec  3 22:47:33 fabian [<f8d85250>] firegl_cmmqs_CWDDE32+0x0/0x140 [fglrx]
Dec  3 22:47:33 fabian [<f8d62717>] firegl_ioctl+0x227/0x2b0 [fglrx]
Dec  3 22:47:33 fabian [<c01c64a6>] proc_get_sb+0x96/0x160
Dec  3 22:47:33 fabian [<c01c64a6>] proc_get_sb+0x96/0x160
Dec  3 22:47:33 fabian [<c01c64a6>] proc_get_sb+0x96/0x160
Dec  3 22:47:33 fabian [<f8d576b7>] ip_firegl_ioctl+0x17/0x20 [fglrx]
Dec  3 22:47:33 fabian [<c01c64a6>] proc_get_sb+0x96/0x160
Dec  3 22:47:33 fabian [<c0197038>] vfs_ioctl+0x78/0x90
Dec  3 22:47:33 fabian [<c01970b7>] do_vfs_ioctl+0x67/0x2f0
Dec  3 22:47:33 fabian [<c01973a6>] sys_ioctl+0x66/0x70
Dec  3 22:47:33 fabian [<c0103ef3>] sysenter_do_call+0x12/0x33
Dec  3 22:47:33 fabian [<c01c64a6>] proc_get_sb+0x96/0x160
Dec  3 22:47:33 fabian =======================
Dec  3 22:47:33 fabian pubdev:0x1f8f142a0, num of device:-119273289 , name:<NULL>, major 55, minor 0.
Dec  3 22:47:33 fabian device 0 : 0xf8e408b7f7d84000 .
Dec  3 22:47:33 fabian Asic ID:0x9586, revision:0x1a, MMIOReg:0x8f8c60000.
Dec  3 22:47:33 fabian FB phys addr: 0xe0000000, MC :0xe0000000, Total FB size :0x10000000.
Dec  3 22:47:33 fabian gart table MC:0xeff73000, Physical:0x0, size:0x88000.
Dec  3 22:47:33 fabian mc_node :MC_NODE__AGP, total 1 zones
Dec  3 22:47:33 fabian MC start:0xd0000000, Physical:0xd0000000, size:0x10000000.
Dec  3 22:47:33 fabian Mapped heap -- Offset:0x0, size:0x2000000, reference count:5, mapping count:0,
Dec  3 22:47:33 fabian mc_node :MC_NODE__FB, total 1 zones
Dec  3 22:47:33 fabian MC start:0xe0000000, Physical:0xe0000000, size:0x10000000.
Dec  3 22:47:33 fabian Mapped heap -- Offset:0x0, size:0xff73000, reference count:6, mapping count:0,
Dec  3 22:47:33 fabian Mapped heap -- Offset:0x0, size:0x1000000, reference count:1, mapping count:0,
Dec  3 22:47:33 fabian Mapped heap -- Offset:0xff73000, size:0x88000, reference count:1, mapping count:0,
Dec  3 22:47:33 fabian Mapped heap -- Offset:0xfffb000, size:0x1000, reference count:1, mapping count:0,
Dec  3 22:47:33 fabian Mapped heap -- Offset:0xfffc000, size:0x4000, reference count:1, mapping count:0,
Dec  3 22:47:33 fabian mc_node :MC_NODE__GART_CACHEABLE, total 3 zones
Dec  3 22:47:33 fabian MC start:0xbf400000, Physical:0x0, size:0x10c00000.
Dec  3 22:47:33 fabian Mapped heap -- Offset:0xc00000, size:0x100000, reference count:1, mapping count:0,
Dec  3 22:47:33 fabian Mapped heap -- Offset:0xb00000, size:0x100000, reference count:1, mapping count:0,
Dec  3 22:47:33 fabian Mapped heap -- Offset:0xa00000, size:0x100000, reference count:1, mapping count:0,
Dec  3 22:47:33 fabian Mapped heap -- Offset:0x900000, size:0x100000, reference count:1, mapping count:0,
Dec  3 22:47:33 fabian Mapped heap -- Offset:0x200000, size:0x700000, reference count:2, mapping count:0,
Dec  3 22:47:33 fabian Mapped heap -- Offset:0x0, size:0x200000, reference count:2, mapping count:0,
Dec  3 22:47:33 fabian Mapped heap -- Offset:0x0, size:0x11000, reference count:1, mapping count:0,
Dec  3 22:47:33 fabian Dump the trace queue.
Dec  3 22:47:33 fabian End of dump

It looks nice, yeah? mad

Offline

#10 2008-12-03 23:28:55

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: Problems with video playback

skoder wrote:

I made update.
By the way, today I found another strange bug with fglxr. While I resizing x-chat window, X locked and all key combinations not working. Only hard reset can reboot computer.

You should to take a good look at Xorg input hotplugging

To brief it up, the new Xorg that you also upgraded (like I mentioned before) apparently has hotplugging enabled by default for input devices such as mouse and keyboard and the default layout is in US. You need to make sure you install the xf86-input-evdev driver and configure hal for the correct layout or disable hotplugging to use your xorg.conf settings, to have them working, unfortunately.

You are not the only one with these problems: http://bbs.archlinux.org/viewtopic.php?id=59993&p=1

skoder wrote:

After that, in /var/log/messages.log I found these lines:...

Try fixing your hotplugging issue first. If it still is a problem. I would recommend going with the opensource drivers such radeon, radeonhd.

Offline

#11 2008-12-05 21:53:33

czappa
Member
Registered: 2008-12-05
Posts: 2

Re: Problems with video playback

Hi!

I have same problem here. If I use catalyst then system freezes for seconds in every few minutes, but I have to use it because tvtime didn't worked with vesa nor with the opensource ati driver.
(I also tried with radeonhd, but it didn't worked, and as I read it is because radeonhd doesn't work with xorg 7.4).

$ uname -a
Linux myhost 2.6.27-ARCH #1 SMP PREEMPT Fri Nov 28 10:35:44 UTC 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux
Video card: Radeon HD 3850

$ lspci   
...
01:00.0 VGA compatible controller: ATI Technologies Inc RV670PRO [Radeon HD 3850]
...

Did somebody find a solution for this problem?
Thanks for any advise!

Offline

#12 2008-12-06 18:50:52

Inkaine
Member
From: Germany
Registered: 2008-07-14
Posts: 88

Offline

#13 2008-12-06 21:16:48

czappa
Member
Registered: 2008-12-05
Posts: 2

Re: Problems with video playback

Thank you! That helped, now it seems to be working correctly.

Offline

Board footer

Powered by FluxBB