You are not logged in.
Hi,
Managed to get BL installed to my new laptop but now I'm having some troubles in driver installations.
So my laptop has of those Nvidia Optimus setups, aren't I lucky? After some searching trough these forums I found out that bumblebee is probably the way to go(?) I found this post and followed it. But there was a problem, the post tells to test the installation by running 'glxgears' and 'optirun glxgears'. 'glxgears' worked fine but 'optirun glxgears' didn't do anything nor print anything. Even 'optirun glxgears -info' just stops without printing anything. What's wrong?
Another problem I'm having is that my laptop's HDMI output isn't recognized by ARandR. Running xrandr produces the following:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
1920x1080 0.00*
Any help to get that one working?
Lastly, I'm experiencing pretty severe screen tearing on scrolling and full screen videos. Tried to update compton from the jessie-backports but that didn't help. Any pro tips to get rid of that?
So the laptop I have is Xiaomi Mi notebook Air 13.3". It has NVIDIA GeForce 940MX.
Offline
Lastly, I'm experiencing pretty severe screen tearing on scrolling and full screen videos. Tried to update compton from the jessie-backports but that didn't help. Any pro tips to get rid of that?
https://wiki.archlinux.org/index.php/NV … en_tearing
What is your actual hardware and drivers at the moment?
Run this command first to update the product ID database:
sudo update-pciids
Then post the output of this command:
lspci -knn | grep -iA2 '\''[030[02]\]'
Finally, did you add your user to the "bumblebee" group?
groups
Offline
So, when did
sudo apt-get install -t jessie-backports bumblebee-nvidia primus primus-libs:i386 nvidia-cuda-toolkit
did you notice if it pulled linux-headers-amd64 as a depend? If so it will have pulled those from backports as well as bumblebee-nvidia. Which is likely to cause issues unless you also have the backported kernel.
At least that's what happened to me when I pulled something that needed headers from backports..
what is the output from
apt-cache policy linux-image-amd64
and
apt-cache policy linux-headers-amd64
Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me
Offline
That test line
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
Results in
ERROR: Error resolving target specification '' (No targets match target
specification), specified in assignment 'CurrentMetaMode=nvidia-auto-select
+0+0 { ForceFullCompositionPipeline = On }'.
What is your actual hardware and drivers at the moment?
Run this command first to update the product ID database:
sudo update-pciids
Then post the output of this command:
lspci -knn | grep -iA2 '\''[030[02]\]'
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 520 [8086:1916] (rev 07)
Subsystem: Device [1d72:1602]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
--
01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:134b] (rev ff)
02:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
Subsystem: Intel Corporation Device [8086:9010]
Finally, did you add your user to the "bumblebee" group?
groups
The user `harrowed' is already a member of `bumblebee'.
Seems so
Which is likely to cause issues unless you also have the backported kernel.
I have the backported kernel, I needed it for my wireless card.
linux-image-amd64:
Asennettu: 4.7+75~bpo8+1
Ehdokas: 4.7+75~bpo8+1
Versiotaulukko:
*** 4.7+75~bpo8+1 0
100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
100 /var/lib/dpkg/status
3.16+63 0
500 http://ftp.fi.debian.org/debian/ jessie/main amd64 Packages
linux-headers-amd64:
Asennettu: 4.7+75~bpo8+1
Ehdokas: 4.7+75~bpo8+1
Versiotaulukko:
*** 4.7+75~bpo8+1 0
100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
100 /var/lib/dpkg/status
3.16+63 0
500 http://ftp.fi.debian.org/debian/ jessie/main amd64 Packages
Offline
Just a thought - did you enable discrete or integrated graphics in the BIOS?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
So the laptop I have is Xiaomi Mi notebook Air 13.3". It has NVIDIA GeForce 940MX.
that's a pretty, new laptop.
stress on "new".
debian stable is not exactly new.
it might not be the most suitable distro for this hardware; i see you already backported the newest (or a newer) kernel, but i daresay similar problems will keep piling up.
edit:
hah, the next new thread should be relevant to you, too.
Last edited by ohnonot (2016-11-03 06:45:53)
Offline
Head_on_a_Stick wrote:That test line
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
Results in
ERROR: Error resolving target specification '' (No targets match target specification), specified in assignment 'CurrentMetaMode=nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }'.
How strange, that suggestion has worked for several NVIDIA users over at the Arch Forums, perhaps the jessie version of nvidia-settings does not offer that option -- there is a newer version in jessie-backports if you want to try that:
https://packages.debian.org/jessie-back … a-settings
The `lspci` output shows that you currently have no video drivers loaded at all and that you have a Broadwell Intel integrated card which will need a newer DDX video driver & Mesa version to work properly, see this guide for more:
https://forums.bunsenlabs.org/viewtopic.php?id=1185
You can check which NVIDIA driver is needed by using:
nvidia-detect
https://packages.debian.org/nvidia-detect
Finally, note that any and all Xorg configuration files relating to your video cards must be removed for Bumblebee to work correctly.
From the Debian wiki page:
Warning: If you choose to install bumblebee-nvidia and the dependent nvidia driver packages, during postinst, you will see a debconf prompt warning you that you need to create a xorg.conf file in order to use the proprietary nvidia driver. This prompt only applies to non-Optimus users, i.e. single Nvidia GPU systems. Do NOT allow debconf to create a xorg.conf file, and do NOT run nvidia-xconfig!
https://wiki.debian.org/Bumblebee
it might not be the most suitable distro for this hardware
+1
Offline
Just remembered that forum member and all-round Legend @stevep has a similarly-spec'd laptop that seems to be working now under Debian jessie with numerous custom backported packages:
http://forums.debian.net/viewtopic.php?p=627875#p627875
His OBS thread is here:
Offline
First thing is to get the Skylake graphics working, for which you need the Intel graphics driver from backports, the backports kernel, and the Mesa 12.0.3 in backports also. You may also want to set a custom 20-intel.conf file to have it use UXA acceleration. The modesetting driver that is often suggested doesn't seem to work very well, stick with the Intel driver.
# /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"
Option "TearFree" "true"
EndSection
The review I saw on Youtube for my laptop in Windows suggested that the Nvidia 940 MX only added maybe 25% in performance over the Intel, and that seems to match what I see. Maybe really not worth the trouble. Anyway, for this chip the nvidia-driver must be at least 361, and you lucked out because 367.44 was just added to jessie-backports, so you should try the commands to set up Bumblebee in the Debian wiki from the backports repository.
Last edited by stevep (2016-11-04 21:18:09)
Offline