Display resolution locked @ 1024x768 with Intel HD graphics.

Hardware: Z270 chip; i7 7700K; using internal Intel HD graphics.

The display resolution is fixed at 1024x768; if I go into System Settings->Display and Monitor->Displays->Resolution the current resolution is 1024x768 and changing this resolution is not permitted. I assume this is a driver issuer.


uname -a 
Linux linux-083w 4.4.62-18.6-default #1 SMP Fri Apr 21 16:14:48 UTC 2017 (84f9824) x86_64 x86_64 x86_64 GNU/Linux


lsmod
Module                  Size  Used by                                                                                         
cmac                   16384  2                                                                                               
ecb                    16384  1                                                                                               
rfcomm                 73728  14                                                                                              
nf_log_ipv6            16384  6                                                                                               
xt_pkttype             16384  3                                                                                               
nf_log_ipv4            16384  6                                                                                               
nf_log_common          16384  2 nf_log_ipv4,nf_log_ipv6                                                                       
xt_LOG                 16384  12                                                                                              
xt_limit               16384  12                                                                                              
af_packet              45056  0                                                                                               
iscsi_ibft             16384  0                                                                                               
iscsi_boot_sysfs       20480  1 iscsi_ibft                                                                                    
ip6t_REJECT            16384  3                                                                                               
nf_reject_ipv6         16384  1 ip6t_REJECT
xt_tcpudp              16384  7 
nf_conntrack_ipv6      16384  3 
nf_defrag_ipv6         36864  1 nf_conntrack_ipv6
ip6table_raw           16384  1 
ipt_REJECT             16384  3 
nf_reject_ipv4         16384  1 ipt_REJECT
iptable_raw            16384  1 
xt_CT                  16384  4 
iptable_filter         16384  1 
ip6table_mangle        16384  0 
nf_conntrack_netbios_ns    16384  0 
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
bnep                   20480  2 
nf_conntrack_ipv4      16384  3 
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
ip_tables              24576  2 iptable_filter,iptable_raw
xt_conntrack           16384  6 
nf_conntrack          118784  6 xt_CT,nf_conntrack_netbios_ns,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ipv4,nf_conntrack_ipv6
ip6table_filter        16384  1 
ip6_tables             28672  3 ip6table_filter,ip6table_mangle,ip6table_raw
x_tables               40960  15 xt_pkttype,ip6table_filter,xt_CT,ip6table_mangle,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6table_raw,ipt_REJECT,ip6_tables,iptable_raw,ip6t_REJECT
dm_crypt               32768  1 
arc4                   16384  2 
snd_hda_codec_hdmi     57344  1 
nls_iso8859_1          16384  1 
dm_mod                122880  3 dm_crypt
btusb                  49152  0 
snd_hda_codec_generic    81920  1 
nls_cp437              20480  1 
hci_uart               86016  0 
btrtl                  16384  1 btusb
btqca                  16384  1 hci_uart
btbcm                  16384  2 btusb,hci_uart
ath10k_pci             45056  0 
vfat                   20480  1 
i915                 1318912  0 
drm_kms_helper        155648  1 i915
intel_rapl             24576  0 
drm                   393216  2 i915,drm_kms_helper
btintel                16384  2 btusb,hci_uart
fat                    73728  1 vfat
ath10k_core           253952  1 ath10k_pci
x86_pkg_temp_thermal    16384  0 
fb_sys_fops            16384  1 drm_kms_helper
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
coretemp               16384  0 
i2c_algo_bit           16384  1 i915
kvm_intel             184320  0 
snd_hda_intel          40960  3 
kvm                   589824  1 kvm_intel
snd_hda_codec         147456  3 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hda_core           73728  4 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
ath                    36864  1 ath10k_core
snd_hwdep              16384  1 snd_hda_codec
mac80211              786432  1 ath10k_core
eeepc_wmi              16384  0 
asus_wmi               32768  1 eeepc_wmi
sparse_keymap          16384  1 asus_wmi
bluetooth             532480  41 bnep,btbcm,btqca,btrtl,btusb,hci_uart,rfcomm,btintel
irqbypass              16384  1 kvm
snd_pcm               135168  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
crct10dif_pclmul       16384  0 
cfg80211              614400  3 ath,mac80211,ath10k_core
snd_timer              36864  1 snd_pcm
fjes                   32768  0 
e1000e                249856  0 
ptp                    20480  1 e1000e
pps_core               20480  1 ptp
rfkill                 28672  10 cfg80211,bluetooth,asus_wmi
thermal                24576  0 
intel_lpss_acpi        16384  0 
battery                24576  0 
crc32_pclmul           16384  0 
snd                    90112  13 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
intel_lpss             16384  1 intel_lpss_acpi
joydev                 20480  0 
ghash_clmulni_intel    16384  0 
pinctrl_sunrisepoint    28672  0 
drbg                   28672  1 
ansi_cprng             16384  0 
processor              45056  0 
fan                    16384  0 
acpi_pad              180224  0 
mfd_core               16384  1 intel_lpss
shpchp                 36864  0 
mei_me                 32768  0 
mei                   110592  1 mei_me
pinctrl_intel          20480  1 pinctrl_sunrisepoint
aesni_intel           167936  5 
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
glue_helper            16384  1 aesni_intel
ablk_helper            16384  1 aesni_intel
cryptd                 20480  4 ghash_clmulni_intel,aesni_intel,ablk_helper
pcspkr                 16384  0 
acpi_als               16384  0 
kfifo_buf              16384  1 acpi_als
industrialio           65536  2 acpi_als,kfifo_buf
soundcore              16384  1 snd
ext4                  647168  3 
crc16                  16384  2 ext4,bluetooth
jbd2                  118784  1 ext4
mbcache                16384  4 ext4
hid_logitech_hidpp     20480  0 
hid_logitech_dj        20480  0 
usbhid                 53248  0 
sr_mod                 24576  0 
cdrom                  61440  1 sr_mod
sd_mod                 53248  6 
mxm_wmi                16384  0 
crc32c_intel           24576  0 
serio_raw              16384  0 
ahci                   36864  5 
libahci                36864  1 ahci
xhci_pci               16384  0 
xhci_hcd              192512  1 xhci_pci
usbcore               270336  4 btusb,usbhid,xhci_hcd,xhci_pci
libata                270336  2 ahci,libahci
usb_common             16384  1 usbcore
wmi                    16384  2 mxm_wmi,asus_wmi
video                  45056  2 i915,asus_wmi
i2c_hid                20480  0 
button                 16384  1 i915
sg                     40960  0 
scsi_mod              262144  4 sg,libata,sd_mod,sr_mod
efivarfs               16384  1 
autofs4                45056  2 

