What the hell with nvidia driver ?
Tofloor
poster avatar
jinkobi
deepin
2016-06-03 10:18
Author
Hi everyone,

I would like to know exactly what is the problem with nvidia driver and deepin ?
I mean, in deepin 15.1 and two edition, if I install nvidia driver from additional drivers panel, it's installed but not used.
I restart and when I launch Nvidia app, it says the driver is not used.
(important information, my hardware is a laptop with optimus)

I tried to install the nvidia package from the nvidia website : same result.
I'm pretty sure I don't have all knowledges about graphic card, module and kernel.
If someone could help me - and people in the same case.

Kind regards

Reply Favorite View the author
All Replies
tristar
deepin
2016-06-03 12:10
#1
what is output of the "glxinfo -B" command from the terminal?
Reply View the author
thatcriticguy
deepin
2016-06-03 18:25
#2
I've yet to have an issue with it so it's either a hardware issue (since Deepin is based on Debian perhaps start your google searches there). What kind of card do you have? What's your computer setup?
Reply View the author
laoguang
deepin
2016-06-03 19:58
#3
go to nvidia website and download, dont trust the extra driver thing.
if not, browse through the iso and find the nvidia package, use dpkg and install manually.
Reply View the author
jinkobi
deepin
2016-06-03 21:55
#4
https://bbs.deepin.org/post/31102
I've yet to have an issue with it so it's either a hardware issue (since Deepin is based on Debian p ...

My laptop is a Dell 15 L521X.
The graphic card is a Nvidia GT 640M.
Reply View the author
jinkobi
deepin
2016-06-03 21:56
#5
https://bbs.deepin.org/post/31102
go to nvidia website and download, dont trust the extra driver thing.
if not, browse through the iso ...

I will install freshly with new ISOs shared by melodyzou :
http://cdimage.deepin.com/releases/15.2-build1/

... then download and install driver from nvidia website and give the 'glxinfo -B'.
Thanks
Reply View the author
jinkobi
deepin
2016-06-04 01:15
#6
So, I followed this guide for blacklist nouveau and install nvidia official package :
http://www.allaboutlinux.eu/remo ... driver-in-debian-8/

The nvidia package is installed successfull but after the final reboot, I got a black screen.
It creates a xorg.conf file :
  1. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  2. # nvidia-xconfig:  version 361.45.11  (buildmeister@swio-display-x86-rhel47-08)  Tue May 17 18:58:26 PDT 2016


  3. Section "ServerLayout"
  4.     Identifier     "Layout0"
  5.     Screen      0  "Screen0" 0 0
  6.     InputDevice    "Keyboard0" "CoreKeyboard"
  7.     InputDevice    "Mouse0" "CorePointer"
  8. EndSection

  9. Section "Files"
  10. EndSection

  11. Section "InputDevice"

  12.     # generated from default
  13.     Identifier     "Mouse0"
  14.     Driver         "mouse"
  15.     Option         "Protocol" "auto"
  16.     Option         "Device" "/dev/psaux"
  17.     Option         "Emulate3Buttons" "no"
  18.     Option         "ZAxisMapping" "4 5"
  19. EndSection

  20. Section "InputDevice"

  21.     # generated from default
  22.     Identifier     "Keyboard0"
  23.     Driver         "kbd"
  24. EndSection

  25. Section "Monitor"
  26.     Identifier     "Monitor0"
  27.     VendorName     "Unknown"
  28.     ModelName      "Unknown"
  29.     HorizSync       28.0 - 33.0
  30.     VertRefresh     43.0 - 72.0
  31.     Option         "DPMS"
  32. EndSection

  33. Section "Device"
  34.     Identifier     "Device0"
  35.     Driver         "nvidia"
  36.     VendorName     "NVIDIA Corporation"
  37. EndSection

  38. Section "Screen"
  39.     Identifier     "Screen0"
  40.     Device         "Device0"
  41.     Monitor        "Monitor0"
  42.     DefaultDepth    24
  43.     SubSection     "Display"
  44.         Depth       24
  45.     EndSubSection
  46. EndSection
Copy the Code
Reply View the author
tristar
deepin
2016-06-04 03:39
#7
1)
  1. sudo apt-get install hwinfo
Copy the Code


2)
  1. sudo hwinfo --gfxcard
Copy the Code


