LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-19-2006, 04:11 PM   #1
tmoorman
Member
 
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Rep: Reputation: 15
Question NVidia driver + DVI + xine = strange video play


I am having a strange problem with the nvidia driver, a dvi lcd monitor and xine.
The video hardware is an MSI GFX 5700 LE-TD with 128 mb connected via DVI to a ViewSonix VX924

After installing kubuntu 6.06.1 I installed the following via adept:
- linux-image-2.6.15-27-686 (replaced the 386 version)
- linux-restricted-modules-2.6.15-27-686
- nvidia-glx (1.0.8776)
- libxine-extracodecs
- xine-ui

I tried playing an avi file (RIFF (little-endian) data, AVI, 640 x 368, 23.98 fps, video: DivX 5, audio: Dolby AC3 (6 channels, 48000 Hz)). All other video files (mpg, wmv, etc) have the same result.

Xine starts as normal with a rectangular window. From this point on the strange behaviour starts.
The window resizes to one half the width of the screen and the height of the screen (from the top of the monitor to the top of the panel at the bottom).
The video is stretched to fit the window height but is right cropped to fit in the middle third of the window.
The audio plays as normal.

After installing the latest nvidia driver (1.0.9629), after removing the old one via adept, the video played ok. However, when I reboot the strange behaviour returns.

xine plays as expected using the analog plug (ie. no stretching and resizes ok to full screen).
I really want to use the DVI output since it is much better than the analog.

Anyone have any suggestions about how to fix this?

Tom
 
Old 11-19-2006, 05:27 PM   #2
tmoorman
Member
 
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Original Poster
Rep: Reputation: 15
** Update ** NVidia driver + DVI + xine = strange video play

I have discovered why installing the latest nvidia driver 'fixed' the problem. It is not the new driver but starting x (startx) from a console that seems to 'fix' it. I logout from the kde desktop, choose 'Console logon' from the logon screen and logon as my normal user. I enter 'startx' and when kde finishes loading, xine works as expected.

I have used Kubuntu for a couple of months now. Shortly afer installing 6.06.1, I reinstalled 6.1. Under edgy xine work fine. However, other problems related to X ('out of range' messages on my monitor which forced a hard reboot, among the most annoying) prompted me to go back to dapper. It was only with the re-install of dapper that I have encountered this problem.

The only error I am getting in the x server log is this:
information, error opening security policy file etc/X11/xserver/SecurityPolicy
 
Old 11-30-2006, 07:34 PM   #3
tmoorman
Member
 
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Original Poster
Rep: Reputation: 15
stretched video problem SOLVED

I posted this question on kubuntuforums.net and, while I got the same response as here (i.e. none), I did, eventually, find the solution.
Searching for 'nvidia xine' I found this post:
http://kubuntuforums.net/forums/index.php?topic=8677.0
In summary:
Adding
Option "UseEdidDpi" "FALSE"
Option "DPI" "96 x 96"
to the 'Device' section of your video card solves the problem.
I changed my xorg.conf, reset X (ctrl, alt, backspace) and xine now operates ok. Just to be sure I rebooted and logged in normally (i.e. not doing a console logon and startx). Xine worked fine. Well, kubuntu 6.1 is called 'edgy' for a reason, I suppose.
 
  


Reply



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
xine won't play video files edgjerp Linux - Software 2 05-08-2006 11:50 AM
xine won't play any video zoomzoom Linux - Software 1 10-29-2005 03:36 PM
totem-xine won't play video files GregAsche Linux - Software 1 07-25-2005 02:22 AM
DVI to LCD does not work without nvidia Driver flysideways Fedora 4 03-23-2005 11:06 AM
DVI LCD with nVidia GeForce2 MX400 video card? Utah Fedora 0 03-22-2005 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration