[Mageia-dev] NVidia fallback to Nouveau after latest Kernel updates

JA Magallon jamagallon at ono.com
Tue Mar 6 14:33:26 CET 2012


On 2012.03.06, at 14:08, Colin Guthrie wrote:

> 'Twas brillig, and Barry Jackson at 06/03/12 12:26 did gyre and gimble:
>> You could try blacklisting the nouveau module - but that won't fix the
>> underlying issue - it may however get you working as a temporary fix ;)
> 
> If dkms-nvidia isn't building, then a blacklist likely won't help! :)

With this fix I got it bulding, found in google:

--- conftest.sh.orig	2012-03-06 14:26:04.518194430 +0100
+++ conftest.sh	2012-03-06 14:19:20.684477926 +0100
@@ -126,7 +126,7 @@
     CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS $AUTOCONF_CFLAGS"
 
     if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
-        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include"
+        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated"
     elif [ "$ARCH" = "ARMv7" ]; then
         CFLAGS="$CFLAGS -I$SOURCES/arch/arm/include"
     fi


--
J.A. Magallon <jamagallon()ono!com>     \               Software is like sex:
                                         \         It's better when it's free






More information about the Mageia-dev mailing list