Problem with NVIDIA GeForce GTX 950M and 4k display

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Problem with NVIDIA GeForce GTX 950M and 4k display

Postby Odranoel » 2016-03-05 14:06

Hello everyone!
I have recently bought a new notebook, an ASUS K501UX, and I have encountered some problems installing Debian 8.3 on it.
In fact, already during the installation process it looks like there are some problems with the video card (NVIDIA GeForce GTX 950M), since the lower part of the screen is just black (even if it still "exists", that is the mouse can go "behind" it and click the "next" or "cancel" buttons which are "covered" by the black stripe):
http://i.imgsafe.org/98e2a8c.jpg


This problem persists also after the installation. Furthermore, since the screen has a 4k resolution (3640x2160) all icons, windows and texts are painfully small:
https://i.imgsafe.org/8851bd1.png


As you can see, however, if I take a screenshot all the desktop is visualized. This is what the screen actually looks like in the lower part:
https://i.imgsafe.org/0a44917.jpg


I tried changing the resolution from the Settings, but apart from 3640x2160 no other options are available. Furthermore, the display is labelled as "Unknown display":
https://i.imgsafe.org/fccb530.png


I then tried to change it with xrandr, but the output of xrandr command is the following:
Code: Select all
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 3840 x 2160, current 3840 x 2160, maximum 3840 x 2160
default connected primary 3840x2160+0+0 0mm x 0mm
   3840x2160      0.00*

I then looked around the web, and found that this is a problem related to the video card driver. So, I followed the DebianWiki on the subject to install the driver, namely I installed the nvidia-driver package and then configured xorg with nvidia-xconfig. However, rebooting Debian, all I got is a blank screen with a flashing pointer, and xserver not working at all (if I press Alt+F3 and login and then try startx I get a long list of deadly-sounding errors like "screen not found").
What should I do? Should I try installing the drivers from the NVIDIA website? I've read (also in the DebianWiki) that this can cause problems to the system.
Or is it really a driver problem? Why doesn't it detect the screen?

Thank you very much for any kind of help!
Last edited by Odranoel on 2016-03-05 15:25, edited 2 times in total.
User avatar
Odranoel
 
Posts: 21
Joined: 2014-07-28 10:57

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby tomazzi » 2016-03-05 14:52

Your images are not linked correctly - use the url tags.

According to ASUS, the screen has a HD/FullHD resolution, not 4K:
https://www.asus.com/us/Notebooks/K501UX/specifications

Post the contents of /var/log/Xorg.0.log
Odi profanum vulgus
tomazzi
 
Posts: 730
Joined: 2013-08-02 21:33

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby Odranoel » 2016-03-05 15:43

Sorry, I've put the urls now :mrgreen:

Yes, normally it has a FHD display, but my model (K501UX-FI115T) has 4k resolution.

This is the content of /var/log/Xorg.0.log:
Code: Select all
[     4.269]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[     4.269] X Protocol Version 11, Revision 0i
[     4.269] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[     4.269] Current Operating System: Linux notebook 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64
[     4.269] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=ff378927-2ee3-418d-8b73-0112a6851b31 ro quiet
[     4.269] Build Date: 11 February 2015  12:32:02AM
[     4.269] xorg-server 2:1.16.4-1 (http://www.debian.org/support)
[     4.269] Current version of pixman: 0.32.6
[     4.269]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[     4.269] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     4.269] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar  5 16:33:02 2016
[     4.273] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     4.274] (==) No Layout section.  Using the first Screen section.
[     4.274] (==) No screen section available. Using defaults.
[     4.274] (**) |-->Screen "Default Screen Section" (0)
[     4.274] (**) |   |-->Monitor "<default monitor>"
[     4.274] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[     4.274] (==) Automatically adding devices
[     4.274] (==) Automatically enabling devices
[     4.274] (==) Automatically adding GPU devices
[     4.280] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     4.280]    Entry deleted from font path.
[     4.284] (==) FontPath set to:
   /usr/share/fonts/X11/misc,
   /usr/share/fonts/X11/100dpi/:unscaled,
   /usr/share/fonts/X11/75dpi/:unscaled,
   /usr/share/fonts/X11/Type1,
   /usr/share/fonts/X11/100dpi,
   /usr/share/fonts/X11/75dpi,
   built-ins
[     4.284] (==) ModulePath set to "/usr/lib/xorg/modules"
[     4.284] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[     4.284] (II) Loader magic: 0x7ffb92d9ed80
[     4.284] (II) Module ABI versions:
[     4.284]    X.Org ANSI C Emulation: 0.4
[     4.284]    X.Org Video Driver: 18.0
[     4.284]    X.Org XInput driver : 21.0
[     4.284]    X.Org Server Extension : 8.0
[     4.284] (II) xfree86: Adding drm device (/dev/dri/card0)
[    11.001] (--) PCI:*(0:0:2:0) 8086:1916:1043:1d1d rev 7, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64
[    11.001] (--) PCI: (0:1:0:0) 10de:139a:1043:1d1d rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    11.001] (II) LoadModule: "glx"
[    11.004] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    11.013] (II) Module glx: vendor="X.Org Foundation"
[    11.013]    compiled for 1.16.4, module version = 1.0.0
[    11.013]    ABI class: X.Org Server Extension, version 8.0
[    11.013] (==) AIGLX enabled
[    11.013] (==) Matched intel as autoconfigured driver 0
[    11.013] (==) Matched modesetting as autoconfigured driver 1
[    11.013] (==) Matched fbdev as autoconfigured driver 2
[    11.013] (==) Matched vesa as autoconfigured driver 3
[    11.013] (==) Assigned the driver to the xf86ConfigLayout
[    11.013] (II) LoadModule: "intel"
[    11.013] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    11.016] (II) Module intel: vendor="X.Org Foundation"
[    11.016]    compiled for 1.15.99.904, module version = 2.21.15
[    11.016]    Module class: X.Org Video Driver
[    11.016]    ABI class: X.Org Video Driver, version 18.0
[    11.016] (II) LoadModule: "modesetting"
[    11.016] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    11.017] (II) Module modesetting: vendor="X.Org Foundation"
[    11.017]    compiled for 1.16.4, module version = 0.9.0
[    11.017]    Module class: X.Org Video Driver
[    11.017]    ABI class: X.Org Video Driver, version 18.0
[    11.017] (II) LoadModule: "fbdev"
[    11.017] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    11.017] (II) Module fbdev: vendor="X.Org Foundation"
[    11.017]    compiled for 1.15.99.904, module version = 0.4.4
[    11.017]    Module class: X.Org Video Driver
[    11.017]    ABI class: X.Org Video Driver, version 18.0
[    11.017] (II) LoadModule: "vesa"
[    11.017] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    11.018] (II) Module vesa: vendor="X.Org Foundation"
[    11.018]    compiled for 1.15.99.904, module version = 2.3.3
[    11.018]    Module class: X.Org Video Driver
[    11.018]    ABI class: X.Org Video Driver, version 18.0
[    11.018] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
   i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
   915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
   Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
   GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
   HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
   HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
   HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
   HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[    11.018] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    11.018] (II) FBDEV: driver for framebuffer: fbdev
[    11.018] (II) VESA: driver for VESA chipsets: vesa
[    11.018] (++) using VT number 7

