Red Hat Bugzilla – Bug 556779
Desktop Clipping with SM722 graphics adapter
Last modified: 2014-06-02 09:22:15 EDT
Description of problem:
With RHEL 5.2-5.4 distributions on SM722 graphics adapter, the top of the GNOME desktop is getting clipped. As this issue was not seen on RHEL 5.0, there was something which was added later either in the Xserver or the SM722 driver which was causing this issue. As all the RHEL 5.x updates were having the same version of the SM722 driver ie 1.4.1, the driver was ruled out. I then started replacing some of the relevant RHEL 5.4 Xserver shared libraries with those of RHEL 5.0. In this process it turned out that the INT10 library (libint10.so) was the one which was causing the issue. On comparing the sources of the INT10 library between RHEL 5.0 and 5.4, it turned out that in the file helper_exec.c , the relevant lines which were actually causing this issues were in the functions used to perform PCI configuration long read/writes ie
in functions "pciCfg1in" and "pciCfg1out".
To be more specific:
In Function pciCfg1in:
RHEL 5.4: *val = pciReadLong(Int10Current->Tag, OFFSET(PciCfg1Addr));
RHEL 5.0: *val = pciReadLong(TAG(PciCfg1Addr), OFFSET(PciCfg1Addr));
In Function pciCfg1out:
RHEL 5.4: pciWriteLong(Int10Current->Tag, OFFSET(PciCfg1Addr),val);
RHEL 5.0: pciWriteLong(TAG(PciCfg1Addr), OFFSET(PciCfg1Addr), val);
On using the RHEL 5.0 version of PCI address creation, I was able to get full desktop without any clipping. Is this a bug or was this change done for some reason ?
Version-Release number of selected component (if applicable):
Normal Install of RHEL 5.2-5.4 using a SM722 based graphics adapter with resolution set to 1280x1024 shows this issue.
Steps to Reproduce:
1.Install RHEL 5.4 on system with SM722 graphics adapter
2.Set the resolution to 1280x1024.
Top of the GNOME desktop gets clipped
Full desktop needs to be visible
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).