Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Will Nvidia driver help?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Fri Nov 01, 2002 10:33 pm    Post subject: Will Nvidia driver help? Reply with quote

I get very bad framerate on DivX movies in xine.
Never had problems playing movies before, neither with xine on RedHat nor with Windows Media Player.
Especially bad in full screen mode.

Ive installed the standard Xfree86 4.1.2, using the "nv" driver, and I have a TNT2.

System load is about 1 when playing a DivX movie.

Another question... is it possible to compile the Nvidia driver into the kernel or will I have to use a modular kernel?
Back to top
View user's profile Send private message
dreamer3
Guru
Guru


Joined: 24 Sep 2002
Posts: 553

PostPosted: Sat Nov 02, 2002 12:25 am    Post subject: Reply with quote

I think you will need a modular kernerl (their not so bad). I've never read anywhere about compiling it in, but that doesn't mean it can't be done.

I would definately give the nvidia official driver a try and see if it makes your problems go away...
Back to top
View user's profile Send private message
helmers
Guru
Guru


Joined: 16 Sep 2002
Posts: 553
Location: Stange, Norway

PostPosted: Sat Nov 02, 2002 8:18 am    Post subject: Reply with quote

You see, the nvidia-binary's main function is to give accelerated OpenGL. The "nv" driver supports the X-Video extension, which is all you need to play video.

You should try "mplayer", and be sure to use the "-vo xv"-option, as it is the fastest. What it sound like is Xine doing software scaling. Try in 1:1 scale, and see if it is any faster.


--
Regards,
Helmers
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Sat Nov 02, 2002 8:38 am    Post subject: Reply with quote

I tried "disable software scaling", did not help...
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Sat Nov 02, 2002 9:22 am    Post subject: Reply with quote

OK, Ive solved the problem. First installed the Nvidia driver, didnt help.

Then I set the color depth to 16 (was 24) and enabled videoram (it was disabled in XF86config), dont know which of these caused the problem.
Maybe my machine is too slow to play movies in 24bit depth.
Back to top
View user's profile Send private message
helmers
Guru
Guru


Joined: 16 Sep 2002
Posts: 553
Location: Stange, Norway

PostPosted: Sat Nov 02, 2002 10:40 am    Post subject: Reply with quote

No, that shouldn't be a problem (unless it's very slow). I've got an K6-2 166 Mhz playing 320x240 DivX's. I doubt Gentoo is installed on anything much slower than that. But if you don't mind using 16-bit instead of 24, it is certainly performance to be gained from switching. It's just that most video is encoded at 24-bit depth, so it may not gain as much in movie playback speed as it does in X-free in general.

If you don't mind, I'd recommend trying mplayer, it was one of the first command line applications I liked. It's very fast and customizable.

Just "emerge mplayer", and use "mplayer -vo xv <name of file to play>", and it should give you fast fullscreen video.


--
Regards,
Helmers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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