[    11.043] (EE) open /dev/dri/card0: No such file or directory
[    11.043] (WW) Falling back to old probe method for modesetting
[    11.043] (EE) open /dev/dri/card0: No such file or directory
[    11.043] (II) Loading sub module "fbdevhw"
[    11.043] (II) LoadModule: "fbdevhw"
[    11.043] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    11.044] (II) Module fbdevhw: vendor="X.Org Foundation"
[    11.044]    compiled for 1.16.4, module version = 0.0.2
[    11.044]    ABI class: X.Org Video Driver, version 18.0
[    11.044] (**) FBDEV(1): claimed PCI slot 0@0:2:0
[    11.044] (II) FBDEV(1): using default device
[    11.044] (WW) Falling back to old probe method for vesa
[    11.044] (EE) Screen 0 deleted because of no matching config section.
[    11.044] (II) UnloadModule: "modesetting"
[    11.044] (II) FBDEV(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[    11.044] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    11.044] (==) FBDEV(0): RGB weight 888
[    11.044] (==) FBDEV(0): Default visual is TrueColor
[    11.044] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    11.044] (II) FBDEV(0): hardware: simple (video memory: 32400kB)
[    11.044] (II) FBDEV(0): checking modes against framebuffer device...
[    11.044] (II) FBDEV(0): checking modes against monitor...
[    11.044] (--) FBDEV(0): Virtual size is 3840x2160 (pitch 3840)
[    11.044] (**) FBDEV(0):  Built-in mode "current"
[    11.044] (==) FBDEV(0): DPI set to (96, 96)
[    11.044] (II) Loading sub module "fb"
[    11.044] (II) LoadModule: "fb"
[    11.045] (II) Loading /usr/lib/xorg/modules/libfb.so
[    11.046] (II) Module fb: vendor="X.Org Foundation"
[    11.046]    compiled for 1.16.4, module version = 1.0.0
[    11.046]    ABI class: X.Org ANSI C Emulation, version 0.4
[    11.046] (**) FBDEV(0): using shadow framebuffer
[    11.046] (II) Loading sub module "shadow"
[    11.046] (II) LoadModule: "shadow"
[    11.046] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    11.047] (II) Module shadow: vendor="X.Org Foundation"
[    11.047]    compiled for 1.16.4, module version = 1.1.0
[    11.047]    ABI class: X.Org ANSI C Emulation, version 0.4
[    11.047] (II) UnloadModule: "vesa"
[    11.047] (II) Unloading vesa
[    11.047] (==) Depth 24 pixmap format is 32 bpp
[    11.047] (EE) FBDEV(0): FBIOBLANK: Invalid argument
[    11.049] (==) FBDEV(0): Backing store enabled
[    11.050] (==) FBDEV(0): DPMS enabled
[    11.050] (==) RandR enabled
[    11.056] (II) SELinux: Disabled on system
[    11.057] (II) AIGLX: Screen 0 is not DRI2 capable
[    11.057] (EE) AIGLX: reverting to software rendering
[    11.145] (II) AIGLX: Loaded and initialized swrast
[    11.145] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    11.197] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[    11.197] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    11.197] (II) LoadModule: "evdev"
[    11.197] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    11.200] (II) Module evdev: vendor="X.Org Foundation"
[    11.200]    compiled for 1.16.0, module version = 2.9.0
[    11.200]    Module class: X.Org XInput Driver
[    11.200]    ABI class: X.Org XInput driver, version 21.0
[    11.200] (II) Using input driver 'evdev' for 'Power Button'
[    11.200] (**) Power Button: always reports core events
[    11.200] (**) evdev: Power Button: Device: "/dev/input/event4"
[    11.200] (--) evdev: Power Button: Vendor 0 Product 0x1
[    11.200] (--) evdev: Power Button: Found keys
[    11.200] (II) evdev: Power Button: Configuring as keyboard
[    11.200] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[    11.200] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    11.200] (**) Option "xkb_rules" "evdev"
[    11.200] (**) Option "xkb_model" "pc105"
[    11.200] (**) Option "xkb_layout" "it"
[    11.214] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[    11.214] (II) No input driver specified, ignoring this device.
[    11.214] (II) This device may have been added with another device file.
[    11.215] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[    11.215] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    11.215] (II) Using input driver 'evdev' for 'Sleep Button'
[    11.215] (**) Sleep Button: always reports core events
[    11.215] (**) evdev: Sleep Button: Device: "/dev/input/event3"
[    11.215] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    11.215] (--) evdev: Sleep Button: Found keys
[    11.215] (II) evdev: Sleep Button: Configuring as keyboard
[    11.215] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3/event3"
[    11.215] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[    11.215] (**) Option "xkb_rules" "evdev"
[    11.215] (**) Option "xkb_model" "pc105"
[    11.215] (**) Option "xkb_layout" "it"
[    11.215] (II) config/udev: Adding input device PS/2+USB Mouse (/dev/input/event1)
[    11.215] (**) PS/2+USB Mouse: Applying InputClass "evdev pointer catchall"
[    11.215] (II) Using input driver 'evdev' for 'PS/2+USB Mouse'
[    11.215] (**) PS/2+USB Mouse: always reports core events
[    11.215] (**) evdev: PS/2+USB Mouse: Device: "/dev/input/event1"
[    11.215] (--) evdev: PS/2+USB Mouse: Vendor 0x1267 Product 0x210
[    11.215] (--) evdev: PS/2+USB Mouse: Found 3 mouse buttons
[    11.215] (--) evdev: PS/2+USB Mouse: Found scroll wheel(s)
[    11.215] (--) evdev: PS/2+USB Mouse: Found relative axes
[    11.215] (--) evdev: PS/2+USB Mouse: Found x and y relative axes
[    11.215] (II) evdev: PS/2+USB Mouse: Configuring as mouse
[    11.215] (II) evdev: PS/2+USB Mouse: Adding scrollwheel support
[    11.215] (**) evdev: PS/2+USB Mouse: YAxisMapping: buttons 4 and 5
[    11.215] (**) evdev: PS/2+USB Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    11.216] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:1267:0210.0001/input/input1/event1"
[    11.216] (II) XINPUT: Adding extended input device "PS/2+USB Mouse" (type: MOUSE, id 8)
[    11.216] (II) evdev: PS/2+USB Mouse: initialized for relative axes.
[    11.216] (**) PS/2+USB Mouse: (accel) keeping acceleration scheme 1
[    11.216] (**) PS/2+USB Mouse: (accel) acceleration profile 0
[    11.216] (**) PS/2+USB Mouse: (accel) acceleration factor: 2.000
[    11.216] (**) PS/2+USB Mouse: (accel) acceleration threshold: 4
[    11.216] (II) config/udev: Adding input device PS/2+USB Mouse (/dev/input/mouse0)
[    11.216] (II) No input driver specified, ignoring this device.
[    11.216] (II) This device may have been added with another device file.
[    11.216] (II) config/udev: Adding input device USB2.0 VGA UVC WebCam (/dev/input/event10)
[    11.216] (**) USB2.0 VGA UVC WebCam: Applying InputClass "evdev keyboard catchall"
[    11.216] (II) Using input driver 'evdev' for 'USB2.0 VGA UVC WebCam'
[    11.216] (**) USB2.0 VGA UVC WebCam: always reports core events
[    11.216] (**) evdev: USB2.0 VGA UVC WebCam: Device: "/dev/input/event10"
[    11.216] (--) evdev: USB2.0 VGA UVC WebCam: Vendor 0xbda Product 0x57ed
[    11.216] (--) evdev: USB2.0 VGA UVC WebCam: Found keys
[    11.216] (II) evdev: USB2.0 VGA UVC WebCam: Configuring as keyboard
[    11.216] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input10/event10"
[    11.216] (II) XINPUT: Adding extended input device "USB2.0 VGA UVC WebCam" (type: KEYBOARD, id 9)
[    11.216] (**) Option "xkb_rules" "evdev"
[    11.216] (**) Option "xkb_model" "pc105"
[    11.216] (**) Option "xkb_layout" "it"
[    11.217] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event7)
[    11.217] (II) No input driver specified, ignoring this device.
[    11.217] (II) This device may have been added with another device file.
[    11.217] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event8)
[    11.217] (II) No input driver specified, ignoring this device.
[    11.217] (II) This device may have been added with another device file.
[    11.217] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event9)
[    11.217] (II) No input driver specified, ignoring this device.
[    11.217] (II) This device may have been added with another device file.
[    11.218] (II) config/udev: Adding input device Asus WMI hotkeys (/dev/input/event6)
[    11.218] (**) Asus WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[    11.218] (II) Using input driver 'evdev' for 'Asus WMI hotkeys'
[    11.218] (**) Asus WMI hotkeys: always reports core events
[    11.218] (**) evdev: Asus WMI hotkeys: Device: "/dev/input/event6"
[    11.218] (--) evdev: Asus WMI hotkeys: Vendor 0 Product 0
[    11.218] (--) evdev: Asus WMI hotkeys: Found keys
[    11.218] (II) evdev: Asus WMI hotkeys: Configuring as keyboard
[    11.218] (**) Option "config_info" "udev:/sys/devices/platform/asus-nb-wmi/input/input6/event6"
[    11.218] (II) XINPUT: Adding extended input device "Asus WMI hotkeys" (type: KEYBOARD, id 10)
[    11.218] (**) Option "xkb_rules" "evdev"
[    11.218] (**) Option "xkb_model" "pc105"
[    11.218] (**) Option "xkb_layout" "it"
[    11.218] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    11.218] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    11.218] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    11.218] (**) AT Translated Set 2 keyboard: always reports core events
[    11.218] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    11.218] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    11.218] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    11.218] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    11.218] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    11.218] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[    11.218] (**) Option "xkb_rules" "evdev"
[    11.218] (**) Option "xkb_model" "pc105"
[    11.218] (**) Option "xkb_layout" "it"
[    11.218] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[    11.218] (II) No input driver specified, ignoring this device.
[    11.218] (II) This device may have been added with another device file.
[    11.220] (EE) FBDEV(0): FBIOBLANK: Invalid argument
[    11.229] removing GPU device /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/drm/card0 /dev/dri/card0
[    11.229] (II) config/udev: Adding drm device (/dev/dri/card0)
[    11.229] (II) xfree86: Adding drm device (/dev/dri/card0)
[    11.229] removing GPU device /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/drm/card0 /dev/dri/card0
[    12.542] (EE) FBDEV(0): FBIOBLANK: Invalid argument
[    18.128] (EE) FBDEV(0): FBIOBLANK: Invalid argument
Last edited by Odranoel on 2016-03-05 17:53, edited 1 time in total.
User avatar
Odranoel
 
