Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701524 - Black screen with amdgpu-19.1.0 and xf86-video-ati-19.0.1
Summary: Black screen with amdgpu-19.1.0 and xf86-video-ati-19.0.1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-30 10:02 UTC by noldor
Modified: 2019-11-30 11:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description noldor 2019-11-30 10:02:50 UTC
Emerging the new amdgpu and xf86-video-ati drivers leads to an unusable state:
the screen stay black where login (sddm) should be shown, also the keyboard is unresponsive.
It worked before with 19.0.1 drivers, so I assume it's something driver related.
The card is an rx5700xt. 

I had this problem before but just downgraded to 19.0.1 and it worked again, so I ignored this.

Yesterday I upgraded @world and wanted to downgrade the drivers afterwards but they aren't in portage anymore.

However, this is what I know:
* Xorg starts but doesn't recognize the graphics chip (from xorg.0.log):
     (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x731f)

* It seems to me that firmware is not loaded (maybe because the chip is not    recognized), because dmesg doesn't show a "firmware amdgpu thisandthat" line, which I guess it should.

Googling around I found a thread on archlinux forums mentioning similar problems, claiming this had to to with llvm and/or mesa being to old, so I upgraded them to latest (non 9999) version but an re-emerged xorg + amdgpu/ati drivers + sddm, but to no avail. 

X -retro 
shows this:
(II) AMDGPU(0): [KMS] Kernel modesetting enabled.
radeonsi: Navi family support requires LLVM 9 or higher

And it still shows it after I upgraded to llvm-9.0.0.  
I'm a bit lost at what to do now.


emerge --info

Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.2.0, glibc-2.29-r2, 5.4.0-gentoo x86_64)
=================================================================
System uname: Linux-5.4.0-gentoo-x86_64-AMD_Ryzen_7_1700X_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    32893716 total,  32200320 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 28 Nov 2019 21:30:01 +0000
Head commit of repository gentoo: eab9c29055640b1ad2351dedd96db8d5cd103a38
Head commit of repository flatpak-overlay: 4b49969630089ec1479a1945e440ad5c17c65ba3

Head commit of repository steam-overlay: 709e811e2fd07abe634b089e3ed3f49429305090

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r5::gentoo, 1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo, 2.31.1-r6::gentoo, 2.32-r1::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo, 8.3.0-r1::gentoo, 9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

x-tovid
    location: /usr/local/portage/tovid
    masters: gentoo
    priority: 1

flatpak-overlay
    location: /var/lib/flatpak/flatpak-overlay
    sync-type: git
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=znver1"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news notitles parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://ftp.fau.de/gentoo"
LANG="de_DE.utf8@euro"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib accessibility acl acpi activities aim alsa amarok amd64 apache2 arts audiofile avi bcmath berkdb bidi bluetooth bmp bonjour branding bzip2 cairo calendar caps cdda cdparanoia cdr cgi clamav cli consolekit cpdflib cracklib crypt cscop ctype cups curl curlwrappers cxx dbus declarative dga dio directfb divx divx4linux dlloader doc dri dts dv dvd dvdr dvdread emboss encode ethereal evdev exif fam fastcgi fbcon ffmpeg firefox flac flash foomaticdb fortran ftp gadu gcj gd gdbm ggi gif gimp gimpprint ginac glup gmedia gnustep gnutls gpgme gphoto2 gpm graphviz gtk howl iconv icq icu idea idn ieee1394 imagemagick imap imlib ipv6 irc ithreads jabber jack java javascript joystick jpeg jpeg2k kde kerberos kipi kpathsea kwallet latex lcd lcms ldap libg++ libnotify libtirpc lightning lm_sensors logrotate lua lzo mad madwifi maildir mailwrapper matroska mbox mikmod mime ming mjpeg mmap mmx mmxext mng motif mozilla mp3 mp4 mpeg msn multilib musepack mysql nas ncurses networkmanager nls nocd nptl nptlonly nsplugin ntp objc ogg oggvorbis openal opencl opengl openmp osc otr pam pango pcre pda pdf pdflib perl phonon php plasma png policykit pop ppds pulseaudio qml qt5 quicktime readline real realmedia recode sasl scanner sdk sdl sdl2 seamonkey seccomp semantic-desktop sensord simplexml smime sndfile sockets sox speex spell split-usr ssl startup-notification static-libs stream svg szip tcl tcpd tetex theora threads tiff tk truetype udev udisks unicode upnp upower usb v4l vcd videos vlc vlm vorbis vulkan widgets win32codecs wmf wmp wxwidgets wxwindows x264 xattr xcb xcomposite xface xine xinerama xml xml2 xmms xosd xpm xprint xsl xv xvid yahoo zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="de en" LCD_DEVICES="g15" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonas Stein gentoo-dev 2019-11-30 11:58:06 UTC
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.
Always write the full cat/pkg-version string in the summary (title).

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/