From owner-freebsd-questions@freebsd.org Tue Oct 11 14:14:16 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9C09C0D6E1 for ; Tue, 11 Oct 2016 14:14:16 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com [IPv6:2607:f8b0:400d:c0d::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B4101C6D for ; Tue, 11 Oct 2016 14:14:16 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-qt0-x234.google.com with SMTP id s49so14989638qta.0 for ; Tue, 11 Oct 2016 07:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=AVQKiTsCgkTer3MMEf0qEZ868aE001lrpNE3MTFswTs=; b=YYKvV1Gdhg6GmWL4LypeCHOb/2wvxz85zqVAptf8xEynqGBhBNsOu/s4pLszndYLmQ 3J8mNvSJEf8t1cfgyK226lbwqPQuxk1yLOLazg6p/Dr/qbVkaRhZPubN9I1vA0g+w1cV VQDRe8TiqS3y7USx1yD+1Y1A1igxL3qbCYT94Aflz/JJbQkb3QQ8N9iZ2CfK/FTnMBes YiZ5HNHwHkNICewKIaSC6YVVVCwZ647v3mYXxaTPlQCsl79nPlpx3IEkW2xkKc2VyBG9 FE3+M9op7S3v9JA778nNjhtebtxb/pbDdfDRDCzcmACtp5P4oyI+DB43svs4Qj+Re18S QLzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=AVQKiTsCgkTer3MMEf0qEZ868aE001lrpNE3MTFswTs=; b=eVEDj53GQAJp/7bFUs/c80Gnyvjp2qm5YP4nQ8HKOfOrEUSSoOj/vz0d3guBUJdyUR kfB108ooyWpEtWmkS4haBd/YsR3ZnX4YmGbtnO46hvuRafv3XyLyhO1/Sc0tktwVSPx0 VviVCtU19Sb/nDfyFOF7ScBHy1dPPcYNS7Tgkp12B+2crQ633Vx8CFgYM6sHqNvkvlXs yYeAQ9CZ3uxk4XyK/ttZZvDx9eyayH0BU70isdrq90i8E8h4gazrT2KxBp5YtIE10ccN lGppU5S/Bzbb2vmxi25cYZA1mhL+F1ua9jyA10BU7hy51ojRMfvZwnYjCoqaxt/0Tu1F GRfA== X-Gm-Message-State: AA6/9RkkqujEySCBEoCKl9Yv0hTYb8qHAQzVwLdnEw9dgKRahQku6c6uDKxWJDT3qHbfrg== X-Received: by 10.194.250.106 with SMTP id zb10mr4950849wjc.99.1476195246767; Tue, 11 Oct 2016 07:14:06 -0700 (PDT) Received: from localhost ([37.153.108.22]) by smtp.gmail.com with ESMTPSA id ce6sm6737990wjc.27.2016.10.11.07.14.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Oct 2016 07:14:05 -0700 (PDT) From: Malcolm Matalka To: Trond =?utf-8?Q?Endrest=C3=B8l?= Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD VBox Guest does not run X11 at 1440x900 References: <86fuo9wqc3.fsf@gmail.com> Date: Tue, 11 Oct 2016 14:14:04 +0000 In-Reply-To: ("Trond =?utf-8?Q?Endrest=C3=B8l=22's?= message of "Thu, 6 Oct 2016 16:03:17 +0200 (CEST)") Message-ID: <86fuo3ynv7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2016 14:14:16 -0000 Trond Endrest=C3=B8l writes: > On Thu, 6 Oct 2016 13:37-0000, Malcolm Matalka wrote: > >> Hello, >>=20 >> I am running FreeBSD as a virtualbox guest on a OS X. My Mac is set to >> resolution 1440x900 and my X11 config in the VM is set to this as well. >> After running freebsd-update fetch and install and upgrading all my >> packages I cannot seem to run X in VBox at that resolution. If I bring >> my Mac to 1680x1050, I can run that (but it's not super enjoyable due to >> some poor redraw latency). And I can run at 1080x1024. I tried >> 1400x1050, which did not work as well. >>=20 >> What happens when I try to run at 1440x900 is that the screen is only >> roughly the size of the console window. It is running X, I can do all >> my stuff but the screen is small. xrandr claims it is running at >> 1440x900. >>=20 >> Has anyone seen this? I feel like the resolution might be a red herring >> but I have no way to determine this. > > Have you enabled EFI firmware for your VBox guest? > If you have, you're out of luck as there is currently no KMS driver=20 > for VBox. > > If you're running the guest with BIOS firmware, you might need to=20 > craft your own /etc/x11/xorg.conf file. > > Here's my xorg.conf file for use on a 1280x1024 display, with mouse=20 > support and Norwegian keyboard layout: > > http://ximalas.info/~trond/create-zfs/canmount/xorg.conf > > You'll need to add 1440x900 to the graphics resolution lists, and=20 > edit, or remove, or deactivate the InputClass and InputDevice for=20 > keyboards. So I've managed to be able to get into 1440x900 mode by hand by running xrandr --output VGA0 --mode 1440x900 However the screen occasionally does a really vicious redraw where it flickers to gray as it redraws, it's pretty distracting. I've created a gist of the xorg log output, perhaps someone can see something here? https://gist.github.com/anonymous/8cf62447619f1ed2d55a0384271fa1e5