Posts: 21
Joined: 2014-07-28 10:57

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby tomazzi » 2016-03-05 17:20

Definitely something went wrong with the driver installation/configuration - xorg tries to use intel graphics driver, not nvidia.

Perhaps this notebook has so called "Optimus technology"?
That would mean that You have 2 onboard gfx chips: intel and nvidia.
In such case You need to either switch the default gfx to nvidia (in the bios) or, if such opion is not available, You can try the bumblebee solution.

If this is not the case, then please post the result of the following cmd (to check what nvidia packages are installed)
Code: Select all
dpkg -l | grep nvidia


edit:
please show also the contents of /etc/X11/xorg.conf, if it does exist.
Odi profanum vulgus
tomazzi
 
Posts: 730
Joined: 2013-08-02 21:33

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby Odranoel » 2016-03-05 17:52

I actually have found that my notebook has Optimus. I haven't found any option in the BIOS to set NVIDIA as defalut, so I'll try with bumblebee.
Anyway, the command dpkg -l | grep nvidia gives absolutely no output, so no packages involving nvidia drivers are installed, am I right?

I have also noted that xorg.conf doesn't exist at all.
Last edited by Odranoel on 2016-03-05 19:10, edited 1 time in total.
User avatar
Odranoel
 
Posts: 21
Joined: 2014-07-28 10:57

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby Odranoel » 2016-03-05 18:17

