From owner-freebsd-x11@freebsd.org Wed Mar 30 12:51:28 2016 Return-Path: Delivered-To: freebsd-x11@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 2DAB2AE1617 for ; Wed, 30 Mar 2016 12:51:28 +0000 (UTC) (envelope-from tommi.pernila@gmail.com) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (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 92F9C1FC8; Wed, 30 Mar 2016 12:51:27 +0000 (UTC) (envelope-from tommi.pernila@gmail.com) Received: by mail-lb0-x236.google.com with SMTP id u8so31239882lbk.0; Wed, 30 Mar 2016 05:51:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=jKEvxOYXWJwlindw9lO6lwjFhT6+gCSvGbdMNzceJb4=; b=YCajvm4u9hELp64BaE+NbAQWOOLoO9LBmhjz4nV+kgRy3wsaT+Viby1H2XmvQZFcOG J82dLDmThGTtv/VS6s14G5NFP7RgBryxJ8c5NvX8HTjKj/RGMjFYDYxZIBRmJsbZYZsc mhABv9h3SYW7lvKa48PIPSSzjnADUzE/HeaYlneRzRQhQaO33VuoZN71fMRtE73DWw2v U4NHPHDDyBR9C1juWjcQjAjHLhc+0DphUseJUb1fs0BwvKC9nedFcjcbZAJyHWJYwhPH dnCRLSSJI6kvjjFxE6DEizYE46MY0RrK6ydBovM45NVpIzQjC/l7NYLS+GJ+zGPgBu9k YlEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=jKEvxOYXWJwlindw9lO6lwjFhT6+gCSvGbdMNzceJb4=; b=C2H7IN1R2N4br0O/Tc0sxLL7rbDsVSalEdsMUDEkUJiJVN71IjJ35pJJ156KxGjqTX a1dscGm0/n8PBBXqhbaaiO4zP7vYbfeYyRD77hG6ewFRtI5eEobzEBI7xA/NkPxHN3GV 88M44AVYAhnDhJwJg98IaPiK/k2OC7RzmTzvC0ERyMWis8JWnaRWP7MlDLjyU/zKxXkh efjfGIAQiY+THbXNFNDp83pXDU5BjK/wgJudO+nyrG7EfATtdVWrQSUMrF7XkaBn18Uz 6Oldxe5yj+majSJd4Iwfh7dy9cqpwLzrb8xsR8tNJ79pAZAVR8Hrkwk/9AWIVBgyLkOj +H8A== X-Gm-Message-State: AD7BkJKty5xr6HOAQZX1qb7gN0xCmPC1b0PfWTA8Kvn3F0hk4A+2Dogc/9M1f9v2jNPA5EQTiju1z7PvfRxdfQ== MIME-Version: 1.0 X-Received: by 10.112.67.1 with SMTP id j1mr3253969lbt.103.1459342285696; Wed, 30 Mar 2016 05:51:25 -0700 (PDT) Sender: tommi.pernila@gmail.com Received: by 10.112.91.131 with HTTP; Wed, 30 Mar 2016 05:51:25 -0700 (PDT) In-Reply-To: <201603301230.u2UCU4kQ085063@mech-as222.men.bris.ac.uk> References: <20160330131355.23d66444@kalimero.tijl.coosemans.org> <201603301230.u2UCU4kQ085063@mech-as222.men.bris.ac.uk> Date: Wed, 30 Mar 2016 15:51:25 +0300 X-Google-Sender-Auth: OMQplgEoHvAbxSdp1aIk7HAFgqY Message-ID: Subject: Re: Haswell composite desktop - laptop+HDMI monitor - how? From: Tommi Pernila To: mexas@bris.ac.uk Cc: tijl@freebsd.org, freebsd-x11@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 12:51:28 -0000 On Wed, Mar 30, 2016 at 3:30 PM, Anton Shterenlikht wrote: > >From tijl@freebsd.org Wed Mar 30 12:37:40 2016 > > > >On Wed, 30 Mar 2016 10:52:11 +0100 (BST) Anton Shterenlikht < > mexas@bris.ac.uk> wrote: > >> Using xrandr as in the handbook, Sec. 5.4.6: > >> > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html > >> I finally got this configuration: > >> > >> % xrandr > >> Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192 > >> eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) > 293mm x 165mm > >> 1366x768 60.00*+ 40.00 > >> 1024x768 60.00 > >> 800x600 60.32 56.25 > >> 640x480 59.94 > >> HDMI1 connected 1920x1080+1366+0 (normal left inverted right x axis y > axis) 509mm x 286mm > >> 1920x1080 60.00*+ 50.00 > >> 1920x1080i 60.00 50.00 > >> 1600x900 59.98 > >> 1280x1024 75.02 60.02 > >> 1152x864 75.00 > >> 1280x720 60.00 50.00 > >> 1440x576i 50.00 > >> 1024x768 75.08 60.00 > >> 1440x480i 59.94 > >> 800x600 75.00 60.32 > >> 720x576 50.00 > >> 720x480 59.94 > >> 640x480 75.00 60.00 59.94 > >> 720x400 70.08 > >> DP1 disconnected (normal left inverted right x axis y axis) > >> HDMI2 disconnected (normal left inverted right x axis y axis) > >> DP2 disconnected (normal left inverted right x axis y axis > >> % > >> > >> The problem is that only about the leftmost > >> 1/3 to 1/4 of the width of the HDMI is used. > >> No graphical window can be moved further to the right. > >> > >> Am I missing something? > >> > >> Again, this worked perfectly for me (using xorg.conf) > >> on a older laptop with nvidia driver and VGA monitor. > > > >Try specifying the virtual screen resolution in xorg.conf: > > > >Section "Screen" > > [...] > > DefaultDepth 24 > > [...] > > SubSection "Display" > > Depth 24 > > Virtual 3286 1080 > > [...] > > EndSubSection > >EndSection > > That didn't help. Although I'm not sure I follow your > instructions correctly. If I set something like this > in xorg.conf or in > /usr/local/etc/X11/xorg.conf.d/screen-resolution.conf > then it seems to be ignored on X startup. > Perhaps I have to include both what you wrote and > equivalents of: > > xrandr --output eDP1 --auto > xrandr --output HDMI1 --auto > xrandr --output HDMI1 --right-of eDP1 > > also in a config file? > > Also, I'm confused by xrandr reporting only screen0. > Previously, with nvidia, I had in xorg.conf screen0 > and screen1 positioned to the right of screen0. > Perhaps xrandr uses a different terminology to xorg.conf? > A good tool for testing different configurations through a GUI is this: http://www.freshports.org/x11/arandr/ It's a GUI frontend for xrandr. If xrandr doesn't see correct values from the EDID, then i think the issue is with the driver or with Xorg. Anyone else care to comment? -Tommi