LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-24-2007, 10:12 AM   #1
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Rep: Reputation: 30
recompile drivers...and kernel


hi
i'm using linux in two pc
1) desktop with pentium 400 mhz mandrake10.1
2) laptop with pentium 1100 mhz mandriva 2006

on the second pc i have poor performances
about the video card (trident cyberblade )
dvd play slow down...the same dvd play well on the first pc...

the trident driver belong to xorg libraries installed with the rpm suffix i586...

the question is : if i'm able to find on the network the driver source file,then recompiling it with specific parameters for my architecture,does will improve performance ?
if the answer is yes,then what i have to set to recompile with optimim performances ?
i'm able to build spec files,does rpm will
provide itself right parameter to compile with performance optimization ?

thanks in advance

Maurizio
 
Old 04-25-2007, 07:28 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by bong.mau
hi
i'm using linux in two pc
1) desktop with pentium 400 mhz mandrake10.1
Pentium II 400MHz
Quote:
2) laptop with pentium 1100 mhz mandriva 2006
Pentium III or Pentium M ... you're doing well!
Quote:
on the second pc i have poor performances
about the video card (trident cyberblade )
dvd play slow down...the same dvd play well on the first pc...
You'd expect it to be the other way around wouldn't you? What do you mean "slow down"? You get pictures in slow-motion or you get a lot of freezes and skips?
Quote:
the trident driver belong to xorg libraries installed with the rpm suffix i586...
Manrdiva probably has a driver rpm in it's repositories too. However, there is more to dvd playback than the driver and video-card.
Quote:
the question is : if i'm able to find on the network the driver source file,then recompiling it with specific parameters for my architecture,does will improve performance ?
if the answer is yes,then what i have to set to recompile with optimim performances ?
i'm able to build spec files,does rpm will
provide itself right parameter to compile with performance optimization ?
Compiling kernel and drivers for your exact system will usually result in improved performance. There is not enough information to advise you on this, very large, subject. The best distros for this sort of thing, if you are game, are probably slackware and gentoo.

However, I would suggest you try some other form of video playback before you start fiddling - if an ogg/theora file will play OK, then we start looking askance at your dvd drive (for eg). Maybe you have hardware which is breaking, maybe there are some settings needed (like enabling DRM for a dvd drive) which will improve playback. Maybe you need updated codecs? Maybe just a different software player?

A good way to get a comprehensive check is to run the xine-check script.

Aside: your English is pretty good considering some obvious difficulties - you are expressing yourself well and with some confidence. It can help people talk to you if you edit your profile to include a "location". I'm guessing Malay or similar, but I may be way way off base
 
Old 04-27-2007, 05:18 AM   #3
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
additional info

Hi

english is not my mother tongue ..i'm italian ..i will apdate my profile...

i avoided to write the whole story to not bore people and to avoid to mislead ...

the second pc pentium III intel celeron coppermine 1.100 mhz with trident cyberblade video card shows a discarded frames whe n playing dvd..
xine-check runs fine..
i followed also all the suggestions in the xine official site...
i buils also a scipt to launch only X graphical system and xine...(no kde or gnome),but the verbose option of xine shows me skipped and discarde frames...(the skipped are more than the discarded)...it seems the audio and video goes out of synch ...
i tried also to rip chapter to hard disk and play from file but the situation is the same

so i thinked to recompile video drivers and kernel
to see if the situation improves...
i need an help to set the compile parameters to obtain max speed results with my cpu...

then if someone is experiences with xine an has some other hint or tips i will appreciate too ..

thanks in advance

Maurizio
 
Old 04-28-2007, 03:24 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Frame skips usually mean you need dma enabled for the drive.
Ripping from dvd will reproduce the skips in the copy - you need to take a mpeg movie with a camera or download a video. Preferably ogg/theora format as mentioned. You must remove the dvd drive from the equation.

Maby you should swap the dvd drives between the two machines?
 
Old 04-28-2007, 10:28 AM   #5
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
dma

Hi

dma is enabled
unfortunately the second pc is laptop and the first is a desktop,so drives are not swappable.

Maurizio
 
Old 04-29-2007, 05:48 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
That leaves trying out a video file that doesn't involve the dvd drive anywhere in it's creation ... you could rip from the good drive on the desktop and transfer the file to the laptop?

If recompiling the drivers actually improves this issue, I'd be surprised.
 
  


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
How do i recompile my linux with new drivers? Titanas25 Linux - Software 6 06-06-2006 09:29 AM
Recompile drivers after upgrade? Tons of Fun Debian 4 09-11-2005 10:00 PM
Kernel recompile -> drivers get messed ar1 Linux - General 2 12-28-2004 10:11 PM
how2 recompile kernel 4 nvidia drivers AVD_ZM Fedora 9 12-25-2004 02:44 PM
kernel recompile & hw "drivers" Jebiveter Slackware 1 10-15-2003 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:28 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