I have followed the DebianWiki about Bumblebee, but nothing has changed.
If I run optirun glxgears I get:
Code: Select all
$ optirun glxgears
[  496.908020] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

[  496.908049] [ERROR]Aborting because fallback start is disabled.



EDIT: I have also noticed that lspci -nn | grep VGA doesn't show the NVIDIA card:
Code: Select all
# lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:1916] (rev 07)
User avatar
Odranoel
 
Posts: 21
Joined: 2014-07-28 10:57

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby Head_on_a_Stick » 2016-03-05 19:29

Odranoel wrote:I have followed the DebianWiki about Bumblebee

Odranoel wrote:I installed the nvidia-driver package and then configured xorg with nvidia-xconfig

Bumblebee won't work with the nvidia-xconfig configuration file present -- you need to remove whichever xorg configuration file that program generated.

Odranoel wrote:I have also noticed that lspci -nn | grep VGA doesn't show the NVIDIA card:
Code: Select all
# lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:1916] (rev 07)

The NVIDIA card will be called "3D" or similar and should be visible in the full output of `lspci` unless it has been disabled from your machine's firmware (BIOS) options.

EDIT: For your icon & text size problems, use the scaling options in gnome-tweak-tool/dconf-editor/gsettings(1)

For example:
Code: Select all
gsettings set org.gnome.desktop.interface scaling-factor 2
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6672
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby Odranoel » 2016-03-05 20:07