Post results here.
Reply View the author
jinkobi
deepin
2016-06-04 04:35
#8
  1. 09: PCI 02.0: 0300 VGA compatible controller (VGA)              
  2.   [Created at pci.366]
  3.   Unique ID: _Znp.vt891wb5OF3
  4.   SysFS ID: /devices/pci0000:00/0000:00:02.0
  5.   SysFS BusID: 0000:00:02.0
  6.   Hardware Class: graphics card
  7.   Model: "Intel 3rd Gen Core processor Graphics Controller"
  8.   Vendor: pci 0x8086 "Intel Corporation"
  9.   Device: pci 0x0166 "3rd Gen Core processor Graphics Controller"
  10.   SubVendor: pci 0x1028 "Dell"
  11.   SubDevice: pci 0x054f
  12.   Revision: 0x09
  13.   Driver: "i915"
  14.   Driver Modules: "drm"
  15.   Memory Range: 0xd2000000-0xd23fffff (rw,non-prefetchable)
  16.   Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
  17.   I/O Ports: 0x4000-0x403f (rw)
  18.   IRQ: 31 (1884 events)
  19.   Module Alias: "pci:v00008086d00000166sv00001028sd0000054Fbc03sc00i00"
  20.   Driver Info #0:
  21.     Driver Status: i915 is active
  22.     Driver Activation Cmd: "modprobe i915"
  23.   Config Status: cfg=new, avail=yes, need=no, active=unknown

  24. 21: PCI 100.0: 0300 VGA compatible controller (VGA)
  25.   [Created at pci.366]
  26.   Unique ID: VCu0.ZesYXR7SUFA
  27.   Parent ID: vSkL.BUl+WxT1ThD
  28.   SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  29.   SysFS BusID: 0000:01:00.0
  30.   Hardware Class: graphics card
  31.   Model: "Dell GeForce GT 640M"
  32.   Vendor: pci 0x10de "nVidia Corporation"
  33.   Device: pci 0x0fd2 "GK107M [GeForce GT 640M]"
  34.   SubVendor: pci 0x1028 "Dell"
  35.   SubDevice: pci 0x054f "GeForce GT 640M"
  36.   Revision: 0xa1
  37.   Driver: "nvidia"
  38.   Driver Modules: "nvidia"
  39.   Memory Range: 0xd0000000-0xd0ffffff (rw,non-prefetchable)
  40.   Memory Range: 0xa0000000-0xafffffff (ro,non-prefetchable)
  41.   Memory Range: 0xb0000000-0xb1ffffff (ro,non-prefetchable)
  42.   I/O Ports: 0x3000-0x3fff (rw)
  43.   Memory Range: 0xd1080000-0xd10fffff (ro,non-prefetchable,disabled)
  44.   IRQ: 16 (247 events)
  45.   Module Alias: "pci:v000010DEd00000FD2sv00001028sd0000054Fbc03sc00i00"
  46.   Driver Info #0:
  47.     Driver Status: nouveau is not active
  48.     Driver Activation Cmd: "modprobe nouveau"
  49.   Driver Info #1:
  50.     Driver Status: nvidia is active
  51.     Driver Activation Cmd: "modprobe nvidia"
  52.   Config Status: cfg=new, avail=yes, need=no, active=unknown
  53.   Attached to: #8 (PCI bridge)

  54. Primary display adapter: #9
Copy the Code
Reply View the author
tristar
deepin
2016-06-04 04:51
#9
One more:

1)
  1. sudo apt install nvidia-detect
Copy the Code


2)
  1. sudo nvidia-detect
Copy the Code


Post output here.
Reply View the author
jinkobi
deepin
2016-06-04 04:59
#10
  1. Detected NVIDIA GPUs:
  2. 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107M [GeForce GT 640M] [10de:0fd2] (rev a1)

  3. Checking card:  NVIDIA Corporation GK107M [GeForce GT 640M] (rev a1)
  4. Your card is supported by the default drivers and legacy driver series 304.
  5. It is recommended to install the
  6.     nvidia-driver
  7. package.
Copy the Code
Reply View the author
tristar
deepin
2016-06-04 05:30
#11
Did you try already as suggesting nvidia-detect?

1)
  1. sudo apt-get install nvidia-driver nvidia-kernel-dkms nvidia-xconfig
Copy the Code


2) before reboot you need to do this:

  1. sudo nvidia-xconfig
Copy the Code


3)
reboot

Maybe this way is working for you, if not, then you have another one, check this script: http://smxi.org/docs/sgfxi-manual.htm

in short it says this:

  1. sudo su -
  2. cd /usr/local/bin && wget -Nc smxi.org/sgfxi && chmod +x sgfxi && sgfxi
Copy the Code


Good luck!
Reply View the author
jinkobi
deepin
2016-06-04 09:38
#12
Hi tristar,

I tried your tips but nothing works correctly.
Finally, I found another guide : http://www.unixmen.com/how-to-ma ... properly-on-debian/
... this one saved me !
And maybe my trouble with Launcher on top seems to be fixed. Maybe it was concerned ?!

Thank you so much for your help !
Reply View the author
jesterjke
deepin
2016-06-05 05:34
#13
Same problem for me.
Reply View the author
thatcriticguy
deepin
2016-06-10 12:48
#14
I have an issue with a black screen and nvidia on Debian Jessie machine recently that caused me all sorts of headaches. What I did to resolve it was remove all nvidia drivers from the system, reboot to nouveau mode, then follow these steps:

add jessie-backports to /etc/apt/source.list then:

  1. apt-get update
Copy the Code
  1. apt-get nstall build-essential
Copy the Code

Install kernel headers:
  1. sudo aptitude install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
Copy the Code
  1. apt-get install -t jessie-backports nvidia-driver
Copy the Code
  1. apt-get install nvidia-xconfig
Copy the Code
  1. nvidia-xconfig
Copy the Code

reboot.

Hope it helps.


Reply View the author
wo******[email protected]
deepin
2023-04-01 22:16
#15
It has been deleted!
New Thread

Popular Events

More
国际排名
WHLUG