Re: quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
> but im fairly new to this so > editing the complier flags would be > a bit too much for me (now) If you're not familiar with Makefiles (yet ;), you can put the line: #define KERNEL_2_3 into the first line of your nv.h, this does the same. I set up a page with how to get to nvidia drivers for 2.4.0-testxx kernels http://russe.dhs.org/nvidia.html I personally don't think NVidia will have support for 2.4 kernels soon, but please check if there are newer driver versions Raphael Make this world a better place and support free software!
Re: quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
> but im fairly new to this so > editing the complier flags would be > a bit too much for me (now) If you're not familiar with Makefiles (yet ;), you can put the line: #define KERNEL_2_3 into the first line of your nv.h, this does the same. I set up a page with how to get to nvidia drivers for 2.4.0-testxx kernels http://russe.dhs.org/nvidia.html I personally don't think NVidia will have support for 2.4 kernels soon, but please check if there are newer driver versions Raphael Make this world a better place and support free software! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
If the Makefile was written well, it will be simple. Open the Makefile with your favorite editor (vim is mine! :) and look for lines similar to -DSOMETHING. Add the -DKERNEL_2_3 bit to this line. Or, if there isn't something that looks right, see if there is a CCFLAGS line -- and add the -DKERNEL_2_3 flag there. HTH :) * dude <[EMAIL PROTECTED]> [001211 16:59]: > > thanks! sounds like agreat idea, > > but im fairly new to this so > editing the complier flags would be > a bit too much for me (now) > > mind showing me what this would look like? > > g > > > > On Mon, 11 Dec 2000, Raphael Deimel wrote: > > > Date: Mon, 11 Dec 2000 23:49:40 +0100 > > From: Raphael Deimel <[EMAIL PROTECTED]> > > To: dude <[EMAIL PROTECTED]> > > Cc: debian-x Mailing List > > Subject: Re: quick fix for building nvidia xfree4 drivers on kernel > > 2.4.0-test11 > > Resent-From: debian-x@lists.debian.org > > > > > i saw on on tomshardware site that worked for 2.2 > > > is it essentialy the same for 2.4? > > > > i'm currently running xf4, kernel 2.4.0-test10 with NVidia's own > > accellerated drivers (hell, this is what graphics speed supposed to be ;) > > > > You could fetch the latest driver (0.9.5) and insert Mads Buus Jensen's code > > snippet in nv.h (as he suggested - THANKS for the quick'n'dirty fix). > > AND you should edit the Makefile to include -DKERNEL_2_3 within the compiler > > flags (think he forgot that one) > > > > > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- ``Oh Lord; Ooh you are so big; So absolutely huge; Gosh we're all really impressed down here, I can tell you.''
Re: quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
thanks! sounds like agreat idea, but im fairly new to this so editing the complier flags would be a bit too much for me (now) mind showing me what this would look like? g On Mon, 11 Dec 2000, Raphael Deimel wrote: > Date: Mon, 11 Dec 2000 23:49:40 +0100 > From: Raphael Deimel <[EMAIL PROTECTED]> > To: dude <[EMAIL PROTECTED]> > Cc: debian-x Mailing List > Subject: Re: quick fix for building nvidia xfree4 drivers on kernel > 2.4.0-test11 > Resent-From: debian-x@lists.debian.org > > > i saw on on tomshardware site that worked for 2.2 > > is it essentialy the same for 2.4? > > i'm currently running xf4, kernel 2.4.0-test10 with NVidia's own > accellerated drivers (hell, this is what graphics speed supposed to be ;) > > You could fetch the latest driver (0.9.5) and insert Mads Buus Jensen's code > snippet in nv.h (as he suggested - THANKS for the quick'n'dirty fix). > AND you should edit the Makefile to include -DKERNEL_2_3 within the compiler > flags (think he forgot that one) > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
Re: quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
If the Makefile was written well, it will be simple. Open the Makefile with your favorite editor (vim is mine! :) and look for lines similar to -DSOMETHING. Add the -DKERNEL_2_3 bit to this line. Or, if there isn't something that looks right, see if there is a CCFLAGS line -- and add the -DKERNEL_2_3 flag there. HTH :) * dude <[EMAIL PROTECTED]> [001211 16:59]: > > thanks! sounds like agreat idea, > > but im fairly new to this so > editing the complier flags would be > a bit too much for me (now) > > mind showing me what this would look like? > > g > > > > On Mon, 11 Dec 2000, Raphael Deimel wrote: > > > Date: Mon, 11 Dec 2000 23:49:40 +0100 > > From: Raphael Deimel <[EMAIL PROTECTED]> > > To: dude <[EMAIL PROTECTED]> > > Cc: debian-x Mailing List <[EMAIL PROTECTED]> > > Subject: Re: quick fix for building nvidia xfree4 drivers on kernel > > 2.4.0-test11 > > Resent-From: [EMAIL PROTECTED] > > > > > i saw on on tomshardware site that worked for 2.2 > > > is it essentialy the same for 2.4? > > > > i'm currently running xf4, kernel 2.4.0-test10 with NVidia's own > > accellerated drivers (hell, this is what graphics speed supposed to be ;) > > > > You could fetch the latest driver (0.9.5) and insert Mads Buus Jensen's code > > snippet in nv.h (as he suggested - THANKS for the quick'n'dirty fix). > > AND you should edit the Makefile to include -DKERNEL_2_3 within the compiler > > flags (think he forgot that one) > > > > > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- ``Oh Lord; Ooh you are so big; So absolutely huge; Gosh we're all really impressed down here, I can tell you.'' -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
> i saw on on tomshardware site that worked for 2.2 > is it essentialy the same for 2.4? i'm currently running xf4, kernel 2.4.0-test10 with NVidia's own accellerated drivers (hell, this is what graphics speed supposed to be ;) You could fetch the latest driver (0.9.5) and insert Mads Buus Jensen's code snippet in nv.h (as he suggested - THANKS for the quick'n'dirty fix). AND you should edit the Makefile to include -DKERNEL_2_3 within the compiler flags (think he forgot that one)
Re: quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
thanks! sounds like agreat idea, but im fairly new to this so editing the complier flags would be a bit too much for me (now) mind showing me what this would look like? g On Mon, 11 Dec 2000, Raphael Deimel wrote: > Date: Mon, 11 Dec 2000 23:49:40 +0100 > From: Raphael Deimel <[EMAIL PROTECTED]> > To: dude <[EMAIL PROTECTED]> > Cc: debian-x Mailing List <[EMAIL PROTECTED]> > Subject: Re: quick fix for building nvidia xfree4 drivers on kernel > 2.4.0-test11 > Resent-From: [EMAIL PROTECTED] > > > i saw on on tomshardware site that worked for 2.2 > > is it essentialy the same for 2.4? > > i'm currently running xf4, kernel 2.4.0-test10 with NVidia's own > accellerated drivers (hell, this is what graphics speed supposed to be ;) > > You could fetch the latest driver (0.9.5) and insert Mads Buus Jensen's code > snippet in nv.h (as he suggested - THANKS for the quick'n'dirty fix). > AND you should edit the Makefile to include -DKERNEL_2_3 within the compiler > flags (think he forgot that one) > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
> i saw on on tomshardware site that worked for 2.2 > is it essentialy the same for 2.4? i'm currently running xf4, kernel 2.4.0-test10 with NVidia's own accellerated drivers (hell, this is what graphics speed supposed to be ;) You could fetch the latest driver (0.9.5) and insert Mads Buus Jensen's code snippet in nv.h (as he suggested - THANKS for the quick'n'dirty fix). AND you should edit the Makefile to include -DKERNEL_2_3 within the compiler flags (think he forgot that one) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
can you give specific instruction in building the kernel. i saw on on tomshardware site that worked for 2.2 is it essentialy the same for 2.4? when i tried it with 2.4 and nvdriver, i get a screen that just blinks off and on. anywaht thanks On Sun, 10 Dec 2000, Mads Buus Jensen wrote: > Date: Sun, 10 Dec 2000 15:59:18 +0100 > From: Mads Buus Jensen <[EMAIL PROTECTED]> > To: debian-x@lists.debian.org > Cc: [EMAIL PROTECTED] > Subject: quick fix for building nvidia xfree4 drivers on kernel > 2.4.0-test11 > Resent-From: debian-x@lists.debian.org > > insert these four lines into a top-level include-file (i.e nvtypes.h or > nv.h): > > #define mem_map_inc_count(p)atomic_inc(&(p->count)) > #define mem_map_dec_count(p)atomic_dec(&(p->count)) > > static inline unsigned long get_module_symbol(char *unused1, char > *unused2) {return 0;} > static inline void put_module_symbol(unsigned long unused) {} > > ..that's it > This will probably not work with multicard systems, and should be > properly fixed by nvidia, since the functions/macros will probably not > be present in future kernels. > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
Re: quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
can you give specific instruction in building the kernel. i saw on on tomshardware site that worked for 2.2 is it essentialy the same for 2.4? when i tried it with 2.4 and nvdriver, i get a screen that just blinks off and on. anywaht thanks On Sun, 10 Dec 2000, Mads Buus Jensen wrote: > Date: Sun, 10 Dec 2000 15:59:18 +0100 > From: Mads Buus Jensen <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: quick fix for building nvidia xfree4 drivers on kernel > 2.4.0-test11 > Resent-From: [EMAIL PROTECTED] > > insert these four lines into a top-level include-file (i.e nvtypes.h or > nv.h): > > #define mem_map_inc_count(p)atomic_inc(&(p->count)) > #define mem_map_dec_count(p)atomic_dec(&(p->count)) > > static inline unsigned long get_module_symbol(char *unused1, char > *unused2) {return 0;} > static inline void put_module_symbol(unsigned long unused) {} > > ..that's it > This will probably not work with multicard systems, and should be > properly fixed by nvidia, since the functions/macros will probably not > be present in future kernels. > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
insert these four lines into a top-level include-file (i.e nvtypes.h or nv.h): #define mem_map_inc_count(p)atomic_inc(&(p->count)) #define mem_map_dec_count(p)atomic_dec(&(p->count)) static inline unsigned long get_module_symbol(char *unused1, char *unused2) {return 0;} static inline void put_module_symbol(unsigned long unused) {} ..that's it This will probably not work with multicard systems, and should be properly fixed by nvidia, since the functions/macros will probably not be present in future kernels.
quick fix for building nvidia xfree4 drivers on kernel 2.4.0-test11
insert these four lines into a top-level include-file (i.e nvtypes.h or nv.h): #define mem_map_inc_count(p)atomic_inc(&(p->count)) #define mem_map_dec_count(p)atomic_dec(&(p->count)) static inline unsigned long get_module_symbol(char *unused1, char *unused2) {return 0;} static inline void put_module_symbol(unsigned long unused) {} ..that's it This will probably not work with multicard systems, and should be properly fixed by nvidia, since the functions/macros will probably not be present in future kernels. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]