[SOLVED] Debian on Lenovo Thinkpad X1 Extreme: X troubles

Everything about X, Gnome, KDE, ... and everything running on it

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby bw123 » 2018-10-24 18:49

... the Intel driver should be loaded, but it is not
...


Maybe I'm missing something, but why would you expect intel driver to get loaded, when lspci didn't list any intel graphics device?
https://wiki.debian.org/NvidiaGraphicsD ... tification

dilberts_left_nut wrote:
...
Why bumblebee if it is the only card?
...
User avatar
bw123
 
Posts: 3526
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby adi1334 » 2018-10-24 19:08

This is an Optimus laptop. As far as I understand, when hybrid graphics is enabled, nvidia piggybacks on intel integrated card. Or somesuch thing.

I want to use Bumblebee (Optimus) so that I get some power saving features (battery life is on the short side with nvidia on all the time).

So I am trying to get it to work. I TURN ON the Hybrid graphics in BIOS. Followed Debian wiki to the best of my knowledge. I must be missing something. So maybe Debian user forums can help.

lspci in hybrid mode *does* detect both cards. Yet X won't start.

:shock:
adi1334
 
Posts: 39
Joined: 2004-10-18 07:01
Location: Timisoara, Romania

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby bw123 » 2018-10-24 19:12

adi1334 wrote:This is an Optimus laptop. As far as I understand, when hybrid graphics is enabled, nvidia piggybacks on intel integrated card. Or somesuch thing.

I want to use Bumblebee (Optimus) so that I get some power saving features (battery life is on the short side with nvidia on all the time).

So I am trying to get it to work. I TURN ON the Hybrid graphics in BIOS. Followed Debian wiki to the best of my knowledge. I must be missing something. So maybe Debian user forums can help.

lspci in hybrid mode *does* detect both cards. Yet X won't start.

:shock:


Well, like I said I might have missed it/ It's kind of a confusing thread. , where did you show the two cards with the ID instructions on the nvidiadriver wiki page?

I looked up Thinkpad X1 Extreme, and found a page or two at lenovo, didn;t see the word hybrid, or optimus.

p.s. thanks for using testingall those yrs, hope you are reporting a lot of bugs, especially anything that would delay buster going stable on time.
User avatar
bw123
 
Posts: 3526
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby adi1334 » 2018-10-24 19:43

I also looked, did not find much, so I asked here.

I followed the Debian Bumblebee wiki (https://wiki.debian.org/Bumblebee).

Installed everything, made sure -- as far as I can tell -- that no xorg.conf was created by nvidia settings, then rebooted, set the display to Hybrid mode in BIOS, booted ... and no X.
Checked by lspci that I do have both video cards active, looked at X log, googled stuff, asked for help here. In a confusing way, likely.
adi1334
 
Posts: 39
Joined: 2004-10-18 07:01
Location: Timisoara, Romania

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby stevepusser » 2018-10-24 20:44

One of the problems with Nvidia seems to be that the drivers won't build or work on the rt kernel. I have heard that people that needed a lower latency kernel seemed to be happy with the Liquorix kernel, at least for audio processing, and the Nvidia drivers build fine on that kernel.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10130
Joined: 2009-10-06 05:53

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby adi1334 » 2018-10-25 06:23

@stevepusser - Thanks for reminding me about the Liquorix kernel. Used it a while back, when rt was not (easily) available in Debian. Will have a look again.
adi1334
 
Posts: 39
Joined: 2004-10-18 07:01
Location: Timisoara, Romania

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby milomak » 2018-10-25 14:32

lspci lists no intel graphics driver so bumblebee is of no use to you.

perhaps if you change the settings in your bios that may get the intel card to load (if your laptop is indeed an optimus one). my bios setting is switchable graphics on a lenovo y700 (i think).

here's what i see on my optimus laptop
Code: Select all
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev ff)
iMac Late-2015 27" 5K Retina - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop (64-bit) - Debian Sid, Win10,
Kodi Box - Debian Sid
milomak
 
Posts: 1806
Joined: 2009-06-09 22:20

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby adi1334 » 2018-10-25 17:30

My Bios settings that is Hybrid Graphics, which I enabled after installing bumblebee. Consequently, lspci lists 2 graphic cards, in a similar manner as described by yourself. That I have said before. Yet, when that is the case, X will not start. That is my problem and question. :cry:
adi1334
 
Posts: 39
Joined: 2004-10-18 07:01
Location: Timisoara, Romania

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby stevepusser » 2018-10-25 18:19

