From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41119 invoked by alias); 11 Oct 2018 17:41:14 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 40857 invoked by uid 89); 11 Oct 2018 17:41:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=widgets, rendered, laptop, H*r:sk:g15-v6s X-HELO: mail-yb1-f180.google.com Received: from mail-yb1-f180.google.com (HELO mail-yb1-f180.google.com) (209.85.219.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Oct 2018 17:41:11 +0000 Received: by mail-yb1-f180.google.com with SMTP id g15-v6so3929846ybf.6 for ; Thu, 11 Oct 2018 10:41:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ElzusjRWEw6wtof3XQpEx2FMG9P9rgG66SSAL8j3dcc=; b=e6K7mSZzWpSrfIt6jR5sqBxVS+U8yDOtzW1pIoAbeduaNugHoNLoFNWzbaFGrixH+F AzF/X8q19csOfPqxve/4H18b82iU/+ckhrn4WTnUPyt63HbJvIr9rnzhiGJ3mtbWK3my OAYoj7tQkWR4GpujbbdW/O/8e+bcbDuutiW2eQYYFKdUTBo5jGZX3eX2WKvV7OLG8JFU IU/lRevoXK8i9iSzjB0j8cx6DhgNNSqA5PqRjboMJ90GeosE71JfySWwSmTSPdj8keMJ H3iW+XGZSJsX1N29zifQhAuKyFECCDBjryq0TE7lcD8OvmzmTdipD8mhTbdmac+9BfpL iOtw== MIME-Version: 1.0 References: In-Reply-To: From: Chris Marshall Date: Thu, 11 Oct 2018 17:41:00 -0000 Message-ID: Subject: Re: opengl render size too small in X11 window To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00097.txt.bz2 I've verified that if I use the -nowgl option for the X11 server then the opengl visualization is correctly rendered and sized for the containing window. On Wed, Oct 10, 2018 at 12:15 PM Chris Marshall wrote: > Dear Cygwin- > > Using cygwin X11 under windows 10 with a high dpi display (3840x2160) > laptop resulted in far too small font and widgets using -multiwindow for > the XWin option. If I set the windows setting display resolution to > 1920x1080 and following the suggestion for the ~/.Xresources file from > https://stackoverflow.com/questions/42211564/cygwin-xwin-scaling-broken-when-using-windows-scaling-on-high-resolution-displa > I was able keep windows, widgets, and title/menu bars at a reasonable size > for reading. > > However, when I display some OpenGL graphics content (using a FreeGLUT > window), then the visible OpenGL rendered area is about 2/3 the apparent > widget area of the X11 window. If I try the same in a non-multiwindow Xwin > session then the rendered area is correct. This problem is even worse if I > try with the full screen resolution. At the moment I think I have narrowed > it down to the -multiwindow support for OpenGL contexts. > > This is with a couple of versions of the freeglut libraries with no effect > and the current cygwin and cygwin X Server. > > Thanks, > Chris > > > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple