Ask Your Question

Graphics failure with Intel Corporation HD Graphics 520

asked 2017-08-30 16:03:26 -0500

lunasspecto gravatar image

updated 2017-08-31 13:40:22 -0500

I initially posed this question to the LXQt Spin mailing list, but I'm now experiencing the exact same issue with the regular old Fedora Workstation 26 Live x86_64 image:

Hi, folks! I ran the LxQt spin for the first time yesterday. (I've been using mostly Debian-based OSes since about 2004 so I'm kinda new to Fedora.) I'm experiencing kind of a baffling graphics issue and I wonder if anyone has some insight on whether I might be missing some driver packages or anything?

When I try to boot the live installation media it consistently hangs on a black screen, after only a brief blip of text at the console. I'm only able to get it running in usable fashion via "basic graphics mode". Unfortunately, after installing to my hard drive and updating everything via dnf, I'm still stuck in "basic graphics mode." That means I'm stuck in 800x600 resolution, though my monitor's native resolution is 1920x1080

Here's the relevant output from lspci:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07) (prog-if 00 [VGA controller])  
       Subsystem: ASUSTeK Computer Inc. Device 12c0  
       Flags: bus master, fast devsel, latency 0, IRQ 255  
       Memory at de000000 (64-bit, non-prefetchable) [size=16M]  
       Memory at c0000000 (64-bit, prefetchable) [size=256M]  
       I/O ports at f000 [size=64]  
       [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]  
       Capabilities: [40] Vendor Specific Information: Len=0c <?>  
       Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00  
       Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit-  
       Capabilities: [d0] Power Management version 2  
       Capabilities: [100] Process Address Space ID (PASID)  
       Capabilities: [200] Address Translation Service (ATS)  
       Capabilities: [300] Page Request Interface (PRI)  
       Kernel modules: i915

The grub boot options include "nomodeset". After something I read, I tried changing this to "i915.modeset=1", but that brought me right back to the black screen issue, and I wound up re-installing Fedora. I also made sure I had xorg-x11-drv-intel installed.

I also tried to use this Linux Intel Graphics Driver Update Tool (v2.0.5) following the instructions for Fedora 25, but it gave me a "Distribution not supported" message, so I guess it's not ready for Fedora 26.

Anyone had any luck finding a workaround for graphics hardware like this on Fedora 26? Should I maybe try downgrading to Fedora 25? (I haven't tried it yet on this laptop). The graphics drivers that shipped with Ubuntu worked fine on this laptop "out of the box", so I'm a little surprised I'm encountering so much difficulty with this install.

Edited for additional information: I'm using an ASUS UX306U notebook. Right now I'm running the XFCE spin of Fedora 26 and it has the same graphical issue. The content of /proc/cmdline is BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-Xfce-Live-26-1-5 nomodeset quiet

And here's the output of inxi -MGxxz while running the Fedora 26 XFCE spin:

Machine:   Device: laptop System: ASUSTeK product ...
edit retag flag offensive close merge delete


What's your laptop model? Post here output of cat /proc/cmdline and inxi -MGxxz.

ozeszty gravatar imageozeszty ( 2017-08-31 06:46:31 -0500 )edit

@ozestzty Thanks. I've now edited the information you requested into my original question. (Though I think the edits have to be approved by a moderator before they become visible.)

lunasspecto gravatar imagelunasspecto ( 2017-08-31 13:43:44 -0500 )edit

Also, for what it's worth, I've got LXQt running on CentOS 7 on this laptop at native resolution without any issues now, though I'm still interested in Fedora because I expect I'd have an easier time finding compatible binary packages for it.

lunasspecto gravatar imagelunasspecto ( 2017-08-31 15:57:30 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-08-31 16:59:39 -0500

ozeszty gravatar image

updated 2017-08-31 17:08:12 -0500

You're probably hit with this bug:

The fix for it landed in kernel 4.12.10 and 4.13-rc7, so it should be in Fedora in coming days. In the meantime you can install Fedora 26 (in basic graphics mode) and kernel 4.11.4, which should be the previous working one. When 4.12.10-300.fc26 is built, before it's available as an update, you'll find it in koji.

Use dnf list installed kernel* to check which packages you have to download and install manually.

When you'll have a proper kernel installed, remove nomodeset from boot parameters and your laptop should boot-up with full screen resolution and expected performance. Just make sure you boot appropriate kernel.

P.S. If you're trying out different desktop environments, check out Cinnamon, here you can get it with latest updates.

edit flag offensive delete link more


Downgrading the kernel as you suggested did the trick. I'm running the LXQt spin without any graphics issues.

lunasspecto gravatar imagelunasspecto ( 2017-08-31 19:42:37 -0500 )edit

Just confirming now that kernel 4.12.11 runs correctly on my system.

lunasspecto gravatar imagelunasspecto ( 2017-09-15 21:04:01 -0500 )edit

It's good to see a regression gone...

ozeszty gravatar imageozeszty ( 2017-09-18 10:04:17 -0500 )edit

Question Tools

1 follower


Asked: 2017-08-30 16:02:16 -0500

Seen: 1,242 times

Last updated: Aug 31 '17