adi1334 wrote:My Bios settings that is Hybrid Graphics, which I enabled after installing bumblebee. Consequently, lspci lists 2 graphic cards, in a similar manner as described by yourself. That I have said before. Yet, when that is the case, X will not start. That is my problem and question. :cry:


Do you have an xorg.conf file anywhere that specifies using the nvidia driver?

Recent Intel GPUs also require firmware-misc-nonfree be installed from the nonfree section of the repo.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10130
Joined: 2009-10-06 05:53

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby milomak » 2018-10-25 19:18

what is your
# dpkg -l | grep xserver | grep video
Code: Select all
ii  xserver-xorg-video-cirrus                     1:1.5.3-1+b3                            amd64        X.Org X server -- Cirrus display driver
ii  xserver-xorg-video-intel                      2:2.99.917+git20180925-2                amd64        X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-mga                        1:1.6.5-1+b1                            amd64        X.Org X server -- MGA display driver
ii  xserver-xorg-video-neomagic                   1:1.2.9-1+b3                            amd64        X.Org X server -- Neomagic display driver
ii  xserver-xorg-video-nvidia                     390.87-2                                amd64        NVIDIA binary Xorg driver
ii  xserver-xorg-video-openchrome                 1:0.6.0-3+b1                            amd64        X.Org X server -- OpenChrome display driver
ii  xserver-xorg-video-sisusb                     1:0.9.7-1+b1                            amd64        X.Org X server -- SiS USB display driver
ii  xserver-xorg-video-tdfx                       1:1.4.7-1+b1                            amd64        X.Org X server -- tdfx display driver
ii  xserver-xorg-video-trident                    1:1.3.8-1+b1                            amd64        X.Org X server -- Trident display driver

pertinently do you have the intel one?

i also have this
# cat /etc/X11/xorg.conf.d/20-intel.conf
Code: Select all
Section "Device"
  Identifier  "Intel Graphics"
  Driver      "intel"
  Option      "AccelMethod"
  Option      "TearFree" "true"
#  Option    "DRI"   "false"
EndSection


when it comes to xorg files i have
# locate xorg | grep etc
Code: Select all
/etc/X11/xorg.conf.d
/etc/X11/xorg.conf.d/20-intel.conf
/etc/X11/xorg.conf.d/70-synaptics.conf
/etc/bumblebee/xorg.conf.d
/etc/bumblebee/xorg.conf.nouveau
/etc/bumblebee/xorg.conf.nvidia
/etc/bumblebee/xorg.conf.nvidia-current
/etc/bumblebee/xorg.conf.d/10-dummy.conf
iMac Late-2015 27" 5K Retina - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop (64-bit) - Debian Sid, Win10,
Kodi Box - Debian Sid
milomak
 
Posts: 1806
Joined: 2009-06-09 22:20

Re: Debian Testing on Lenovo Thinkpad X1 Extreme: X troubles

Postby adi1334 » 2018-10-25 20:02

I do have firmware-misc-nonfree installed.

# dpkg -l | grep xserver | grep video is

Code: Select all
ii  xserver-xorg-video-all                        1:7.7+19                             amd64        X.Org X server -- output driver metapackage
ii  xserver-xorg-video-amdgpu                     18.1.0-1                             amd64        X.Org X server -- AMDGPU display driver
ii  xserver-xorg-video-ati                        1:18.1.0-1                           amd64        X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-fbdev                      1:0.5.0-1                            amd64        X.Org X server -- fbdev display driver
ii  xserver-xorg-video-intel                      2:2.99.917+git20180925-2             amd64        X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-nouveau                    1:1.0.15-3                           amd64        X.Org X server -- Nouveau display driver
ii  xserver-xorg-video-nvidia                     390.87-2                             amd64        NVIDIA binary Xorg driver
ii  xserver-xorg-video-qxl                        0.1.5-2+b1                           amd64        X.Org X server -- QXL display driver
ii  xserver-xorg-video-radeon                     1:18.1.0-1                           amd64        X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-vesa                       1:2.4.0-1                            amd64        X.Org X server -- VESA display driver
ii  xserver-xorg-video-vmware                     1:13.3.0-2                           amd64        X.Org X server -- VMware display driver


I did not have a config file for Intel. OK. I add it to /usr/share/X11/xorg.conf,d (that is the location where X reads the config files, in my case).



AAAAND bAM! That was it, the configuration for intel was missing. Everything works now!

Thank you for your help!


Cheers!!!

:mrgreen:
adi1334
 
Posts: 39
Joined: 2004-10-18 07:01
Location: Timisoara, Romania

Previous

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable