I just recently got a new HP Spectre x360 and I've dual booted ubuntu 18.04 on it. I had to get wifi working by following these steps (mostly posting in case others need help). Once I was able to do that, I moved to the display, which is stuck at Unknown Display 1024x768
.
When I run inxi -F
, I get:
System: Host: mbb Kernel: 5.0.0-37-generic x86_64 bits: 64 Desktop: Gnome 3.28.4
Distro: Ubuntu 18.04.3 LTS
Machine: Device: un-determined System: HP product: HP Spectre x360 Convertible 13t-aw100 serial: N/A
Mobo: HP model: 86FA v: 87.26 serial: N/A UEFI: AMI v: F.06 date: 10/28/2019
Battery BAT0: charge: 58.0 Wh 94.8% condition: 61.2/61.2 Wh (100%)
CPU: Quad core Intel Core i7-1065G7 (-MT-MCP-) cache: 8192 KB
clock speeds: max: 3900 MHz 1: 1003 MHz 2: 1008 MHz 3: 969 MHz 4: 1011 MHz 5: 1127 MHz
6: 1048 MHz 7: 1026 MHz 8: 1016 MHz
Graphics: Card: Intel Device 8a52
Display Server: x11 (X.Org 1.20.4 ) drivers: fbdev,intel (unloaded: modesetting,vesa)
Resolution: [email protected]
OpenGL: renderer: llvmpipe (LLVM 8.0, 256 bits) version: 3.3 Mesa 19.0.8
Audio: Card Intel Device 34c8 driver: snd_hda_intel Sound: ALSA v: k5.0.0-37-generic
Network: Card: Intel Device 34f0 driver: iwlwifi
IF: wlo1 state: up speed: N/A duplex: N/A mac: 7c:b2:7d:d0:74:6f
Drives: HDD Total Size: 1024.2GB (0.7% used)
ID-1: /dev/nvme0n1 model: KXG60ZNV1T02_KIOXIA size: 1024.2GB
Partition: ID-1: / size: 493G used: 7.1G (2%) fs: ext4 dev: /dev/nvme0n1p5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 44.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 322 Uptime: 28 min Memory: 1396.6/15845.8MB Client: Shell (bash) inxi: 2.3.56
This tells me that my system is at least identifying the gpu (and it is intel). However, when I run apt list --installed
, I checked my installed packages and noticed that for some reason I had xserver-xorg-video-amdgpu-hwe-18.04
installed instead of intel
.
Also, when checking /usr/shared/X11/xorg.conf.d
, I don't have a 10-intel.conf
file, I only have 10-amdgpu.conf
, 10-quirks.conf
, 10-radeon.conf
, 40-libinput.conf
, 70-wacom.conf
.
Then, when I check xrandr -q
, all I get is:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
1024x768 76.00*
Which is concerning because I cannot seem to fix the first error, but it also means when I run xrandr --newmode
and xrandr --addmode
, I can change the resolution but it runs off the screen (so I still only see 1024x768 pixels worth of screen).
xrandr --listmonitors
returns:
xrandr: Failed to get size of gamma for output default
Monitors: 1
0: +*default 1024/271x768/203+0+0 default
Other info that I'm not sure how exactly it ties in...
lspci -k | grep VGA
returns 00:02.0 VGA compatible controller: Intel Corporation Device 8a52 (rev 07)
I've tried installing mesa-utils
and that doesn't seem to do anything.
I think there was another command that gave me helpful info, but at this point I'm just kinda running in circles. Does anyone have any idea what I can do to get my screen resolution fixed?
I also have a DP to USB-C adapter that I've used to plug in an external monitor, but it doesn't get detected.
hwe-18.04
packages were installed (as I said). I also tried removing them and only installing theintel
one, I tried only installing thelinux-generic
(that's recommended in that post), and I tried installing both. None of the solutions worked. Maybe I had something else configured incorrectly, but I was unsuccessful. – Matt Jan 01 '20 at 18:02hwe-18.04
andhwe-18.04-edge
install different kernels. The latter installs the 5.3. That should work. Check withuname -a
the kernel version. – Pilot6 Jan 01 '20 at 18:04linux-generic-hwe-18.04-edge
definitely works. It fixes wifi and screen resolution. I'm still running into screen brightness issues and cannot create/change/sys/class/brightness
. I'll have to spend more time there. – Matt Jan 04 '20 at 21:47