[om-qa] XORG Nvidia 352.30
Efrem Mc
efremmc2 at gmail.com
Tue Feb 9 21:15:59 EST 2016
I had to download plenty of dependencies first:
>From my history....using root
471 rpm -qa x11-*
472 rpm -qa x11-driver-video-*
473 rpm -qa x11-ser*
474 urpmi x11-driver-video
475 urpmi x11-driver-video-nv
476 urpmi x11-driver-video-v4l
I didnt care about dkms package.
After a successful installation, I was able to verify that the driver is
working
$ nvi[tab]
nvidia-bug-report.sh nvidia-installer nvidia-smi
nvidia-cuda-mps-control nvidia-modprobe nvidia-uninstall
nvidia-cuda-mps-server nvidia-persistenced nvidia-xconfig
nvidia-debugdump nvidia-settings
NVIDIA smi is there System Management Interface, without parameters it
shows the driver version, power, memory usage, and related.
[efremmc at localhost ~]$ nvidia-smi
Tue Feb 9 15:54:22 2016
+------------------------------------------------------+
| NVIDIA-SMI 361.28 Driver Version: 361.28
|
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr.
ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute
M. |
|===============================+======================+======================|
| 0 GeForce GTX 960 Off | 0000:01:00.0 On |
N/A |
| 0% 35C P8 9W / 128W | 228MiB / 4092MiB | 0%
Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU
Memory |
| GPU PID Type Process name
Usage |
|=============================================================================|
| 0 5000 G /usr/libexec/Xorg
159MiB |
| 0 5939 G /usr/bin/krunner
7MiB |
| 0 5945 G /usr/bin/plasmashell
50MiB |
+-----------------------------------------------------------------------------+
================/=/=/=/=/=/=/=/==/=/=/=/=//============
xorg.conf:
Contents of xorg.conf
----- Start of file--------------
#This configuration is using a NVIDIA Maxwell family of GPUs
# Specifically drm does not recgonize the model but properly identifies it
as NV126
# My configuration is a NVIDIA 960 GTX in a Z170 platform on an i5 Intel.
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 361.28 (buildmeister at swio-display-x64-rhel04-04)
Wed Feb 3 16:27:53 PST 2016
# File generated by XFdrake (rev )
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************
Section "ServerLayout"
Identifier "layout1"
Screen "screen1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Module"
Load "v4l" # Video for Linux
Load "glx"
EndSection
Section "ServerFlags"
# allows the server to start up even if the mouse does not work
#DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server
abort)
Option "allowmouseopenfail"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Section "Monitor"
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
# ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
# ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
# modeline generated by gtf(1) [handled by XFdrake]
Identifier "monitor1"
HorizSync 28.0 - 61.0
VertRefresh 48.0 - 65.0
# I added this line from using information from 'monitor-edid -v'
ModeLine "1024x768" 65 1024 1048 1184 1344 768 771 777 806 -hsync
+vsync
EndSection
Section "Device"
Identifier "device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce 420 series and later"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
Option "DPMS"
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
--- End of file -----------
0) Download the NVIDIA driver, the latest drive from 361.16 fixes the ABI
driver 20.0 issue, but I ended up using the latest that came out today,
2-9-16, 361.28
# When to my download directory
#wget
http://us.download.nvidia.com/XFree86/Linux-x86_64/361.28/NVIDIA-Linux-x86_64-361.28.run
1) Modify grub
I first modified grub to add in the following to disable loading of the
nouveau driver:
Leave your UUID settings alone.
#vim /etc/default/grub
linux /vmlinuz-4.1.15-nrjQL-desktop-1omv
root=UUID=0b0e50f6-5d37-4e35-9121-230234c671cb ro quiet nouveau.modeset=0
splash
Then save.
#update-grub2
#and reboot, 'systemctl reboot'
Could select rescue mode as well after the boot.
2) Enter into priviledge mode: su, then 'init 1'
#lsmod
#init 1
#rmmod ttm
#rmmod nouveau
#cd Downloads
#cd /home/efremmc/Downloads/
#chmod +x NVIDIA-Linux-x86_64-361.28.run
#ls -l *.run
#./NVIDIA-Linux-x86_64-361.28.run
It errored out because it could not find 'cc'
So I typed in 'cc' - So cc should be a link to gcc
#locate gcc
#updatedb
#locate gcc | grep bin
#ln -s /usr/bin/gcc /usr/bin/cc
#ls -l /usr/bin/cc
#./NVIDIA-Linux-x86_64-361.28.run
Another error, reported needing the kernel source files
#rpm -qa kernel-*
#uname -r
#urpmi kernel-source
#urpmi kernel-source-latest
#./NVIDIA-Linux-x86_64-361.28.run
Another dependency required ....
#updatedb
# It wanted the source path without the '/' at the end
#./NVIDIA-Linux-x86_64-361.28.run --kernel-source-path /usr/src/
#./NVIDIA-Linux-x86_64-361.28.run --kernel-source-path
/usr/src/linux-4.1.15-1omv
#rpm -qa kernel-*
#urpmi kernel-nrjQL-desktop-devel
Another error reported as it was looking for the version.h file, so I found
it and copied it. (we can discuss this later...; I could have created a
symbolic link
#locate version.h
#less /usr/include/linux/version.h
#cp /usr/include/linux/version.h
/usr/src/linux-4.1.15-nrjQL-desktop-1omv/include/linux/
Then I was abled to install the driver, I told it to continue on errors,
because it
was looking to create symbolic links for files that already exist
#./NVIDIA-Linux-x86_64-361.28.run --kernel-source-path
/usr/src/linux-4.1.15-nrjQL-desktop-1omv
The modification in xorg.conf are shown above. There is some additional
configuration I will tweet in the xorg.conf file.
Finally, rebooted the system. 'systemctl reboot'
On Tue, Feb 9, 2016 at 4:31 PM, Efrem Mc <efremmc2 at gmail.com> wrote:
> GREAT NEWS !!
>
> I was finally able to get the Nvidia drivers working. I had to manually
> edit the xorg.cfg and had to install many dependencies. The dependencies
> is an interesting story; the update service made some of packages orphans.
> I will send over the steps and working xorg.conf file.
>
> I will provide some notes on making the changes in xorg.conf.
>
> The Nvidia drivers are important for software development on GPU for
> coding in CUDA or OpenACC. I'm doing both using C and C++ and Fortran is
> also supported. I have not installed the PGI compiler for OpenACC yet,
> but that will come later.
>
> This is GREAT NEWS!!
>
> The Nvidia driver is required for CUDA programming as OpenACC can use
> either the CPU or GPU.
> On Feb 8, 2016 10:13 PM, "Blackcrack" <blackcrack at blackysgate.de> wrote:
>
>> Hi,
>>
>> the nouveau driver is behind installing nvidia drivers
>> in the way at boot, because nvidia not able to load..
>>
>> the x11-server-comon (or something*g*) have i installed behind the
>> nvidadrivers..
>> it seems the gl-file problem is is drained ..
>>
>> but behind the systemstart it is the nouveau drivers still in the lsmod
>> list.
>> have try via "dracut --omit-drivers nouveau --force " remove the nouveau
>> drivers,
>> but it seems it is load by systemd because behind the start of systemd it
>> is change
>> the terminal and it seems like nouveau it's loaded, because the
>> resolution
>> of the screen is change..
>>
>> best regards
>> Blacky
>>
>> Am 08.02.2016 um 23:42 schrieb Efrem Mc:
>>
>> I agree. I will start opening more software defects in Bugzilla.
>>
>> Thanks for mention that topic!
>>
>> Efrem McCrimon
>>
>> On Mon, Feb 8, 2016 at 12:22 PM, Ben Bullard <benbullard79 at cox.net>
>> wrote:
>>
>>> Comment below.
>>>
>>> Thanks,
>>> Ben Bullard
>>> aka: ben79
>>> OM-QA Team
>>>
>>> On 2/7/2016 4:26 AM, Maik Wagner wrote:
>>>
>>>> Hi Colin and Efrim,
>>>>
>>>> Maybe we should encourage everyone to report more in Bugzilla.
>>>>
>>> Yes, myself included should be more diligent about reporting issues in
>>> Bugzilla.
>>>
>>>>
>>>> Maik "tapwag" Wagner
>>>>
>>>> _______________________________________________
>>>> OM-QA mailing list
>>>> OM-QA at ml.openmandriva.org
>>>> http://ml.openmandriva.org/mailman/listinfo/om-qa_ml.openmandriva.org
>>>>
>>>
>>>
>>> _______________________________________________
>>> OM-QA mailing list
>>> OM-QA at ml.openmandriva.org
>>> http://ml.openmandriva.org/mailman/listinfo/om-qa_ml.openmandriva.org
>>>
>>
>>
>>
>> _______________________________________________
>> OM-QA mailing listOM-QA at ml.openmandriva.orghttp://ml.openmandriva.org/mailman/listinfo/om-qa_ml.openmandriva.org
>>
>>
>>
>>
>> _______________________________________________
>> OM-QA mailing list
>> OM-QA at ml.openmandriva.org
>> http://ml.openmandriva.org/mailman/listinfo/om-qa_ml.openmandriva.org
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.openmandriva.org/pipermail/om-qa_ml.openmandriva.org/attachments/20160209/ce48e3fc/attachment-0001.html>
-------------- next part --------------
I had to download plenty of dependencies first:
From my history....using root
471 rpm -qa x11-*
472 rpm -qa x11-driver-video-*
473 rpm -qa x11-ser*
474 urpmi x11-driver-video
475 urpmi x11-driver-video-nv
476 urpmi x11-driver-video-v4l
I didnt care about dkms package.
After a successful installation, I was able to verify that the driver is working
$ nvi[tab]
nvidia-bug-report.sh nvidia-installer nvidia-smi
nvidia-cuda-mps-control nvidia-modprobe nvidia-uninstall
nvidia-cuda-mps-server nvidia-persistenced nvidia-xconfig
nvidia-debugdump nvidia-settings
NVIDIA smi is there System Management Interface, without parameters it shows the driver version, power, memory usage, and related.
[efremmc at localhost ~]$ nvidia-smi
Tue Feb 9 15:54:22 2016
+------------------------------------------------------+
| NVIDIA-SMI 361.28 Driver Version: 361.28 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 960 Off | 0000:01:00.0 On | N/A |
| 0% 35C P8 9W / 128W | 228MiB / 4092MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 5000 G /usr/libexec/Xorg 159MiB |
| 0 5939 G /usr/bin/krunner 7MiB |
| 0 5945 G /usr/bin/plasmashell 50MiB |
+-----------------------------------------------------------------------------+
================/=/=/=/=/=/=/=/==/=/=/=/=//============
xorg.conf:
Contents of xorg.conf
----- Start of file--------------
#This configuration is using a NVIDIA Maxwell family of GPUs
# Specifically drm does not recgonize the model but properly identifies it as NV126
# My configuration is a NVIDIA 960 GTX in a Z170 platform on an i5 Intel.
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 361.28 (buildmeister at swio-display-x64-rhel04-04) Wed Feb 3 16:27:53 PST 2016
# File generated by XFdrake (rev )
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************
Section "ServerLayout"
Identifier "layout1"
Screen "screen1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Module"
Load "v4l" # Video for Linux
Load "glx"
EndSection
Section "ServerFlags"
# allows the server to start up even if the mouse does not work
#DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
Option "allowmouseopenfail"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Section "Monitor"
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
# ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
# ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
# modeline generated by gtf(1) [handled by XFdrake]
Identifier "monitor1"
HorizSync 28.0 - 61.0
VertRefresh 48.0 - 65.0
# I added this line from using information from 'monitor-edid -v'
ModeLine "1024x768" 65 1024 1048 1184 1344 768 771 777 806 -hsync +vsync
EndSection
Section "Device"
Identifier "device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce 420 series and later"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
Option "DPMS"
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
--- End of file -----------
0) Download the NVIDIA driver, the latest drive from 361.16 fixes the ABI driver 20.0 issue, but I ended up using the latest that came out today, 2-9-16, 361.28
# When to my download directory
#wget http://us.download.nvidia.com/XFree86/Linux-x86_64/361.28/NVIDIA-Linux-x86_64-361.28.run
1) Modify grub
I first modified grub to add in the following to disable loading of the nouveau driver:
Leave your UUID settings alone.
#vim /etc/default/grub
linux /vmlinuz-4.1.15-nrjQL-desktop-1omv root=UUID=0b0e50f6-5d37-4e35-9121-230234c671cb ro quiet nouveau.modeset=0 splash
Then save.
#update-grub2
#and reboot, 'systemctl reboot'
Could select rescue mode as well after the boot.
2) Enter into priviledge mode: su, then 'init 1'
#lsmod
#init 1
#rmmod ttm
#rmmod nouveau
#cd Downloads
#cd /home/efremmc/Downloads/
#chmod +x NVIDIA-Linux-x86_64-361.28.run
#ls -l *.run
#./NVIDIA-Linux-x86_64-361.28.run
It errored out because it could not find 'cc'
So I typed in 'cc' - So cc should be a link to gcc
#locate gcc
#updatedb
#locate gcc | grep bin
#ln -s /usr/bin/gcc /usr/bin/cc
#ls -l /usr/bin/cc
#./NVIDIA-Linux-x86_64-361.28.run
Another error, reported needing the kernel source files
#rpm -qa kernel-*
#uname -r
#urpmi kernel-source
#urpmi kernel-source-latest
#./NVIDIA-Linux-x86_64-361.28.run
Another dependency required ....
#updatedb
# It wanted the source path without the '/' at the end
#./NVIDIA-Linux-x86_64-361.28.run --kernel-source-path /usr/src/
#./NVIDIA-Linux-x86_64-361.28.run --kernel-source-path /usr/src/linux-4.1.15-1omv
#rpm -qa kernel-*
#urpmi kernel-nrjQL-desktop-devel
Another error reported as it was looking for the version.h file, so I found it and copied it. (we can discuss this later...; I could have created a symbolic link
#locate version.h
#less /usr/include/linux/version.h
#cp /usr/include/linux/version.h /usr/src/linux-4.1.15-nrjQL-desktop-1omv/include/linux/
Then I was abled to install the driver, I told it to continue on errors, because it
was looking to create symbolic links for files that already exist
#./NVIDIA-Linux-x86_64-361.28.run --kernel-source-path /usr/src/linux-4.1.15-nrjQL-desktop-1omv
The modification in xorg.conf are shown above. There is some additional configuration I will tweet in the xorg.conf file.
Finally, rebooted the system. 'systemctl reboot'
More information about the OM-QA
mailing list