Head_on_a_Stick wrote:Bumblebee won't work with the nvidia-xconfig configuration file present -- you need to remove whichever xorg configuration file that program generated.

I tried reinstalling Debian and bumblebee without executing nvidia-xconfig, but didn't work.

Head_on_a_Stick wrote:The NVIDIA card will be called "3D" or similar and should be visible in the full output of `lspci` unless it has been disabled from your machine's firmware (BIOS) options.

Your're right, it's listed as 3D controller.


The display, anyway, is always detected as "Unknown". To be honest, in lspci output there is nothing that looks like a display:
Code: Select all
# lspci
00:00.0 Host bridge: Intel Corporation Device 1904 (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Device 1916 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Device 1903 (rev 08)
00:14.0 USB controller: Intel Corporation Device 9d2f (rev 21)
00:14.2 Signal processing controller: Intel Corporation Device 9d31 (rev 21)
00:15.0 Signal processing controller: Intel Corporation Device 9d60 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Device 9d61 (rev 21)
00:16.0 Communication controller: Intel Corporation Device 9d3a (rev 21)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Device 9d14 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Device 9d15 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d48 (rev 21)
00:1f.2 Memory controller: Intel Corporation Device 9d21 (rev 21)
00:1f.3 Audio device: Intel Corporation Device 9d70 (rev 21)
00:1f.4 SMBus: Intel Corporation Device 9d23 (rev 21)
01:00.0 3D controller: NVIDIA Corporation Device 139a (rev a2)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)

and xrandr always gives the "Failed to get size of gamma for output default"...


Head_on_a_Stick wrote:For your icon & text size problems, use the scaling options in gnome-tweak-tool/dconf-editor/gsettings(1)

For example:
Code: Select all
gsettings set org.gnome.desktop.interface scaling-factor 2

I've tried the command, but I get:

Code: Select all
# gsettings set org.gnome.desktop.interface scaling-factor 2

(process:2355): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
User avatar
Odranoel
 
Posts: 21
Joined: 2014-07-28 10:57

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby tomazzi » 2016-03-05 22:17

The bumblebee package suggest bumblebee-nvidia package, which in turn installs the nvidia driver (kernel modules). So definitely You should have some nvidia packages listed - if not, try to install the "bumblebee-nvidia" package.

But, there is also another solution:
https://wiki.archlinux.org/index.php/NVIDIA_Optimus
Section: "Using nvidia", xorg.conf "For older X servers"

The proposed xorg.conf works when both the xorg-native drivers for intel and the nvidia drivers are installed. It configures both gfx cards and tells the xserver to use nv for the main display and to disable the intel gfx.
Odi profanum vulgus
tomazzi
 
Posts: 730
Joined: 2013-08-02 21:33

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby Odranoel » 2016-03-05 23:03

Yes, following the bumblebee DebianWiki I have installed bumblebee-nvidia, but didn't worked.
I tried copy-pasting the content of xorg.conf "for older X servers" into /etc/bumblebee/xorg.conf.nvidia, but didn't worked either.
If it can be useful, the content of my /etc/bumblebee/xorg.conf.nvidia is:
Code: Select all
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
#   BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

I've also tried uncommenting the line BusID "PCI:01:00:0", but that didn't work, even if the BusID is correct:
Code: Select all
# lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation Device 1916 (rev 07)
01:00.0 3D controller: NVIDIA Corporation Device 139a (rev ff)
User avatar
Odranoel
 
Posts: 21
Joined: 2014-07-28 10:57

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby fireExit » 2016-03-05 23:05

