Bug 487536

Summary: imlib bug with MIT-SHM pixmaps
Product: Red Hat Enterprise Linux 4 Reporter: Jeff Bastian <jbastian>
Component: imlibAssignee: Matthias Clasen <mclasen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.7CC: cmeadors, jwest, sghosh, tao
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 357241 Environment:
Last Closed: 2012-06-14 20:45:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 515765    
Attachments:
Description Flags
backported patch from Fedora imlib package none

Description Jeff Bastian 2009-02-26 16:15:18 UTC
Description of problem:
This is a clone of bug 357241 for RHEL 4.

imlib doesn't properly check whether the MIT SHM extension supports shared pixmaps.  Shared pixmaps are not available in X drivers using EXA, and they are now disabled by default in the binary blob nvidia version 180 drivers so programs that use imlib, e.g., xchat and kuickshow, have corrupt graphics.

From http://us.download.nvidia.com/XFree86/Linux-x86_64/180.29/README/appendix-b.html 
     Option "AllowSHMPixmaps" "boolean"
     ...
     Default: off (shared memory pixmaps are not allowed).

Originally reported at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448360


Version-Release number of selected component (if applicable):
imlib-1.9.13-23.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Use latest nvidia drivers (version 180 and newer)
2. Launch kuickshow to display an image

  
Actual results:
corrupt display

Expected results:
the image displayed correctly

Additional info:

Comment 1 Jeff Bastian 2009-02-26 16:16:16 UTC
Created attachment 333348 [details]
backported patch from Fedora imlib package

Comment 2 Jeff Bastian 2009-02-26 16:23:29 UTC
*** Bug 487537 has been marked as a duplicate of this bug. ***

Comment 11 Jeff Bastian 2009-08-12 18:17:49 UTC
On a side note, vino was also affected by the change in SHM pixmaps in the nvidia drivers, see bug 493097