Does any one have any suggestions for the correct driver or do I need a later kernel. Thanks in advance for any input.

Does any one have any suggestions for the correct driver or do I need a later kernel. Thanks in advance for any input.

Sometimes using a later kernel is the solution, but first it might be useful to post the actual hardware chipset details

/usr/sbin/hwinfo --gfxcard

Examination of /var/log/Xorg.0.log might also tell the story here. It’s a lengthy file, so if you want to share that info upload it to https://paste.opensuse.org/ and post the URL that it provides here.


addanc@linux-083w:~> sudo hwinfo --gfxcard
08: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.378]
  Unique ID: _Znp.brvd1EElJi3
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Device Name: "Onboard IGD"
  Model: "Intel VGA compatible controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x5912 
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x872f 
  Revision: 0x04
  Memory Range: 0xde000000-0xdeffffff (rw,non-prefetchable)
  Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
  I/O Ports: 0xf000-0xf03f (rw)
  IRQ: 11 (no events)
  Module Alias: "pci:v00008086d00005912sv00001043sd0000872Fbc03sc00i00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Primary display adapter: #8

Xord.0.log https://paste.opensuse.org/97342064

Okay, that cofirms that a basic framebuffer driver is in use and the display mode is set as

    47.381] (II) FBDEV(0): Modeline "current"x0.0   78.65  1024 1056 1184 1312  768 772 776 792 -hsync -vsync -csync (59.9 kHz b)

I’m not familiar with this generation of Intel hardware, but a quick search online identifies as graphics hardware which gained kernel from 4.5 onwards, so you could try upgrading to the latest stable kernel…

zypper ar -f http://download.opensuse.org/repositories/Kernel:/stable/standard    kernel:stable
zypper ref
zypper dup --from kernel:stable

then reboot.

See how that goes.

Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.62-18.6-default root=UUID=bd9501b5-e1e3-4d3c-8b3c-c0dd65c108dd ro resume=/dev/disk/by-uuid/74322b28-b628-41bf-91f6-0095fefe4bfd splash=silent quiet showopts

Question:
Why ro (read-only)

Though looking slightly confusing, this is not really a problem:

from man7 bootparam

(Or see bootparam(7) - Linux manual page)

     'ro' and 'rw'
              The 'ro' option tells the kernel to mount the root filesystem
              as 'read-only' so that filesystem consistency check programs
              (fsck) can do their work on a quiescent filesystem.  **No
              processes can write to files on the filesystem in question
              until it is 'remounted' as read/write capable,** for example, by
              'mount -w -n -o remount /'.  (See also mount(8).)

              The 'rw' option tells the kernel to mount the root filesystem
              read/write.  This is the default.

During system setup this remount is done by the init system and according to the respective fstab entries (most likely with / being mounted rw). Some distros use(d) that even as their default (last time I tested Arch it certainly was default there, but that is some years ago).

Just give it a quick try without making it persistent, even with “ro” as boot parameter the root partition will be mounted “rw” when the system is up.

AK

Thanks Deano installing the latest stable kernel fixed the display resolution issue.

Good to read of your success with this. :slight_smile:

I had the same problem on one box with a fresh install of Leap 42.3. I updated the bios for the motherboard and then reinstalled. That solved the problem.

I always check and see if there is a bios update for the motherboard and then apply it, especially on the older boxes. This can be much easier fix than mucking around with the kernel which could break something else.

That won’t help for a graphics issue like this where kernel support was lacking.