Bug 205361

Summary: vesa(4) displays previous session briefly
Product: Red Hat Enterprise Linux 4 Reporter: Charles Rose <charles_rose>
Component: xorg-x11Assignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: alanm, cward, desktop-bugs, jfeeney, rwilliam, shillman, tao, wwlinuxengineering, zcerza
Target Milestone: rcKeywords: Desktop, OtherQA
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0657 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:07:41 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: 199133    
Bug Blocks: 246028    
Attachments:
Description Flags
xorg.conf of PE1750
none
Xorg.log from PE1750 none

Description Charles Rose 2006-09-06 11:58:50 UTC
+++ This bug was initially created as a clone of Bug #199133 +++

Description of problem:

Starting X with low resolutions with the VESA driver causes the previous video
buffer to displayed momentarily. This could be a security issue. The user can
see what was on the previous X session.


Version-Release number of selected component (if applicable):
RHEL 4 update 4 (all architectures)

How reproducible:
always.

Steps to Reproduce:
1.modify xorg.conf to use the VESA driver.
2.startx and run a few client apps
3.quit X windows
4.start X again
  
Actual results:
The screen displays content from the previous session.

Expected results:
The screen needs to be blank till GUI comes up.

Additional info:
This behaviour is not seen when the manufacturers driver is used.

Comment 1 Issue Tracker 2006-09-07 23:03:12 UTC
Need to clear X video buffers to prevent the retention of previous screen
informaton when starting new X session. Dell bug#205361 linked to IT.

This is the RHEL4 sibling of IT-100938/BZ-199133 in RHEL3. 


Issue escalated to Support Engineering Group by: sbenjamin.
sbenjamin assigned to issue for Dell-Engineering.
Bugzilla id 205361 added to issue.
Category set to: X Windows
Internal Status set to 'Waiting on SEG'
Status set to: Waiting on Tech

This event sent from IssueTracker by sbenjamin 
 issue 101290

Comment 3 RHEL Program Management 2006-12-14 13:29:27 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Søren Sandmann Pedersen 2006-12-19 23:25:08 UTC
Devel ack

Comment 6 Charles Rose 2007-01-10 05:26:38 UTC
Would it be possible for us to have a test package?

Comment 7 Samuel Benjamin 2007-01-10 23:47:29 UTC
All ACK's received for 4.5.

Can we provide Dell with a test package for verification?

Comment 8 Søren Sandmann Pedersen 2007-01-11 18:55:55 UTC
The packages in

/mnt/redhat/brewroot/packages/xorg-x11/6.8.2/1.EL.13.41

contain this fix.

Comment 9 Charles Rose 2007-01-17 07:36:51 UTC
(In reply to comment #8)
> The packages in
> 
> /mnt/redhat/brewroot/packages/xorg-x11/6.8.2/1.EL.13.41
how can Dell access this? Is there a URL?

> 
> contain this fix.



Comment 16 Adam Jackson 2007-04-09 16:11:01 UTC
Reopening, and backing this out of 4.5 due to issues with some video cards.

This needs to be reimplemented some other way.  The patch backed out of 4.5 did
a memset() of all of video memory before screen init, but this is potentially
dangerous since that memory might not be mapped, or might contain registers. 
Probably the correct thing to do is blank the screen on X server shutdown instead.

Comment 19 Suzanne Logcher 2007-04-11 21:45:49 UTC
This issue was not resolved in RHEL 4.5.
Moved to 4.6.

Comment 20 Adam Jackson 2007-08-02 14:32:23 UTC
Built a patch to blank the screen at exit, which is about as good as we can do
for vesa chips.  Built as xorg-x11 6.8.2-1.EL.26.  MODIFIED.

Comment 22 John Poelstra 2007-08-29 16:37:18 UTC
A fix for this issue should have been included in the packages contained in the
RHEL4.6 Beta released on RHN (also available at partners.redhat.com).  

Requested action: Please verify that your issue is fixed to ensure that it is
included in this update release.

After you (Red Hat Partner) have verified that this issue has been addressed,
please perform the following:
1) Change the *status* of this bug to VERIFIED.
2) Add *keyword* of PartnerVerified (leaving the existing keywords unmodified)

If this issue is not fixed, please add a comment describing the most recent
symptoms of the problem you are having and change the status of the bug to FAILS_QA.

If you cannot access bugzilla, please reply with a message to Issue Tracker and
I will change the status for you.  If you need assistance accessing
ftp://partners.redhat.com, please contact your Partner Manager.


Comment 23 John Poelstra 2007-09-05 22:26:18 UTC
A fix for this issue should have been included in the packages contained in 
the RHEL4.6-Snapshot1 on partners.redhat.com.  

Requested action: Please verify that your issue is fixed to ensure that it is 
included in this update release.

After you (Red Hat Partner) have verified that this issue has been addressed, 
please perform the following:
1) Change the *status* of this bug to VERIFIED.
2) Add *keyword* of PartnerVerified (leaving the existing keywords unmodified)

If this issue is not fixed, please add a comment describing the most recent 
symptoms of the problem you are having and change the status of the bug to 
FAILS_QA.

If you cannot access bugzilla, please reply with a message about your test 
results to Issue Tracker.  If you need assistance accessing 
ftp://partners.redhat.com, please contact your Partner Manager.

