Bug 700392

Summary: [RH_QXL_2] Xorg crashes when switching youtube video to full-screen mode
Product: Red Hat Enterprise Linux 6 Reporter: Marian Krcmarik <mkrcmari>
Component: xorg-x11-drv-qxlAssignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: cmeadors, kem, tpelka
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: [cat:modesetting]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:08:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 737840    
Bug Blocks: 612566    

Description Marian Krcmarik 2011-04-28 10:01:13 UTC
Description of problem:
When switching youtube video to full-screen mode Xorg does crash because of running out of memory drawing images.
If I do increase available memory using qemu switch -global qxl-vga.vram_size=268435456 then I am able to switch to full-screen without the crash, that's why I believe we should increase default amount of memory available to qxl device, which is known issue. This bug hopefully pushes it forward.

Version-Release number of selected component (if applicable):
spice-client-0.8.0-2.el6.x86_64
spice-protocol-0.8.0-1.el6.noarch
spice-server-0.8.0-1.el6.x86_6
xorg-x11-drv-qxl-0.0.12-9.el6
qemu-kvm-0.12.1.2-2.159.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. Run qemu instance with spice support and RHEL guest with qxl device installed and used.
2. Open youtube website and try to open any video in full-screen mode.
  
Actual results:
Xorg's crash:
Out of memory allocating 8294420 bytes
Out of mem - stats

Expected results:
No crash, video in full-screen

Additional info:
Increase vram size with adding option to qemu instance i.e. -global qxl-vga.vram_size=268435456 when using one qxl device and no crash appears.

Comment 1 Matěj Cepl 2011-05-06 13:14:49 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 7 Marian Krcmarik 2011-07-05 11:10:23 UTC
It does not happen with older qxl - xorg-x11-drv-qxl-0.0.12-2.1 -> marking as regression.

Comment 9 Søren Sandmann Pedersen 2011-07-27 17:56:57 UTC
Devel ack, though it would be useful to also open a bug against libvirt to make it set vram to 256MB by default.

Comment 16 errata-xmlrpc 2011-12-06 15:08:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2011-1621.html