NVIDIA 361 Driver

Technical issues/questions of an intermediate or advanced nature.
beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Re: NVIDIA 361 Driver

Post#76 by beny » 17 Jun 2016, 21:20

btw if you want make a module from the nvidia driver run the save-changes script,no need if you use in a run system,hardware acceleration in xfce4 you need to active composite i think in kde is the same,but i use xfce4

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: NVIDIA 361 Driver

Post#77 by Bogomips » 17 Jun 2016, 21:34

hi beny
I am advising to first make the driver in text mode. Once driver made, test it by init 4. If there is no problem, then in AF mode we make driver and save-changes, just like was done the very first time here, when changes module was made. After this we clean up changes module.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

donald
Full of knowledge
Full of knowledge
Posts: 2063
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: NVIDIA 361 Driver

Post#78 by donald » 17 Jun 2016, 22:04

^Hopefully the new driver will work,
because a google search for (asus) gl752vw,(found in the 1st screenshot),
reveals only problems, no solutions.
what seems to be needed to make it work is "bumblebee" and/or "primus"
https://wiki.archlinux.org/index.php/bumblebee
arch wiki
"Xlib: extension "GLX" missing on display ":0.0""
If you tried to install the NVIDIA driver from NVIDIA website, this is not going to work.
good luck

fab1qaz
Black ninja
Black ninja
Posts: 65
Joined: 26 May 2016, 13:32
Distribution: Desktop 3.1
Location: England

Re: NVIDIA 361 Driver

Post#79 by fab1qaz » 18 Jun 2016, 09:05

So I tried installing 367.27 on porteus rc3 with blaclist/xzm, crippled source.xzm and devel.xzm. I replaced the 000-kernel.xzm with the one here
http://ftp.vim.org/ftp/os/Linux/distr/p ... 1-porteus/
too.

Booting with

Code: Select all

copy2ram init 3
and using the installer as su I get this error on rc3 that I didn't get on rc2! The installer hangs when building kernel modules at 100% then after 20 seconds or so I get this. 3 pics :oops:

Image

Image

Image

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: NVIDIA 361 Driver

Post#80 by Bogomips » 18 Jun 2016, 11:25

You can't do it by replacing the kernel module. You have to do a clean 'install' of rc3, the way you first did with rc2, The screen images seem to confirm this, At first glance it looks like you have the rc2 Kernel running with the Kernel modules of rc3.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: NVIDIA 361 Driver

Post#81 by Bogomips » 18 Jun 2016, 12:16

^ OR
There is the option of running from ISO file, no 'installation' necessary, my normal mode of operation. Think you were using XFCE. In that case if the iso file Porteus-XFCE-v3.2rc3-x86_64.iso has say been placed on the external drive sdb1, you could use the following boot options: 3 copy2ram from=/dev/sdb1/Path/to/iso/Porteus-XFCE-v3.2rc3-x86_64.iso extramod=/dev/sdc1/porteus/modules

For example: from=/dev/sdb1/iso/Porteus-XFCE-v3.2rc3-x86_64.iso (if have iso files in a directory 'iso')
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

fab1qaz
Black ninja
Black ninja
Posts: 65
Joined: 26 May 2016, 13:32
Distribution: Desktop 3.1
Location: England

960M driver

Post#82 by fab1qaz » 18 Jun 2016, 14:33

Installing isn't a problem I got another memory stick and installed rc3 on it with the Universal USB Installer from http://www.pendrivelinux.com/, so it is rc3 from Porteus-XFCE-v3.2rc3-x86_64.iso :P Whether I replace the kernel xzm or not I get that error. I want to install Bogomips, there will already be enough steps to boot as it is haha.

fab1qaz
Black ninja
Black ninja
Posts: 65
Joined: 26 May 2016, 13:32
Distribution: Desktop 3.1
Location: England

Re: NVIDIA 361 Driver

Post#83 by fab1qaz » 18 Jun 2016, 15:14

It's weird that the driver installs on old rc2 stick but not on rc3 :%)

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: NVIDIA 361 Driver

Post#84 by Bogomips » 18 Jun 2016, 17:51

Let's get the story and the facts straight:
  • Porteus rc3 in text mode
  • Ran install of 367.27 driver
  • Installation program came up with the three error messages shown
  • After this you were back at the console prompt
  • Placed in modules folder were blacklist.xzm, 05-devel,xzm and crippled_sources.xzm from the links given to you.
If that were to be the case, after the nvidia installer exits, please do (still as root)

Code: Select all

