https://bugs.freedesktop.org/show_bug.cgi?id=110795
--- Comment #25 from Etienne Lorrain etienne_lorrain@yahoo.fr --- (In reply to Etienne Lorrain from comment #24)
The script (attached to this bug) to install latest AMD drivers on ubuntu 19.04 for a RX590 on a Ryzen threadripper works for me, but leads to a Segmentation fault at address 0x0 of /usr/lib/xorg/Xorg seen in .local/share/xorg/Xorg.0.log
Solution for me was to: sudo mv /usr/share/X11/xorg.conf.d/10-amdgpu.conf /usr/share/X11/xorg.conf.d/10-amdgpu.conf.bak sudo mv /usr/share/X11/xorg.conf.d/00-amdgpu.conf /usr/share/X11/xorg.conf.d/00-amdgpu.conf.bak as proposed by axlc in https://community.amd.com/thread/227165 Then I had to reboot the PC, no more "loop login".
A shorter solution is to comment out (by adding # as first char) the line: ModulePath "/opt/amdgpu/lib/xorg/modules" in 00-amdgpu.conf and rename both files as their original names.
Maybe to use /usr/lib/xorg/modules/libglamoregl.so instead of /opt/amdgpu/lib/xorg/modules/libglamoregl.so, different files with same names. Or to use /usr/lib/xorg/modules/drivers/amdgpu_drv.so instead of /opt/amdgpu/lib/xorg/modules/drivers/amdgpu_drv.so, different files with same names. There is only two real files in /opt/amdgpu/lib/xorg/modules/.