From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16922 invoked by alias); 10 Oct 2018 19:16:13 -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 11581 invoked by uid 89); 10 Oct 2018 19:16:01 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=laptop, graphics, widgets, menu X-HELO: mail-yw1-f45.google.com Received: from mail-yw1-f45.google.com (HELO mail-yw1-f45.google.com) (209.85.161.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 10 Oct 2018 19:15:57 +0000 Received: by mail-yw1-f45.google.com with SMTP id 135-v6so2616168ywo.8 for ; Wed, 10 Oct 2018 12:15:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=hY3TVP4bX2e74qdEAgaIF+vR+mOdTyeJQqBowXEDyFc=; b=FbcYlGIwk0XkGSsfn2mJQ/S6+pyt9PViSsEL5VIuZMB0X5p9EycgYxZHdkhtX0v18y ZoHThS95xQ56Iwd+OKSX8YSURW5YNQ4Vk5QYX6O74mDTH76yMWTBX0Yd7ijz9JbNh8DY 9q4/oQsYQxbqN2yBOsQZJQY5DuSUbWheGKmsHvVbf+oUHdKL7ZxPN++sgVLaJcPazuwp rSfzJebZRWlqld4WjUpvGh9fktu3P7h0hh7Y5TOC72ZkRGIztwQtse8fSrhWhyDE4HTk tj2upXHmlofJ5IlUfGy+e+GrvPWJkehHmr4uLwYwp6wPcb+F+pwvZWbn3AEWntYrS0AI Tkwg== MIME-Version: 1.0 From: Chris Marshall Date: Wed, 10 Oct 2018 19:16:00 -0000 Message-ID: Subject: 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/msg00088.txt.bz2 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