Comment 24 Raghavendra Biligiri 2007-09-06 09:44:23 UTC
The issue is not resolved in RHEL4.6-Beta (xorg-x11-6.8.2-1.EL.27).
When we start X session(startx),open a Mozilla Firefox browser and then close
the X session and restart the X session, previous firefox browser is seen for a
couple of seconds before the new X session starts.


Comment 25 Adam Jackson 2007-09-06 18:18:31 UTC
(In reply to comment #24)
> The issue is not resolved in RHEL4.6-Beta (xorg-x11-6.8.2-1.EL.27).
> When we start X session(startx),open a Mozilla Firefox browser and then close
> the X session and restart the X session, previous firefox browser is seen for a
> couple of seconds before the new X session starts.

What configuration were you testing where you still experience this?

Comment 26 Raghavendra Biligiri 2007-09-07 05:09:46 UTC
Tested this issue on PE1750 with 2 SCSI disks attached.
Attached the xorg.conf and the Xorg log.

Comment 27 Raghavendra Biligiri 2007-09-07 05:13:33 UTC
Created attachment 189511 [details]
xorg.conf of PE1750

Comment 28 Raghavendra Biligiri 2007-09-07 05:14:13 UTC
Created attachment 189521 [details]
Xorg.log from PE1750

Comment 30 Jay Turner 2007-09-18 11:05:40 UTC
Moving to Assigned . . . FAILS_QA is only used by the RHN team these days.

Comment 31 Adam Jackson 2007-09-18 21:16:10 UTC
There is another bug that may be a related issue.  Please try the test RPMs at:

http://people.redhat.com/ajackson/293221/

They will probably need to be installed with --nodeps or --force.

Comment 32 Larry Troan 2007-09-19 16:56:18 UTC
Changing to NEEDINFO per comment #31 above:

Comment 34 Adam Jackson 2007-09-24 13:32:46 UTC
This may not be a showstopper, but I would still appreciate a test report from
xorg-x11 6.8.2-1.EL.32, which should be in the next snapshot.  It contains a fix
for what I think is a related, possibly identical, issue.

Comment 35 Larry Troan 2007-09-25 14:14:13 UTC
Ajax, "test report" in comment #34? Do you mean xlog or sysreport?

Comment 36 Larry Troan 2007-09-25 17:22:36 UTC
Latest build on ../nightly/RHEL4-U6-re20070924.nightly/i386/i386-AS/RedHat/RPMS/
is xorg-x11-6.8.2-1.EL.27 (not .32 as requested).

Waiting for a build to test with.

Comment 37 Adam Jackson 2007-09-27 18:24:07 UTC
http://porkchop.devel.redhat.com/brewroot/packages/xorg-x11/6.8.2/1.EL.32/

Larry, you probably want to copy these to your people page.

Comment 38 Larry Troan 2007-09-27 19:45:12 UTC
Dell, please test with the xorg files on my people.page and report back results
in this bug: http://people.redhat.com/ltroan/fixes/.205361/


Comment 39 Larry Troan 2007-10-02 14:30:25 UTC
Charles.... Ping.

Comment 40 Raghavendra Biligiri 2007-10-03 04:22:03 UTC
Tested with the xorg packages(version 6.8.2-1.EL.32) provided in comment #38. 
If I start X session and open gnome-terminal or file browser and close the X 
session and restart X the issue is not seen. But if I open a Mozilla firefox 
browser in X and restart X, the firefox browser is seen for a couple of seconds 
before the X starts.

Comment 41 Adam Jackson 2007-10-04 14:20:14 UTC
That makes no sense at all.  The code to blank the screen at exit doesn't care
what apps you were running beforehand.

Comment 46 Adam Jackson 2008-04-01 19:04:33 UTC
Added Option "ModeSetClearScreen" to the vesa driver in xorg-x11 6.8.2-1.EL.40.
 This sets the bit in the VBE mode set call to request that the BIOS clear the
screen for you.  It is not enabled by default, as it does not work correctly on
all BIOSes, and may cause the BIOS to misprogram the mode.  That said, I'm
interested to know if it doesn't work for this configuration.

MODIFIED for now, please move back to ASSIGNED if this option doesn't fix things.

Comment 50 Adam Jackson 2008-06-04 19:12:56 UTC
The patch for this is broken.  Backing it out for now in the name of having
working vesa.

Comment 52 Adam Jackson 2008-06-12 17:10:26 UTC
(Hopefully) fixed version of the patch built in -1.EL.50.  Back to MODIFIED.

Comment 54 Adam Jackson 2008-06-13 21:35:49 UTC
*** Bug 447348 has been marked as a duplicate of this bug. ***

Comment 55 Adam Jackson 2008-06-13 21:36:12 UTC
*** Bug 448779 has been marked as a duplicate of this bug. ***

Comment 56 Zack Cerza 2008-06-16 21:40:59 UTC
Verified in -1.EL.50 on both counts: vesa works, and the previous session is not
shown on restart.

Comment 60 Raghavendra Biligiri 2008-07-07 10:06:27 UTC
Issue not reproducible with xorg-x11-6.8.2-1.EL.52 (RHEL4.7-Snapshot5)

Comment 62 errata-xmlrpc 2008-07-24 19:07:41 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0657.html

Comment 63 Chris Ward 2008-07-29 07:29:55 UTC
Partners, I would like to thank you all for your participation in assuring the
quality of this RHEL 4.7 Update Release. My hat's off to you all. Thanks.