From owner-freebsd-questions@freebsd.org Wed Jan 2 21:13:16 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C19E01430D39 for ; Wed, 2 Jan 2019 21:13:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EBBA70B73 for ; Wed, 2 Jan 2019 21:13:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.193.226.69]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1MD9CZ-1gVh0F2R3B-0099gw; Wed, 02 Jan 2019 22:13:06 +0100 Date: Wed, 2 Jan 2019 22:13:06 +0100 From: Polytropon To: "Kurt Buff - GSEC, GCIH" Cc: "freebsd-questions@freebsd.org" Subject: Re: Video resolution in a VM Message-Id: <20190102221306.1bbd6c85.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:SCKuKgZEUXvAkJxtEnj85t5Y//KSRkpSqRwIB2bNdB2Eg/NygV7 eydH5VepcRANbn0VQtuKHgctMuPAMdN6Y6aQngZeCflBYq5mUnFWPb6dQWQZeD32jYHMIKZ dSLsqzVJlpuia05qAPYPj8laOUr+6Q1Yq1SFJdruoT+C8jnA+KJohr2jO3cMeGCQ71suAdj M7AKktHUcvmueGrNwNRfA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:I3welVzQYYM=:+cEuHUPRHGTbrPD99X+TBK I9ChrXGu0PJsJ716NNDjagiBkJl20L54xCScRb7kduzkmLGhK1ffRxJKgwtuoO6bxbuZ/O32P l0VdxG0hYl+fkfLRCgxzshIw2Y2Bx3V4EMVPdSLkcQniRSG816fHcnP3eQQ+79MMDGsaSrO6c bxPxI3nhuF9oiu28gX8GUXB4D2DJoHJklExTKNaWzLfzss2iM4sY874Rj5mXCdwGS18OxhDLK Ie9B5LYqX3jot1af94tSYPHN7y8kkJCQjpJ0swgxVZzSxbwm4oWm3Yke14aPjHqV1ZCBytjCR NlWhtRzztSA34xLNoX8bgP8IH3AtJ7DqSrtIBGt9t44N96CdJgSo5wIN8lZrjggUynBv61Wx7 0w6C02WK3Mphcj+9wi6KcnaKfv8PWJnBymQluzAQR9UspPhGxBG5NhxOTx8HI9NXd7Y5PQe7/ HmCgL8QmtQLizETXMJLewbgJZHjr0088d7pIJ9w2EsOJfTGG1CmNfRiv0nKMEiOPA5cNEfahI hh3U4B6L4C+kAZtoVvxW8Bsw1Wj2jO7ux1fyURbXcHAN1xSx+oUy5RC3vphwU3DKOJjzHPwNK Wy7AVMgaduIuih/Y236NOFRQO/ujLd8emu7HIifRQlly1/Yf7vX4oNKSm8MxGtnEVOmGwIb5+ ZXs2l+57Z1EqvtcAWEHjZw4mir1Leb461dUzioXRzLcS95l6GovThvq8C03pXYMtaT7JdMDb2 Ys5otr/jxzj1jcxSr6OcULFtN90wyICi7nyxeQY+iqgX6HRxI6c/aFvqbew= X-Rspamd-Queue-Id: 8EBBA70B73 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.21 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; MX_GOOD(-0.01)[mx01.schlund.de,mx00.schlund.de]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[69.226.193.92.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.83)[0.826,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.03)[0.028,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.83)[0.834,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[13.17.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.13)[ipnet: 212.227.0.0/16(-0.31), asn: 8560(0.97), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 21:13:16 -0000 On Tue, 1 Jan 2019 17:05:09 -0800, Kurt Buff - GSEC, GCIH wrote: > I'm not able to get display resolution greater than 1280x720 - I'd > really like to get it to 1920x1080, to match the laptop capabilities. > > [...] > > The laptop shows two video displays in hdwwiz.cpl in Windows: > Intel HD Graphics 630 > NVIDIA GeForce 940MX > but it looks as if the NVIDIA isn't active. Don't know why that is. > > When I run xvinfo, it shows no display available. > > For "display", pciconf says: > vgapci0@pci0:0:15:0: class=0x030000 card=0x040515ad > chip=0x040515ad rev=0x00 hdr=0x00 > vendor = 'VMware' > device = 'SVGA II Adapter' > class = display > subclass = VGA > > The .vmx files shows the following for the display: > vmotion.checkpointSVGAPrimarySize = "8323072" > svga.maxHeight = "1080" > svga.maxWidth = "1920" > svga.autodetect = "FALSE" > svga.vramSize = "8323072" > > Any thoughts would be appreciated. There are several things you can try: First of all, it seems that VMware does not properly "represent" the existing hardware to your FreeBSD VM instance, so you only seem to get the generic "SVGA card". Also, have you thought about increasing the VRAM size? You can never have enough of VRAM. :-) Try using xrandr to set the screen size from insie the VM. A command line xrandr --size 1920x1080 should work. You can also try to use a specific X configuration fragment, for example /usr/local/etc/X11/xorg.conf.d/screen-resolution.conf with a content like this: Section "Screen" Identifier "Screen0" Device "Card0" SubSection "Display" Modes "1920x1080" EndSubSection EndSection You could then experiment with the setting DisplaySize (in mm) and the Option "DPI" (for example with "110 x 110"), depending on the actual properties of the hardware (!) you are using. A laptop display only has one sceen size and one resolution. Normally, X will calculate the correct information itself, which is usually obtained from the display, but this might not work as intended because of the "VM mangling"... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...