Bug 1450725
Summary: | Kernel 4.12.0-0.rc0.git7.1.fc27.x86_64 Does Not Properly Refresh Screen or Adjust Resolution on QXL | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Joseph D. Wagner <joe> | |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rawhide | CC: | gansalmon, ichavero, itamar, john.ellson, jonathan, kernel-maint, madhu.chinakonda, mchehab, prd-fedora | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1462469 (view as bug list) | Environment: | ||
Last Closed: | 2020-05-27 19:45:38 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
Joseph D. Wagner
2017-05-15 03:42:42 UTC
This problem persists on 4.12.0-0.rc0.git9.1.fc27.x86_64 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. 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. More information. I got one crash report that cited: drivers/gpu/drm/ttm/ttm_bo_util.c:589 [qxl] Problem still exists on 4.12.0-0.rc5.git0.1.fc27.x86_64. 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 = &bo->bdev->man[bo->mem.mem_type]; unsigned long offset, size; int ret; BUG_ON(!list_empty(&bo->swap)); Phew! Thought it was just me for a while. I'm getting this too. This also occurs when shutting down with RHGB enabled. Did you try disabling rhgb on boot kernel? Disabling rhgb on the boot kernel might help boot/shutdown (mixed results), but it doesn't fix the screen resolution and refresh issues on QXL. I don't get the reported screen resolution issue, but this "hang with rhgb enabled" bug is possibly a dup of: #1465148, #1464780, #1462381 Let me give you some steps to try to reproduce the screen resolution issue. I'm using the XFCE desktop. - Install with VGA driver, so nothing goes wrong. - Login and set the resolution to 1440x900. Ok so far. - Poweroff & change from VGA to QXL. - Startup. Get 1024x768 logon screen, as expected. (Resolution isn't supposed to change until after logon.) - Logon. Resolution stays at 1024x768, and rest of the screen appears cut off. Also, I have to move the mouse over something to refresh it. For example, after clicking Shutdown, the Shutdown window doesn't appear. I have to move the mouse to where I think it should be, and then individual buttons start to appear when I put my mouse. It's behaving like the window was created but the screen wasn't refreshed or redrawn. The only difference between working and not is QXL driver. I just did a fresh install of Rawhide a two or so weeks ago, to try to rule out any "junk" that builds up in rawhide installs. Still a problem on kernel-4.13.0-0.rc2.git3.1.fc27.x86_64 with the QXL driver. |