[AMD Official Use Only - General] Hi Marek
Got it, thanks! Best, Joey -----Original Message----- From: Marek Olšák <mar...@gmail.com> Sent: Thursday, July 13, 2023 3:04 AM To: Chen, Jinyi (Joey) <jinyi.c...@amd.com> Cc: mesa-dev@lists.freedesktop.org; Mammo, Ramel <ramel.ma...@amd.com> Subject: Re: X Crashes after Installing Mesa Driver Please follow https://github.com/marekolsak/marek-build/ Marek On Wed, Jul 12, 2023 at 11:55 AM Chen, Jinyi (Joey) <jinyi.c...@amd.com> wrote: > > [AMD Official Use Only - General] > > > Hi, > > > I have built and install mesa driver. I install it to system so xorg boots up > with it. But I am encountering black screens and flashes. > > I first did a local install to a directory. It successfully functions with > applications like glxinfo and glxgears when I export the LD_LIBRARY_PATH to > the custom Mesa driver I created. But LD_LIBRARY_PATH seemed to be set after > xorg loads (even when I put it in /etc/environment). So after I did a system > install instead. However, when I try to initiate the X server using the debug > Mesa driver, I encounter a flickering black screen. I have experimented with > various versions of Mesa, including the main branch, 23.0, and 23.1. It works > without installing amdgpu but does not work after installing amdgpu. My os is > Ubuntu 22.04. > > To build Mesa, I followed these steps after downloading the source > code from https://gitlab.freedesktop.org/mesa/mesa/-/tree/main/ > > meson setup builddbg/ > meson configure builddbg/ -Dbuildtype=debug meson install -C builddbg/ > > > > I have also tried without specifying build type. > > > > Can you share the steps you build mesa and how do you attach it to xorg? > Thanks in advance for your help! > > > > > > Best, > > Joey