VectorLinux
April 19, 2014, 02:12:13 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Xvidtune not working?  (Read 2548 times)
pchristy
Member
*
Posts: 2


« on: July 01, 2007, 12:53:51 am »

I've just installed Vec 5.8 gold standard on an old Asus P5A-B based machine. I've had to compile my own kernel (2.6.21) as the supplied one didn't work with my network card for some reason (Realtek 8139). Now I have two further problems! I can't install the legacy nvidia drivers, because they are designed for the stock kernel, and I can't get the NVidia drivers to build - they fail complaining they can't find linux/config.h, though everything appears to be in the correct place!

I wouldn't need to build the NVidia drivers if xvidtune worked, but it doesn't! My display is markedly offset, so I need to add a modeline to my xorg conf. When I try and run xvidtune, I get a message saying "install this program before attempting to run it"! But it IS installed, and all the permissions look correct!

I tried installing the version from Slackware, and got exactly the same error message!

Any suggestions, anyone?

--
Pete
Logged
easuter
Global Moderator
Vectorian
*****
Posts: 2160



« Reply #1 on: July 01, 2007, 05:04:56 am »

The nvidia legacy drivers don't build because some of the kernel's headers have changed since 2.6.18, so the solution is to simply create the header that the nvidia installer is trying to find.
Create a file in /usr/src/linux-2.6.21/include/linux called config.h and put this text in it:

Code:
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
 * autoconf.h is now included via -imacros on the commandline
 */
#include <linux/autoconf.h>

#endif

That should solve it (at least it did for me with the legacy drivers Wink)
Logged

pchristy
Member
*
Posts: 2


« Reply #2 on: July 01, 2007, 06:32:56 am »

Yes, that makes sense! Thanks for the quick response!

In the meantime I loaded a live cd, ran xvidtune in that, and saved the modeline it generated. Now that I've pasted it into my xorg.conf file, I have a centred image. I've by-passed the problem!

Still don't understand why xvidtune doesn't work in Vec though!

--
Pete
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!