Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753546AbdLDLuq (ORCPT ); Mon, 4 Dec 2017 06:50:46 -0500 Received: from smtprelay.synopsys.com ([198.182.60.111]:52494 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752132AbdLDLup (ORCPT ); Mon, 4 Dec 2017 06:50:45 -0500 Subject: Re: UDL's fbdev doesn't work for user-space apps To: Alexey Brodkin , "airlied@gmail.com" References: <1512387175.4977.24.camel@synopsys.com> CC: "tutankhamen@chromium.org" , "daniel.vetter@ffwll.ch" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "airlied@redhat.com" , "linux-snps-arc@lists.infradead.org" , "hshi@chromium.org" From: Jose Abreu Message-ID: <86238def-82be-2ad1-63d0-b9a8dbf83db6@synopsys.com> Date: Mon, 4 Dec 2017 11:50:40 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1512387175.4977.24.camel@synopsys.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.107.19.63] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 572 Lines: 24 Hi Alexey, On 04-12-2017 11:32, Alexey Brodkin wrote: > My first [probably incorrect] assumption is Xserver requires fbdev (/dev/fbX) > and it cannot use DRI video card natively. Is that correct? > > Xserver can use DRI directly, you need to enable modesetting driver in Xorg config or use the designated driver for your card (if there is any). e.g.: Section "Device" Identifier "Card0" Driver "modesetting" Option "kmsdev" "/dev/dri/card0" Option "SWcursor" "true" BusID "PCI:X:X:X" EndSection Best Regards, Jose Miguel Abreu