From nobody@FreeBSD.org  Wed Jul 13 16:58:40 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AF64F106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 13 Jul 2011 16:58:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 9F9528FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 13 Jul 2011 16:58:40 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6DGwegO055248
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 13 Jul 2011 16:58:40 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p6DGweTL055247;
	Wed, 13 Jul 2011 16:58:40 GMT
	(envelope-from nobody)
Message-Id: <201107131658.p6DGweTL055247@red.freebsd.org>
Date: Wed, 13 Jul 2011 16:58:40 GMT
From: Alvaro <gobledb@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: I cannot change tty screen with vidcontrol (Blackscreen)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         158874
>Category:       kern
>Synopsis:       [vesa] I cannot change tty screen with vidcontrol(1) (Blackscreen) [regression]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 13 17:00:26 UTC 2011
>Closed-Date:    
>Last-Modified:  Thu Jul 14 01:57:34 UTC 2011
>Originator:     Alvaro
>Release:        I'm using 9.0-CURRENT
>Organization:
none
>Environment:
FreeBSD shuttle0.lan 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Wed Jul 13 07:03:25 WEST 2011     netSys@shuttle0.lan:/usr/obj/usr/src/sys/HUBBLE  amd64
>Description:
I cannot change tty screen with vidcontrol (Blackscreen and I need restart
when passes 1-2min if not change the tty)

This problem affect on 8.0 to 8.2 and 9.0-CURRENT (7.x I did not try)
---------------------------------------------------------------------------------
I have these lines on my kernel for uses VESA for changes tty resolution
with vidcontrol (Included agp, vga lines..et). After it, I need change
fast another tty because if not I cannot use system.

options VESA
options SC_PIXEL_MODE
options VESA_DEBUG

I have got, BenQ monitor of 1366x768 screen resolution and NVIDIA 8200/n730

The last summer, I can change the tty resolution to MODE_279 (1024x768)
and I used it. But the code was seems changed and cannot work it.

>How-To-Repeat:
> vidcontrol MODE_279
VESA: set_mode(): 24(18) -> 279(117)
VESA: about to set a VESA mode...
VESA: mode set!
vesa_set_mode(): vi_width:1024, line_width:2048
VESA: set_mode(): 279(117) -> 24(18)
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Jul 14 01:56:19 UTC 2011 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158874 
>Unformatted:
