Cannot compile Nvidia 331.20 against Liquorix 3.12 [Solved]

Archived topics about LMDE 1
Forum rules
LMDE 2 support ends on 1-1-2019
Locked
cmost
Level 4
Level 4
Posts: 435
Joined: Tue Sep 18, 2007 7:36 am
Location: Newport, Kentucky

Cannot compile Nvidia 331.20 against Liquorix 3.12 [Solved]

Post by cmost » 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.
Dual Intel Xeon 3.6 GHz, 24 Cores
86.5 GB DDR3 RAM
nVidia GeForce GTX 660
Linux Mint 18.2 MATE 1.18 +Compiz
Kernel 4.09 LTS

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

Post by MoonDragon » 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

Post by MoonDragon » 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!

GeneC
Level 7
Level 7
Posts: 1599
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Re: Cannot compile Nvidia 331.20 against Liquorix 3.12

Post by GeneC » 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

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

Post by MoonDragon » 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.

cmost
Level 4
Level 4
Posts: 435
Joined: Tue Sep 18, 2007 7:36 am
Location: Newport, Kentucky

Re: Cannot compile Nvidia 331.20 against Liquorix 3.12

Post by cmost » 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
Dual Intel Xeon 3.6 GHz, 24 Cores
86.5 GB DDR3 RAM
nVidia GeForce GTX 660
Linux Mint 18.2 MATE 1.18 +Compiz
Kernel 4.09 LTS

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

Post by MoonDragon » 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 :)

Locked

Return to “LMDE 1 Archive”