View previous topic :: View next topic |
Author |
Message |
IsmoHaa n00b
Joined: 25 Jun 2005 Posts: 61
|
Posted: Sun Jul 13, 2008 6:44 pm Post subject: Problem playing movies on projector [SOLVED] |
|
|
I recently bought a Mitsubishi HC4900 projector. Naturally I hooked it up to my Gentoo-box in order to play movies, but there are some odd issues...
When playing a high-def (720p or above) movie on the projector it's dropping lots of frames resulting in either audio sync issues, or jerky playback depending on the player settings. The odd thing is that when playing the same movie on my monitor I get smooth problem-free playback. running "top" while playing the movies reveals that if the movie is played on the projector's desktop, processor usage jumps to 100% as X starts hogging tons of CPU-cycles. (When played on the monitor's desktop processor usage is well below 100%.)
I've tried using both MPlayer and xine, and while the problem seems less serious with xine, it's present with both players. With xine it's as if X ate up 100% of the prosessing power of 1 core, and xine consuming ~30% of the other. With MPlayer it looks as if I had only 1 core where MPlayer & X together would eat up 100% of that one core.
I'm running 64-bit gentoo on an AMD Athlon 64 X2 4800+ with 2GB RAM and a NVidia 5200FX graphics card. The projector is plugged in with a DVI-HDMI-cable, and the monitor with a standard VGA-cable. Does anyone have any idea what's causing any of this?
My xorg.conf-file:
Code: | Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "off"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "dbe"
# Load "dri"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbModel" "pc105"
Option "XkbLayout" "fi"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "LG"
ModelName "L2000C"
HorizSync 28-83
VertRefresh 56-75
Option "UseDisplayDevice" "CRT"
EndSection
Section "Monitor"
Identifier "Projector"
VendorName "Mitsubishi"
ModelName "HC4900"
HorizSync 15.63-75
VertRefresh 50-85.06
Option "dpms"
Option "UseDisplayDevice" "DFP"
Option "ModeValidation" "NoMaxPClkCheck"
# Default modes
Modeline "1280x720" 77.68 1280 1368 1496 1688 720 721 724 767
Modeline "1920x1080" 143.55 1920 1952 2496 2528 1080 1103 1112 1135
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
Option "NoLogo" "true"
VendorName "nVidia Corporation"
BoardName "NV34 [GeForce FX 5200]"
Option "UseDisplayDevice" "CRT"
Option "UseEdidDpi" "FALSE"
Option "NvAGP" "0"
Option "DPI" "96 x 96"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
Option "NoLogo" "true"
VendorName "nVidia Corporation"
BoardName "NV34 [GeForce FX 5200]"
Option "UseDisplayDevice" "DFP"
Option "UseEdidDpi" "FALSE"
Option "NvAGP" "0"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Projector"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1920x1080" "1280x720"
EndSubSection
EndSection
|
Could this line
Option "ModeValidation" "NoMaxPClkCheck"
have anything to do with it? I had to add it in order to get the projector into the 1080p-mode. Without it, it insisted on the 1080i-mode, which looked like complete £%#$!! and was totally unacceptable.
Last edited by IsmoHaa on Mon Jul 14, 2008 5:08 am; edited 1 time in total |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun Jul 13, 2008 7:18 pm Post subject: |
|
|
it's because you use your card in a dual head setup (vs a twinview setup).
In dual setup, only 1 head will be hardware accelerate, the 2nd will be software, and without the help of the card, your system is unable to handle the rate.
nvidia manual wrote: | Hardware that can only be used on one display at a time (e.g.: video overlays, hardware accelerated RGB overlays), and which consequently cannot be used at all when in TwinView, can be exposed on the first X screen when each display is a separate X screen. |
read more here : http://us.download.nvidia.com/XFree86/Linux-x86/173.14.09/README/chapter-15.html |
|
Back to top |
|
|
IsmoHaa n00b
Joined: 25 Jun 2005 Posts: 61
|
Posted: Mon Jul 14, 2008 5:08 am Post subject: |
|
|
Quote: | it's because you use your card in a dual head setup (vs a twinview setup). |
Thanks, man. I'd probably never have figured that one out on my own. I changed my setup so that the projector now gets the acceleration. (I'm not entirely fond of the twinwiev-concept.) Now my monitor isn't accelerated, but considering that I don't run compiz/beryl, and that I don't play games, it shouldn't be that much of an issue. |
|
Back to top |
|
|
baq n00b
Joined: 10 Aug 2008 Posts: 1
|
Posted: Sun Aug 10, 2008 9:09 am Post subject: |
|
|
and there is no way to get hw acceleration to work with twinview on both monitor ? how come ? is it only nvidia driver problem or does ati have the same issue ? separate x screens are too uncomfortably annoying to use |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|