Red Hat Bugzilla – Bug 1462469
Kernel kernel-4.11.5-300.fc26.x86_64 Does Not Properly Refresh Screen or Adjust Resolution on QXL
Last modified: 2017-06-29 00:48:44 EDT
+++ This bug was initially created as a clone of Bug #1450725 +++
Description of problem:
RHGB screen flickers 3 times, then freezes. Unable to escape.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot that kernel version.
Freeze on RHGB screen. No error. Not responsive to any keys. Unable to drop to shell.
Should boot normally.
4.12.0-0.rc0.git2.1.fc27.x86_64 worked fine.
Removing rhgb from kernel parameters gets the system to boot, but it cuts off the right and bottom third of the screen.
Tried enforcing=0. No effect.
--- Additional comment from Joseph D. Wagner on 2017-05-15 14:10:47 EDT ---
This problem persists on 4.12.0-0.rc0.git9.1.fc27.x86_64
--- Additional comment from Joseph D. Wagner on 2017-05-21 18:47:11 EDT ---
This appears to be a problem with the QXL driver. When I set the VM to use VGA, it boots normally.
This problem persists on 4.12.0-0.rc1.git4.1.fc27.x86_64.
--- Additional comment from Joseph D. Wagner on 2017-06-02 13:57:00 EDT ---
It's improving, but it still isn't fixed. Now on kernel-4.12.0-0.rc3.git0.2.fc27.x86_64. Successfully boots without crashing. However, the screen doesn't refresh the windows or buttons until I move the mouse over the button/window/widget/etc. Also, I can't change/adjust the screen resolution.
Works ok on VGA, but not QXL. If I boot into the previous kernel version kernel-4.12.0-0.rc0.git2.1.fc27.x86_64, then QXL works fine; the only difference being the version of kernel select at boot time.
--- Additional comment from Joseph D. Wagner on 2017-06-03 19:29:27 EDT ---
More information. I got one crash report that cited:
--- Additional comment from Joseph D. Wagner on 2017-06-16 14:04:08 EDT ---
Problem still exists on 4.12.0-0.rc5.git0.1.fc27.x86_64.
On Fedora 26 Beta, I cannot get the system to boot using the QXL driver on kernel-4.11.5-300.fc26.x86_64, but the VGA driver works ok. When booting into previous kernel-4.11.0-2.fc26.x86_64, both the QXL and VGA drivers work fine.
Can you reproduce this? If so, I request that this be a Beta blocker, because it prevents the system from booting.
It appears the bug is not in drivers/gpu/drm/ttm/ttm_bo_util.c:589, but rather this section of code is being called by the function with the bug in it. Here is the relevant context from the ttm_bo_util.c file:
int ttm_bo_kmap(struct ttm_buffer_object *bo,
unsigned long start_page, unsigned long num_pages,
struct ttm_bo_kmap_obj *map)
struct ttm_mem_type_manager *man =
unsigned long offset, size;
Can you attach the kernel backtrace you saw?
Created attachment 1289763 [details]
Created attachment 1289764 [details]
I don't know if this helps I think I see the same problem with
While kernel-4.11.4-300.fc26.x86_64 boots ok.
here is a log when it fails:
After upgrading to the latest RPMS, I can no longer reproduce the problem in any kernel version on Fedora 26 Beta. As far as I can tell, whatever was triggering it was fixed.
FYI, I can still reproduce the problem in the 4.12.x series in rawhide.