From mboxrd@z Thu Jan 1 00:00:00 1970 From: pavel@ucw.cz (Pavel Machek) Date: Tue, 12 Dec 2017 22:12:14 +0100 Subject: UDL's fbdev doesn't work for user-space apps In-Reply-To: <1513108084.4945.27.camel@synopsys.com> References: <1512387175.4977.24.camel@synopsys.com> <86238def-82be-2ad1-63d0-b9a8dbf83db6@synopsys.com> <20171209172022.GC19862@localhost> <1513108084.4945.27.camel@synopsys.com> List-ID: Message-ID: <20171212211214.GA32613@amd> To: linux-snps-arc@lists.infradead.org On Tue 2017-12-12 19:48:05, Alexey Brodkin wrote: > Hi Pavel, > > On Sat, 2017-12-09@18:20 +0100, Pavel Machek wrote: > > On Mon 2017-12-04 11:50:40, Jose Abreu wrote: > > > > > > 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). > > > > Still, dev/fb1 should work. > > Agree, but it doesn't :) > Even on completely different architectures (ARC and ARM). Yeah, would be nice to get it fixed :-). I remember it did not work for me, either, and .. that's some time ago. Architecture probably plays no role there. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: UDL's fbdev doesn't work for user-space apps Date: Tue, 12 Dec 2017 22:12:14 +0100 Message-ID: <20171212211214.GA32613@amd> References: <1512387175.4977.24.camel@synopsys.com> <86238def-82be-2ad1-63d0-b9a8dbf83db6@synopsys.com> <20171209172022.GC19862@localhost> <1513108084.4945.27.camel@synopsys.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0437888285==" Return-path: Received: from atrey.karlin.mff.cuni.cz (atrey.karlin.mff.cuni.cz [195.113.26.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id D8C7C6E24F for ; Tue, 12 Dec 2017 21:12:21 +0000 (UTC) In-Reply-To: <1513108084.4945.27.camel@synopsys.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Alexey Brodkin Cc: "tutankhamen@chromium.org" , "Jose.Abreu@synopsys.com" , "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" List-Id: dri-devel@lists.freedesktop.org --===============0437888285== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2017-12-12 19:48:05, Alexey Brodkin wrote: > Hi Pavel, >=20 > On Sat, 2017-12-09 at 18:20 +0100, Pavel Machek wrote: > > On Mon 2017-12-04 11:50:40, Jose Abreu wrote: > > >=20 > > > Hi Alexey, > > >=20 > > > On 04-12-2017 11:32, Alexey Brodkin wrote: > > > >=20 > > > > My first [probably incorrect] assumption is Xserver requires fbdev = (/dev/fbX) > > > > and it cannot use DRI video card natively. Is that correct? > > > >=20 > > > >=20 > > >=20 > > > 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). > >=20 > > Still, dev/fb1 should work. >=20 > Agree, but it doesn't :) > Even on completely different architectures (ARC and ARM). Yeah, would be nice to get it fixed :-). I remember it did not work for me, either, and .. that's some time ago. Architecture probably plays no role there. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlowRi4ACgkQMOfwapXb+vLJJQCgwGuDSdl+TR0ja4nlvhWX3Od0 PzgAmgL8J1qD8NbbhCu/H2ofLggBuf4U =e5hj -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe-- --===============0437888285== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0437888285==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752570AbdLLVMR (ORCPT ); Tue, 12 Dec 2017 16:12:17 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:41453 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752263AbdLLVMQ (ORCPT ); Tue, 12 Dec 2017 16:12:16 -0500 Date: Tue, 12 Dec 2017 22:12:14 +0100 From: Pavel Machek To: Alexey Brodkin Cc: "linux-kernel@vger.kernel.org" , "daniel.vetter@ffwll.ch" , "hshi@chromium.org" , "linux-snps-arc@lists.infradead.org" , "tutankhamen@chromium.org" , "Jose.Abreu@synopsys.com" , "airlied@redhat.com" , "dri-devel@lists.freedesktop.org" , "airlied@gmail.com" Subject: Re: UDL's fbdev doesn't work for user-space apps Message-ID: <20171212211214.GA32613@amd> References: <1512387175.4977.24.camel@synopsys.com> <86238def-82be-2ad1-63d0-b9a8dbf83db6@synopsys.com> <20171209172022.GC19862@localhost> <1513108084.4945.27.camel@synopsys.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <1513108084.4945.27.camel@synopsys.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2017-12-12 19:48:05, Alexey Brodkin wrote: > Hi Pavel, >=20 > On Sat, 2017-12-09 at 18:20 +0100, Pavel Machek wrote: > > On Mon 2017-12-04 11:50:40, Jose Abreu wrote: > > >=20 > > > Hi Alexey, > > >=20 > > > On 04-12-2017 11:32, Alexey Brodkin wrote: > > > >=20 > > > > My first [probably incorrect] assumption is Xserver requires fbdev = (/dev/fbX) > > > > and it cannot use DRI video card natively. Is that correct? > > > >=20 > > > >=20 > > >=20 > > > 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). > >=20 > > Still, dev/fb1 should work. >=20 > Agree, but it doesn't :) > Even on completely different architectures (ARC and ARM). Yeah, would be nice to get it fixed :-). I remember it did not work for me, either, and .. that's some time ago. Architecture probably plays no role there. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlowRi4ACgkQMOfwapXb+vLJJQCgwGuDSdl+TR0ja4nlvhWX3Od0 PzgAmgL8J1qD8NbbhCu/H2ofLggBuf4U =e5hj -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--