zip  log.zip  /var/log/*
and upload log.zip.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

fab1qaz
Black ninja
Black ninja
Posts: 65
Joined: 26 May 2016, 13:32
Distribution: Desktop 3.1
Location: England

Re: NVIDIA 361 Driver

Post#85 by fab1qaz » 18 Jun 2016, 19:30

log.zip
That's right, very weird! Interested to see what the nvidia installer didn't like, here's the log.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Re: NVIDIA 361 Driver

Post#86 by beny » 18 Jun 2016, 19:41

you have the wrong modules path on installer:
/usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.6.1-porteus/build KBUILD_VERBOSE= -C /lib/modules/4.6.1-porteus/source M=/mnt/sdb2/NVIDIA-Linux-x86_64-367.27/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.6.1-porteus/source NV_KERNEL_OUTPUT=/lib/modules/4.6.1-porteus/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory '/usr/src/linux-4.5.3'
make[2]: Entering directory '/usr/src/linux-4.5.3'
this is mine:
/usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.6.1-porteus/build KBUILD_VERBOSE= -C /lib/modules/4.6.1-porteus/source M=/tmp/selfgz6491/NVIDIA-Linux-x86_64-367.27/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.6.1-porteus/source NV_KERNEL_OUTPUT=/lib/modules/4.6.1-porteus/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video clean
make[1]: Entering directory '/usr/src/linux-4.6.1'
make[2]: Entering directory '/usr/src/linux-4.6.1'
make[2]: Leaving directory '/usr/src/linux-4.6.1'
make[1]: Leaving directory '/usr/src/linux-4.6.1'
i think you have to use not coy2ram or fresh mode for build something like driver or software,or you have an old kernel module.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: NVIDIA 361 Driver

Post#87 by Bogomips » 18 Jun 2016, 20:08

Installer Log:

Code: Select all

[  109.871594] nvidia: version magic '4.5.3-porteus SMP preempt mod_unload ' should be '4.6.1-porteus SMP preempt mod_unload '
ERROR: Installation has failed.  Please see the file 
In rc3:

Code: Select all

guest@porteus:~$ uname -r
4.6.1-porteus
guest@porteus:~$ uname -v
#1 SMP PREEMPT Thu Jun 2 23:00:56 Local time zone must be set--s
Looks like something not gelling in your setup. So bite the bullet and load from the rc3 iso, the way explained in my earlier message. Don't hesitate to ask if anything unclear from the explanation of how to do it.

Please ensure in /mnt/sdc1/porteus/ modules you only have: blacklist.xsm, 05-devel.xzm, and crippled_sources.xzm. Then provide/keep output of

Code: Select all

ls  -l  /mnt/sdc1/porteus/modules
Then reboot with the extra options described earlier: from= and extramod=. Then run installer.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

fab1qaz
Black ninja
Black ninja
Posts: 65
Joined: 26 May 2016, 13:32
Distribution: Desktop 3.1
Location: England

Re: NVIDIA 361 Driver

Post#88 by fab1qaz » 19 Jun 2016, 18:58

Yep guys I didn't need the iso method just reinstalled rc3 and this time didn't replace the kernel.xzm in base folder. The kernel here http://ftp.vim.org/ftp/os/Linux/distr/p ... 1-porteus/ is a little smaller by one megabyte than the one that comes with rc3 and that is what bugged out the nvidia driver install last time. I thought it was more updated which is why I used it before.

So the driver installs in text mode and then in GUI HW acceleration doesn't work out of the box as we expected. What's next? :)

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: NVIDIA 361 Driver

Post#89 by Bogomips » 19 Jun 2016, 20:43

Soon as installer finishes in text mode (still as root):
  • Code: Select all

    save-changes  nvd367.xzm
    lsmod  >  lsmod.txt
    init  4
    
  • GUI

    Code: Select all

    zip  log367.zip  /var/log/*  lsmod.txt
    cat  /proc/cmdline
  • Upload nvd367.xzm and log.zip
  • Please also provide hardware spec of the laptop
Maybe we might have to use Bumblebee or whatever else donald has to propose, depending on the laptop hardware.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

fab1qaz
Black ninja
Black ninja
Posts: 65
Joined: 26 May 2016, 13:32
Distribution: Desktop 3.1
Location: England

Re: NVIDIA 361 Driver

Post#90 by fab1qaz » 20 Jun 2016, 09:16

Code: Select all

guest@porteus:~$ zip log367.zip /var/log/* lsmod.txt
	zip warning: name not matched: lsmod.txt
  adding: var/log/ConsoleKit/ (stored 0%)
  adding: var/log/Xorg.0.log (deflated 79%)
  adding: var/log/btmp
zip warning: Permission denied
	zip warning: could not open for reading: var/log/btmp
  adding: var/log/cron
zip warning: Permission denied
	zip warning: could not open for reading: var/log/cron
  adding: var/log/debug
zip warning: Permission denied
	zip warning: could not open for reading: var/log/debug
  adding: var/log/dmesg (deflated 74%)
  adding: var/log/faillog (stored 0%)
  adding: var/log/lastlog (deflated 93%)
  adding: var/log/maillog
zip warning: Permission denied
	zip warning: could not open for reading: var/log/maillog
  adding: var/log/messages
zip warning: Permission denied
	zip warning: could not open for reading: var/log/messages
  adding: var/log/nfsd/ (stored 0%)
  adding: var/log/nvidia-installer.log (deflated 83%)
  adding: var/log/packages/ (stored 0%)
  adding: var/log/pm-powersave.log (deflated 84%)
  adding: var/log/porteus-livedbg (deflated 50%)
  adding: var/log/removed_packages/ (stored 0%)
  adding: var/log/removed_scripts/ (stored 0%)
  adding: var/log/samba/ (stored 0%)
  adding: var/log/scripts/ (stored 0%)
  adding: var/log/secure
zip warning: Permission denied
	zip warning: could not open for reading: var/log/secure
  adding: var/log/setup/ (stored 0%)
  adding: var/log/slim.log (deflated 2%)
  adding: var/log/spooler
zip warning: Permission denied
	zip warning: could not open for reading: var/log/spooler
  adding: var/log/syslog
zip warning: Permission denied
	zip warning: could not open for reading: var/log/syslog
  adding: var/log/wpa_supplicant.log (deflated 41%)
  adding: var/log/wtmp (deflated 95%)

zip warning: Not all files were readable
  files/entries read:  18 (119K bytes)  skipped:  8 (99K bytes)
guest@porteus:~$ cat /proc/cmdline
quiet \boot\syslinux\vmlinuz 3 copy2ram initrd=boot\syslinux\initrd.xz
What does lsmod do if we don't upload it?

Here's the xzm and zip
log367.zip
nvd367.xzm


Specs
Asus ROG GL752VW-GS71-HID3 Metal Grey 17.3" i7-6700HQ 2.6-3.5GHz Windows 10 (960M 4G/256G SSD+1T HDD/16GB RAM/DVDRW)

Post Reply