From: bugzilla-daemon@freedesktop.org Subject: [Bug 91704] Tonga startx fails since mesa/drm 56d8dd6 amdgpu: make vamgr per device v2 Date: Sat, 22 Aug 2015 19:36:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1304960490==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B912B6E1F4 for ; Sat, 22 Aug 2015 12:36:54 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1304960490== Content-Type: multipart/alternative; boundary="1440272214.DACbE50.4179"; charset="UTF-8" --1440272214.DACbE50.4179 Date: Sat, 22 Aug 2015 19:36:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91704 --- Comment #10 from Andy Furniss --- > (changing the > includes to etc. won't build. Oh NVM it will build with system headers as long as I remember to specify the lib :-) So outside X it works (assuming silence is success) as user and root. Inside X it only works as root, device_initialization fails as user - which prompted me to try startx as root - this works with amdgpu (unless its a fluke because root got twm and I use fluxbox). Starting X as root with modesetting starts but I see the same as the modesetting log I posted. So maybe some permissions issue. FWIW card0 is crw-rw---- 1 root video 226, 0 Aug 22 2015 /dev/dri/card0 and my user is in group video. -- You are receiving this mail because: You are the assignee for the bug. --1440272214.DACbE50.4179 Date: Sat, 22 Aug 2015 19:36:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 91704 from
> (changing the
> includes to <libdrm/amdgpu_drm.h> etc. won't build.

Oh NVM it will build with system headers as long as I remember to specify the
lib :-)

So outside X it works (assuming silence is success) as user and root.

Inside X it only works as root, device_initialization fails as user - which
prompted me to try startx as root - this works with amdgpu (unless its a fluke
because root got twm and I use fluxbox).

Starting X as root with modesetting starts but I see the same as the
modesetting log I posted.

So maybe some permissions issue.

FWIW card0 is 

crw-rw---- 1 root video 226, 0 Aug 22  2015 /dev/dri/card0

and my user is in group video.


You are receiving this mail because:
  • You are the assignee for the bug.
--1440272214.DACbE50.4179-- --===============1304960490== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1304960490==--