From owner-freebsd-questions@freebsd.org Thu Aug 20 10:38:14 2015 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 7D1BE9BCF83 for ; Thu, 20 Aug 2015 10:38:14 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) (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 1C215D52 for ; Thu, 20 Aug 2015 10:38:13 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by wicne3 with SMTP id ne3so142397306wic.0 for ; Thu, 20 Aug 2015 03:38:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=Idif1YMgGBMHctoLEUpgUOxVBjJGrX3/I9kEWvVCc8E=; b=FtehfHhh10Mfv6xhB7IlsoLjlU21SjQ412d3hNo4fZ00o3sSbHL98E5ceYZeHsOtpa zVwmnnCyLz9zRpK3K2BAXxkWMgGCH79LrCvAYvb2vdacCsk8exv2+P+EAmWJeTrR0+7l /MFBiJCX0WFE8QTh5xcSD/wa9a+euODRW2K8S4vB57YXWFAPV47pWOE8DyvCE5MZodY/ uD+SFtSXohkJ+NsZzjo+J9N8W/cuUXUaUAfvY8+2XKp5zr0+SVAxLd6XrYV/N19m2Hz6 V+WiQ9Np7Sdd+UpJuX5yRZnbvZDaJjE72hH/cQ6Cs7Dk1t9RXbzJUXiYPlSu42RGV3FR SKJg== X-Gm-Message-State: ALoCoQmELYUeusgVv2ZEtegdx3MeY/AHu8bBkYm2rGKF9691I3GiTb3CALnCrg34rqHhSNashcrc X-Received: by 10.194.108.232 with SMTP id hn8mr4670072wjb.154.1440067085715; Thu, 20 Aug 2015 03:38:05 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id x6sm29967964wiy.6.2015.08.20.03.38.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2015 03:38:04 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id t7KAc4Ms034292; Thu, 20 Aug 2015 11:38:04 +0100 (BST) (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id t7KAc4lc034291; Thu, 20 Aug 2015 11:38:04 +0100 (BST) (envelope-from mexas) Date: Thu, 20 Aug 2015 11:38:04 +0100 (BST) From: Anton Shterenlikht Message-Id: <201508201038.t7KAc4lc034291@mech-as222.men.bris.ac.uk> To: freebsd-questions@freebsd.org, steve@sohara.org Subject: Re: running a graphical application over ssh - where is rendering done? Cc: mexas@bris.ac.uk Reply-To: mexas@bris.ac.uk In-Reply-To: <20150820111735.bfbba2567ac9d797e7c0eecb@sohara.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2015 10:38:14 -0000 >From steve@sohara.org Thu Aug 20 11:19:11 2015 > >> So does the graphical application send the data over the >> network back to my laptop, where I render it using the local resources? > > The graphical application communicates with the display server >using X11 protocol (and whatever extensions are available which includes >GLX and DRI on most systems these days) the rendering is done by the display >server. It doesn't have to be, the application could present a bitmap and >update it leaving the server to place the bitmap into a window. A high >resolution, 24 bit colour animation can eat a lot of network bandwidth done >this way, and network latency can really kill interactive behaviour. I think I understand. And if you can spare another few minutes, where does Mesa fit in this? If I launch this graphical app on a remote server with no Mesa option, it gives some error and crashes. If I launch it with Mesa, then it runs ok, meaning I can see what I need on the laptop screen. Is using mesa on the remote side related to using mesa on the laptop? Do I need to have Mesa installed both on the server and on the laptop for this to work? Does the fact that the graphical app crashes with no Mesa option mean that GL hardware is not available on the server? If you can post a link to a beginner's material on Mesa + client/server model, I'd be most grateful. Thank you Anton