[Solved] Debian 9.5 on Lenovo P1 Workstation

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

[Solved] Debian 9.5 on Lenovo P1 Workstation

Postby wimmer » 2018-10-19 08:21

I have a Lenovo P1 Workstation with:
- NVIDIA Quadro P1000, 4 GB GDDR5
- Intel Wireless-AC 9560 WLAN (2x2) + Bluetooth 5

Running Debian 9.5 without NIC and WLAN. And i'm unalbe to adjust brightness. When i'm starting a Linuxmint Live CD i have NIC, WLAN and can adjust brightness but i want to use Debian.
I spend a lot of time to get the NIC and WLAN running. Adjust brightness would be nice but not necessary.

What i tried without success:
- install firmware-iwlwifi
- install firmware-iwlwifi from Backports
- inplace upgrade to buster: -> both works but after reboot i'm able to login and then a gray screen is frozen with a not moving mouse pointer
- buster fresh install ends in the same frozen screen
- installing Intel's new iwlwifi driver from here: https://www.intel.com/content/www/us/en ... rking.html

here a part of my dmesg output but I cannot find these particular ucode files online. :
Code: Select all
[    2.620487] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-a0-jf-a0-26.ucode (-2)
[    2.620906] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-a0-jf-a0-26.ucode failed with error -2
[    2.620915] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-a0-jf-a0-25.ucode (-2)
[    2.621380] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-a0-jf-a0-25.ucode failed with error -2
[    2.621388] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-a0-jf-a0-24.ucode (-2)
[    2.622194] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-a0-jf-a0-24.ucode failed with error -2
[    2.622206] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-a0-jf-a0-23.ucode (-2)
[    2.623166] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-a0-jf-a0-23.ucode failed with error -2
[    2.623175] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-a0-jf-a0-22.ucode (-2)
[    2.623470] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-a0-jf-a0-22.ucode failed with error -2
[    2.623582] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-a0-jf-a0-21.ucode (-2)
[    2.623818] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-a0-jf-a0-21.ucode failed with error -2
[    2.623827] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-a0-jf-a0-20.ucode (-2)
[    2.624073] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-a0-jf-a0-20.ucode failed with error -2
[    2.624081] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-a0-jf-a0-19.ucode (-2)
[    2.624704] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-a0-jf-a0-19.ucode failed with error -2
[    2.624712] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-a0-jf-a0-18.ucode (-2)
[    2.626669] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-a0-jf-a0-18.ucode failed with error -2
[    2.626680] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-a0-jf-a0-17.ucode (-2)
[    2.627636] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-a0-jf-a0-17.ucode failed with error -2

and
Code: Select all
[    2.700378] nouveau: detected PR support, will not use DSM
[    2.700396] nouveau 0000:01:00.0: enabling device (0006 -> 0007)
[    2.700500] nouveau 0000:01:00.0: unknown chipset (137000a1)
[    2.700697] nouveau: probe of 0000:01:00.0 failed with error -12
Last edited by wimmer on 2018-10-23 19:28, edited 1 time in total.
wimmer
 
Posts: 4
Joined: 2018-10-19 07:42

Re: Debian 9.5 on Lenovo P1 Workstation

Postby bw123 » 2018-10-19 14:21

On the wireless, did you try stretch with newer kernel from stretch-backports? The link you posted for intel 9560 says you need 4.14 kernel or higher.

On the brightness thing, it can be tricky. Arch wiki has a page called "backlight" https://wiki.archlinux.org/index.php/Backlight so that might have a solution. I usually end up using acpid and rig up a script. Find the right output in /sys/class/backlight/... You can find the key event tags with acpi_listen.

Code: Select all
# /etc/acpi/events/6930p-brightness-down
event=video/brightnessdown*
action=/etc/acpi/6930p-brightness.sh down
---
$ cat /etc/acpi/6930p-brightness.sh
#!/bin/sh

BRIGHTNESS=$(cat /sys/class/backlight/acpi_video0/brightness)

if [ "x$1" = "xdown" ]; then
   if [ "x$BRIGHTNESS" != "x0" ]; then
      BRIGHTNESS=$(( $BRIGHTNESS - 3 ))
      echo $BRIGHTNESS > /sys/class/backlight/acpi_video0/brightness
   fi
elif [ "x$1" = "xup" ]; then
   if [ "x$BRIGHTNESS" != "x24" ]; then
      BRIGHTNESS=$(( $BRIGHTNESS + 3 ))
      echo $BRIGHTNESS > /sys/class/backlight/acpi_video0/brightness
   fi
else
   echo >&2 6930p-brightness.sh: Unknown argument $1
fi
User avatar
bw123
 
Posts: 3522
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Debian 9.5 on Lenovo P1 Workstation

Postby wimmer » 2018-10-19 17:51

I tried it now with same result as in buster. freeze after login. At the login page i can see that nic,wlan and brightness works.
i tried 4.17 and 4.18.
what's happening after login? At which services i should have a look. Maybe it is a BIOS setting because in order to get Debian installed i had to deactivate serveral features in BIOS and I wrote this answer to my question:
https://unix.stackexchange.com/question ... -lenovo-p1
wimmer
 
Posts: 4
Joined: 2018-10-19 07:42

Re: Debian 9.5 on Lenovo P1 Workstation

Postby stevepusser » 2018-10-19 18:06

If it's recent Intel hardware, it also needs the firmware in firmware-misc-nonfree to work correctly. I have my Intel 8th-gen Coffee Lake laptop working well on a Stretch base with the newer Mesa stack, firmware, and a 4.18 kernel from backports. There's a Buster ISO that includes the firmware, I believe.

The default GNOME 3 desktop is also unforgiving if you don't have your graphics acceleration working exactly right. Lighter desktops such as XFCE will at least come up and work with an less than ideal graphics situation.
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: 10126
Joined: 2009-10-06 05:53

Re: Debian 9.5 on Lenovo P1 Workstation

Postby wimmer » 2018-10-19 18:52

i have already installed the newest version of firmware-misc-nonfree.
with strg+alt+f2 i can login to shell and all is fine in text mode. like you i think in this release i just have troubles with gnome. as i wrote above the linuxmint live cd using cinnamon works fine. have you any suggestions to get gnome running? i would be not so happy with changing to cinnamon or xfce.
what do you mean with "newer Mesa stack"?
wimmer
 
Posts: 4
Joined: 2018-10-19 07:42

Re: Debian 9.5 on Lenovo P1 Workstation

Postby bw123 » 2018-10-19 21:08

It sounds like a really nice machine. Post the specs? stevepusser likes pkg inxi. Get the network up in cli and install it? There's some help in the wiki, try https://wiki.debian.org/WiFi/HowToUse

-or- at the very least, lspci-nnk would probably be interesting. ( enclosed in code tags)
User avatar
bw123
 
Posts: 3522
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Debian 9.5 on Lenovo P1 Workstation

Postby wimmer » 2018-10-23 18:37

@bw123 thanks for your answer but this is not my problem. however finally i have all up and running.

this was my way:
- install bumblebee
--------------------------------------------------
after reboot i got the oops screen
-------------------------------------------------
- press ctrl+alt+F2 and login as root
- install image-linux-4.18 and linux-headers from backports
- reboot and login with gnome on wayland al other end in an oops screen

i think it should work if you install bumblebee and after that install image-linux-4.18 and linux-headers from backports without reboot.
wimmer
 
Posts: 4
Joined: 2018-10-19 07:42


Return to Hardware

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable