Cannot compile Nvidia 331.20 against Liquorix 3.12 [Solved]

Questions about hardware and drivers
Forum rules
Before you post please read this

Cannot compile Nvidia 331.20 against Liquorix 3.12 [Solved]

Postby cmost on Sat Dec 07, 2013 1:31 pm

I'm having a strange problem. The compilation of nvidia 331.20 against Liquorix Kernel 3.12 fails with the error:

Code: Select all
unable to build unified memory module
Try building with –no-unified-memory option


I didn't try that as I have a GeForce GTX 660 which should be more than up to snuff for all nvidia features.

The driver of course compiles fine against the Liquorix 3.11 driver. Google was no help as most users report success with compiling 331.20 against Linux 3.12 kernels. Any ideas? Thanks!
Last edited by cmost on Sat Dec 14, 2013 12:33 pm, edited 1 time in total.
AMD Phenom II 64 X6 1090T Black Edition Hexa-Core
8 GB DDR2 RAM
nVidia GeForce GTX 660
Linux Mint Debian Edition (tracking incoming)
Optimized Liquorix Linux Kernel 3.13.x
Cinnamon 2.0.x (primary)
MATE 1.6.x with Compiz & Emerald (secondary)
cmost
Level 4
Level 4
 
Posts: 394
Joined: Tue Sep 18, 2007 7:36 am
Location: Newport, Kentucky

Linux Mint is funded by ads and donations.
 

Re: Cannot compile Nvidia 331.20 against Liquorix 3.12

Postby MoonDragon on Wed Dec 11, 2013 11:05 am

did you get anywhere with this?
I've got the very same problem
User avatar
MoonDragon
Level 1
Level 1
 
Posts: 10
Joined: Fri Mar 22, 2013 3:19 am

Re: Cannot compile Nvidia 331.20 against Liquorix 3.12

Postby MoonDragon on Wed Dec 11, 2013 11:45 am

ok, I found it: the solution is to run the nvidia installer with " --no-unified-memory" tagged onto the end of the command line
works just fine after that
now I'm running on kernel 3.12 with 331.20 nvidia drivers, yay!
User avatar
MoonDragon
Level 1
Level 1
 
Posts: 10
Joined: Fri Mar 22, 2013 3:19 am

Re: Cannot compile Nvidia 331.20 against Liquorix 3.12

Postby GeneC on Wed Dec 11, 2013 12:01 pm

Must be an issue just on selected hardware. I had no issues with Nvidia 331.20 against Liquorix 3.12 using SMXI for both kernel and Nvidia upgrades.
Though I am tracking Debian Testing.. Using an Nvidia GeForce GTX 460

Code: Select all
gene@debian:~$ inxi -F
System:    Host: debian Kernel: 3.12-3.dmz.1-liquorix-amd64 x86_64 (64 bit)
           Desktop: Xfce 4.10.2 Distro: Debian GNU/Linux jessie/sid
Machine:   Mobo: ASUSTeK model: M4A88TD-M/USB3 version: Rev X.0x Bios: American Megatrends version: 1501 date: 08/09/2012
CPU:       Quad core AMD Phenom II X4 955 (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3 sse4a svm)
           Clock Speeds: 1: 3200.00 MHz 2: 800.00 MHz 3: 800.00 MHz 4: 800.00 MHz
Graphics:  Card: NVIDIA GF104 [GeForce GTX 460] X.Org: 1.14.3 driver: nvidia Resolution: 1680x1050@60.0hz
           GLX Renderer: GeForce GTX 460/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 331.20
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

LMDE (Cinnamon)
Debian (Gnome Shell 3.8.4 - Testing)
Siduction (XFCE -Debian SID)
Makulu 5 (XFCE-Testing)
User avatar
GeneC
Level 6
Level 6
 
Posts: 1463
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Re: Cannot compile Nvidia 331.20 against Liquorix 3.12

Postby MoonDragon on Fri Dec 13, 2013 2:49 am

On further checking I discovered that it seems to only happen when one has multiple kernel versions installed on a computer... this probably needs to fixed fixed by nvidia in a driver update. But unified memory is not needed with most graphics cards, but for future cards.
User avatar
MoonDragon
Level 1
Level 1
 
Posts: 10
Joined: Fri Mar 22, 2013 3:19 am

Re: Cannot compile Nvidia 331.20 against Liquorix 3.12

Postby cmost on Fri Dec 13, 2013 9:43 pm

Well, based on MoonDragon's assessment that unified memory is really something that only future nVidia graphics cards can take advantage of, I went ahead and compiled the driver against 3.12.4 using the --no-unified-memory flag as he originally suggested. It worked perfectly and I don't seem to notice any difference in performance. Marking topic as solved.

Thanks for the help guys!!! :D
AMD Phenom II 64 X6 1090T Black Edition Hexa-Core
8 GB DDR2 RAM
nVidia GeForce GTX 660
Linux Mint Debian Edition (tracking incoming)
Optimized Liquorix Linux Kernel 3.13.x
Cinnamon 2.0.x (primary)
MATE 1.6.x with Compiz & Emerald (secondary)
cmost
Level 4
Level 4
 
Posts: 394
Joined: Tue Sep 18, 2007 7:36 am
Location: Newport, Kentucky

Re: Cannot compile Nvidia 331.20 against Liquorix 3.12

Postby MoonDragon on Wed Dec 18, 2013 8:38 am

cmost wrote:Well, based on MoonDragon's assessment that unified memory is really something that only future nVidia graphics cards can take advantage of, I went ahead and compiled the driver against 3.12.4 using the --no-unified-memory flag as he originally suggested. It worked perfectly and I don't seem to notice any difference in performance. Marking topic as solved.

Thanks for the help guys!!! :D


wow, glad to be able to help :)
User avatar
MoonDragon
Level 1
Level 1
 
Posts: 10
Joined: Fri Mar 22, 2013 3:19 am

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: nobodynoze, powerhouse and 4 guests