the 950M is not supported by the default jessie nvidia driver; you need backports ( http://backports.debian.org/Instructions/ )
User avatar
fireExit
 
Posts: 559
Joined: 2014-11-20 11:22

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby Odranoel » 2016-03-06 00:28

I re-installed everything and bumblebee (bumblebee-nvidia and primus packages) with jessie-backports, but that didn't work either...


EDIT: I have noticed that in /etc/bumblebee there are two different xorg.conf files:
  • xorg.conf.nvidia, and its content is:
    Code: Select all
    Section "ServerLayout"
        Identifier  "Layout0"
        Option      "AutoAddDevices" "false"
        Option      "AutoAddGPU" "false"
    EndSection

    Section "Device"
        Identifier  "DiscreteNvidia"
        Driver      "nvidia"
        VendorName  "NVIDIA Corporation"

    #   If the X server does not automatically detect your VGA device,
    #   you can manually set it here.
    #   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    #   as you see in the commented example.
    #   This Setting may be needed in some platforms with more than one
    #   nvidia card, which may confuse the proprietary driver (e.g.,
    #   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    #   BusID "PCI:01:00:0"

    #   Setting ProbeAllGpus to false prevents the new proprietary driver
    #   instance spawned to try to control the integrated graphics card,
    #   which is already being managed outside bumblebee.
    #   This option doesn't hurt and it is required on platforms running
    #   more than one nvidia graphics card with the proprietary driver.
    #   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    #   If this option is not set, the new Xorg may blacken the screen and
    #   render it unusable (unless you have some way to run killall Xorg).
        Option "ProbeAllGpus" "false"

        Option "NoLogo" "true"
        Option "UseEDID" "false"
        Option "UseDisplayDevice" "none"
    EndSection
  • xorg.conf.nouveau, and its content is:
    Code: Select all
    Section "ServerLayout"
        Identifier  "Layout0"
        Option      "AutoAddDevices" "false"
        Option      "AutoAddGPU" "false"
    EndSection

    Section "Device"
        Identifier  "DiscreteNvidia"
        Driver      "nouveau"

    #   If the X server does not automatically detect your VGA device,
    #   you can manually set it here.
    #   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    #   as you see in the commented example.
    #   This Setting is needed on Ubuntu 13.04.
    #   BusID "PCI:01:00:0"

    EndSection

Can my problem be related with the fact that in the two files the device with identifier "DiscreteNvidia" has different "Driver" voices? Or having installed bumblebee-nvidia makes xorg.conf.nouveau ineffective?
User avatar
Odranoel
 
Posts: 21
Joined: 2014-07-28 10:57

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby Head_on_a_Stick » 2016-03-06 00:43

Odranoel wrote:
  • xorg.conf.nvidia
  • xorg.conf.nouveau

Files in /etc/bumblebee are not parsed by the X server.

Please read the DESCRIPTION section of xorg.conf(5)
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6672
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby fireExit » 2016-03-06 03:00

Odranoel wrote:I re-installed everything and bumblebee (bumblebee-nvidia and primus packages) with jessie-backports, but that didn't work either...

1. what, exactly, was the apt command that you used?
2. you didn't run nvidia-xconfig after the bumblebee installation, did you?
User avatar
fireExit
 
Posts: 559
Joined: 2014-11-20 11:22

Re: Problem with NVIDIA GeForce GTX 950M and 4k display

Postby Odranoel » 2016-03-06 08:17

fireExit wrote:1. what, exactly, was the apt command that you used?
2. you didn't run nvidia-xconfig after the bumblebee installation, did you?


I added the line "deb http://http.debian.net/debian jessie-backports main contrib non-free" to /etc/apt/sources.list, then updated apt-get and ran "sudo apt-get install -t jessie-backports bumblebee-nvidia primus".
No, I didn't run nvidia-xconfig after installing bumblebee (I have no xorg.conf file in /etc/X11).
User avatar
Odranoel
 
Posts: 21
Joined: 2014-07-28 10:57

Next

Return to Hardware

Who is online

Users browsing this forum: zerubbabel and 8 guests

fashionable