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:52:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1969436423==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 641C76E1FA for ; Sat, 22 Aug 2015 12:52:14 -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 --===============1969436423== Content-Type: multipart/alternative; boundary="1440273134.b526a60.8793"; charset="UTF-8" --1440273134.b526a60.8793 Date: Sat, 22 Aug 2015 19:52:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91704 --- Comment #11 from Andy Furniss --- (In reply to Andy Furniss from comment #10) > > (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. Permissions seems to be a red herring - It's possible for startx as root to fail in the same way as user. So startx may work as root but only if I am lucky - repeated testing and it mostly fails now. -- You are receiving this mail because: You are the assignee for the bug. --1440273134.b526a60.8793 Date: Sat, 22 Aug 2015 19:52:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 11 on bug 91704 from
(In reply to Andy Furniss from comment #10)
> > (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.

Permissions seems to be a red herring - It's possible for startx as root to
fail in the same way as user. So startx may work as root but only if I am lucky
- repeated testing and it mostly fails now.


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