You are not logged in.

#1 2011-05-08 19:00:08

Redostrike
Member
Registered: 2010-02-07
Posts: 37

xine fullscreen CPU at 100%

Hi,

When i watch a movie or myepisodes my xine races my cpu to 100%.

I have tried other video drivers in xine but nontheless.

Some info you guys might need:

- WM: Openbox
- Dual Monitor Setup whit following screens:
  a. Samsung Syncmaster 940nw
  b. Neovo F-419

lspci -v

....
02:00.0 VGA Compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
....

Xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option "BlankTime" "0"
    Option "StandbyTime" "0"
        Option "SuspendTime" "0"
    Option "OffTime" "0"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc/"
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/OTF/"
    FontPath     "/usr/share/fonts/Type1/"
    FontPath     "/usr/share/fonts/100dpi/"
    FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
    Load  "glx"
    Load  "extmod"
    Load  "record"
    Load  "dri2"
    Load  "dbe"
    Load  "dri"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      410   260    # mm
    Identifier   "Monitor0"
    VendorName   "SAM"
    ModelName    "SyncMaster"
    HorizSync    30.0 - 81.0
    VertRefresh  56.0 - 75.0
    Option        "DPMS"
        Option        "PreferredMode" "1440x900"
        Option      "Primary" "True"
EndSection

Section "Monitor"
    Identifier  "Monitor1"
    VendorName  "AGNeovo"
        ModelName   "F-419"
    HorizSync   24-80
    VertRefresh 49-75
        Option      "DMPS"
        Option      "LeftOf" "Monitor0"
        Option        "PreferredMode" "1280x1024"
        Option        "Primary" "False"
EndSection

Section "Device"
    Identifier  "RV100"
    Driver      "radeon"
    BusID       "PCI:2:0:0"
        Option      "Monitor-VGA-0"  "Monitor0"
    Option        "Monitor-DVI-0"  "Monitor1"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "syncm"
    SubSection "Display"
        Modes "1280x1024" "1440x900"
        Depth     24
        Virtual  2720 1024
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

xrandr

Screen 0: minimum 320 x 200, current 2720 x 1024, maximum 4096 x 4096
VGA-0 connected 1440x900+1280+0 (normal left inverted right x axis y axis) 410mm x 257mm
   1440x900       59.9*+   75.0  
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 375mm x 301mm
   1280x1024      60.0*+   75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
S-video disconnected (normal left inverted right x axis y axis)

I hope this is enough to go on.

Offline

#2 2011-05-13 02:06:58

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: xine fullscreen CPU at 100%

hmmm... does that radeon chip even have linux support?

is this a recent problem or has it always happened?

what is your cpu model?

have you tried using something other than xine?  maybe gstreamer plugins would work better, or vlc

Offline

#3 2011-05-13 07:40:50

Redostrike
Member
Registered: 2010-02-07
Posts: 37

Re: xine fullscreen CPU at 100%

Not sure if it supports it i've seen ubuntu forums use them and they worked. Not sure if this counts.

Just made this linux box 2 weeks ago it has happend since the start.

Wel cat /proc/cpuinfo gives me:

redostrike ~ $ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.00GHz
stepping        : 4
cpu MHz         : 1992.410
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm up pebs bts
bogomips        : 3986.85
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 32 bits virtual
power management:

Not the best one out there but still it should run good.

vlc, mplayer are even worse the have lots of lags. Havent tried gstreamer yet will look into that.

I've been tweaking my xorg.conf a bit and now i can get a larger screen out of it but the cpu still goes to 100%.

This is the Device section now.

Section "Device"
    Identifier  "ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]"
    Driver      "radeon"
    Option        "ColorTiling" "On"    
        Option        "EnablePageFlip" "On"
    Option      "DisplayPriority" "BIOS"
        Option      "RenderAccel" "On"
        Option      "AccelMethod" "XAA"
    Option      "XAANoOffScreenPixMaps"
    Option      "AGPMode" "8"
    BusID       "PCI:2:0:0"
        Option      "Monitor-VGA-0"  "Monitor0"
    Option        "Monitor-DVI-0"  "Monitor1"
EndSection

Offline

#4 2011-05-13 13:44:43

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: xine fullscreen CPU at 100%

yes your cpu should definitely be good enough.  my netbook has a 900mhz celeron and that can even play fullscreen flash videos without using 100% of the cpu.

if you keep your arch install up to date, you should have xorg 1.9 or 1.10, in which case xorg.conf is basically not in use.  i'm not sure if changing it does anything today; i know its still useful for proprietary nvidia drivers if you want to enable something like coolbits but thats basically it.

i checked the amd website and there is no official driver for the radeon 7000 series.  i'm pretty sure the earliest edition they support is the 9000 series, and even then that is pretty glitchy.  i believe there are open source drivers that support your gpu but i'm not entirely sure.  if you have the proper video drivers installed you should be able to run a simple 3d program like glxgears.

if all else fails, you could use llvmpipe, although on a 2ghz p4 that is probably going to butcher your performance almost as badly as not having video drivers at all - its worth a shot anyway (if open source drivers don't work out).

you still didn't answer 1 of my questions from before: has this problem always happened or did it just recently occur?

Offline

#5 2011-05-13 18:33:21

Redostrike
Member
Registered: 2010-02-07
Posts: 37

Re: xine fullscreen CPU at 100%

I definatly know changing xorg.conf has a use cause i did this to get my dual monitor setup going. When i do X -version it says:

X.Org X Server 1.10.1
Release Date: 2011-04-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.38-ARCH i686 
Current Operating System: Linux redoserv 2.6.38-ARCH #1 SMP PREEMPT Tue May 3 06:04:40 UTC 2011 i686
Kernel command line: root=/dev/disk/by-uuid/57a2ab6e-b39e-4a59-b131-264f98081e69 ro 5
Build Date: 16 April 2011  12:05:35PM
 
Current version of pixman: 0.20.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.

So thats up to date.

The open source drivers your talking about is prolly catalyst which i already have tried but then i cant get into X.

I did answer that question i think:
Just made this linux box 2 weeks ago it has happend since the start. => what i mean is that it has happend always.

Offline

#6 2011-05-13 20:03:23

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: xine fullscreen CPU at 100%

no, catalyst is NOT open source, thats closed source/proprietary.

honestly at this point if all ati drivers, closed and open, do not work you are probably better off getting a separate video card.  the radeon 7000 series has never had good linux support even when they were new.  if your computer has intel integrated graphics, you are better off with that than the ati card.  crappy video with working drivers is better than great video with non-working drivers.

i'd recommend you get some cheap agp nvidia card online, like a geforce 4.  on ebay you should find something for a really decent price.

Offline

#7 2011-05-13 21:06:42

Redostrike
Member
Registered: 2010-02-07
Posts: 37

Re: xine fullscreen CPU at 100%

yeah i was confused for a bit there alas i've tried catalyst and xf86-video-ati but i cant seem to get it right. As your prolly saying it's just that it does not support them. The problem with onboard video is that i only have one slot and i'm used to having a dual monitor setup so it's going to be looking for an other agp card. I might have one laying around though but it's late now so i dont want to search now prolly something i can do tomorrow. Anyways i have some resource to get one if i dont have one lying around.

Thanks for the help appreciate it.

Offline

Board footer

Powered by FluxBB