Bug 80825

Summary: Output is disabled on VT switch
Product: xorg Reporter: Daniel Glöckner <dg>
Component: Driver/geodeAssignee: X.org Geode Mailing List <xorg-driver-geode>
Status: RESOLVED FIXED QA Contact: X.org Geode Mailing List <xorg-driver-geode>
Severity: normal    
Priority: medium CC: connor.behan
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Possible fix none

Description Daniel Glöckner 2014-07-02 18:38:55 UTC
When using a dumb framebuffer driver like vesafb, a switch from X to another VT produces a black screen. This is because of vg_set_custom_mode disabling the CRT output in DF_DISPLAY_CONFIG and DF_VID_MISC.

Before RandR support was introduced (i.e. before d681a844e), LXLeaveGraphics had a final call to lx_enable_dac_power that reenabled the output.
Comment 1 Martin-Éric Racine 2014-10-20 15:09:54 UTC
Thanks for reporting this.

Patches are warmly welcome.
Comment 2 Connor Behan 2015-12-01 23:49:49 UTC
Created attachment 120250 [details] [review]
Possible fix

If there isn't some deep reason why these calls were removed, then they can certainly be added back.
Comment 3 Connor Behan 2015-12-01 23:50:49 UTC
s/explicity/explicit/ in my commit summary.
Comment 4 Martin-Éric Racine 2015-12-02 09:43:41 UTC
Thanks for the patch.

Last time I checked, the call had been moved to somewhere else but, for some reason, no longer works as expected.
Comment 5 Martin-Éric Racine 2015-12-02 10:28:54 UTC
Tested and confirmed to work.
Comment 6 Martin-Éric Racine 2015-12-02 12:21:33 UTC
Patch merged into the Git repository. Marking as fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.