Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2003 20:03:04 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        questions@freebsd.org
Subject:   Re: 1024x768 on console
Message-ID:  <20030619030304.GA50134@webserver.get-linux.org>
In-Reply-To: <20030619023958.GS64929@dan.emsphone.com>
References:  <Pine.GSO.4.21.0306190412120.4221-100000@diogenis.ceid.upatras.gr> <20030619023958.GS64929@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 18, 2003 at 09:39:58PM -0500 or thereabouts, Dan Nelson seemed to write:
> In the last episode (Jun 19), Avramidis Georgios said:
> > Has anyone managed to get 1024x768 on the console?
> > I have tried vidcontrol, but it won't work. Any suggestions?
> > I dont't like using X, and 800x600 doesn't look good on my LCD monitor...
> 
> If you don't mind editing kernel code, take a look at /sys/dev/syscons/.
> Search for code blocks wrapped by #ifdef SC_PIXEL_MODE, find things
> that look like they're working with 800x600 mode, and duplicate them
> so they also handle 1024x768.  send-pr the patches when you're done :)

I don't mind, but I think that's not possible :(
I found this in scvidctl.c:
    /*
     * set_pixel_mode() currently does not support video modes whose
     * memory size is larger than 64K. Because such modes require
     * bank switching to access the entire screen. XXX
     */
    if (info.vi_width*info.vi_height/8 > info.vi_window_size)
        return ENODEV;
I know nothing about bank switching, so I need some help here!

-- Josh

> 
> -- 
> 	Dan Nelson
> 	dnelson@allantgroup.com
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030619030304.GA50134>