Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMDGPU for Radeon RX 460 resulting garbled screen
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
atzengi25atn
n00b
n00b


Joined: 22 Jan 2012
Posts: 14

PostPosted: Sat Jan 13, 2018 1:23 pm    Post subject: AMDGPU for Radeon RX 460 resulting garbled screen Reply with quote

Hi everyone.

I have followed the Wiki page for AMDGPU and compiled the kernel accordingly.
Additionally checked this thread from the forum that has the same problem with mine.

I'm using a genkernel compiled kernel and initramfs currently.
I got this new all-in-one pc (HP Eliteone 800 G3) this week and trying to make it work.
First the problem was EFI boot. But handled that and now it boots fine.

After following the wiki, I have these results,

Image 1 : Loading the kernel and initramfs
Image 2 : Just starting to load modules
Image 3 : Final result

Code:
# lspci -v
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460] (rev c5) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Baffin [Radeon RX 460]
        Flags: fast devsel, IRQ 16
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at 3000 [size=256]
        Memory at f0400000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Kernel modules: amdgpu



Code:
# dmesg | grep amd
[    6.391064] [drm] amdgpu kernel modesetting enabled.
[    6.391087] fb: switching to amdgpudrmfb from EFI VGA
[    6.391510] amdgpu 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[    6.391510] amdgpu 0000:01:00.0: GTT: 3945M 0x0000000080000000 - 0x00000001769B2FFF
[    6.391520] [drm] amdgpu: 2048M of VRAM memory ready
[    6.391520] [drm] amdgpu: 3945M of GTT memory ready.
[    6.393325] amdgpu 0000:01:00.0: amdgpu: using MSI.
[    6.393339] [drm] amdgpu: irq initialized.
[    6.393449] amdgpu: powerplay initialized
[    6.396288] [drm] amdgpu atom DIG backlight initialized
[    6.396360] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000008, cpu addr 0xffff8802227c7008
[    6.396412] amdgpu 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000018, cpu addr 0xffff8802227c7018
[    6.396461] amdgpu 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000028, cpu addr 0xffff8802227c7028
[    6.396513] amdgpu 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000038, cpu addr 0xffff8802227c7038
[    6.396558] amdgpu 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000048, cpu addr 0xffff8802227c7048
[    6.396609] amdgpu 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000080000058, cpu addr 0xffff8802227c7058
[    6.396623] amdgpu 0000:01:00.0: fence driver on ring 6 use gpu addr 0x0000000080000068, cpu addr 0xffff8802227c7068
[    6.396638] amdgpu 0000:01:00.0: fence driver on ring 7 use gpu addr 0x0000000080000078, cpu addr 0xffff8802227c7078
[    6.396652] amdgpu 0000:01:00.0: fence driver on ring 8 use gpu addr 0x0000000080000088, cpu addr 0xffff8802227c7088
[    6.396674] amdgpu 0000:01:00.0: fence driver on ring 9 use gpu addr 0x0000000080000098, cpu addr 0xffff8802227c7098
[    6.396691] amdgpu 0000:01:00.0: fence driver on ring 10 use gpu addr 0x00000000800000a8, cpu addr 0xffff8802227c70a8
[    6.397008] amdgpu 0000:01:00.0: fence driver on ring 11 use gpu addr 0x0000000000851420, cpu addr 0xffffc9000985a420
[    6.397070] amdgpu 0000:01:00.0: fence driver on ring 12 use gpu addr 0x00000000800000c8, cpu addr 0xffff8802227c70c8
[    6.397085] amdgpu 0000:01:00.0: fence driver on ring 13 use gpu addr 0x00000000800000d8, cpu addr 0xffff8802227c70d8
[    6.683678] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD)
[    6.683693] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <gfx_v8_0> failed -22
[    6.683694] amdgpu 0000:01:00.0: amdgpu_init failed
[    6.755427] [drm] amdgpu atom LVDS backlight unloaded
[    6.755585] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid pageflip crtc 5
[    6.755603] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)
[    6.755625] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid pageflip crtc 5
[    6.755640] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)
[    6.755660] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid pageflip crtc 5
[    6.755673] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)
[    6.755692] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid pageflip crtc 5
[    6.755704] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)
[    6.755722] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid pageflip crtc 5
[    6.755734] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)
[    6.755752] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid pageflip crtc 5
[    6.755763] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)
[    6.757004] Modules linked in: amdgpu(+) snd_hda_codec_conexant snd_hda_codec_generic snd_hda_codec_hdmi mfd_core ttm snd_hda_intel x86_pkg_temp_thermal drm_kms_helper coretemp syscopyarea sysfillrect sysimgblt fb_sys_fops kvm_intel ppdev drm e1000e kvm uvcvideo snd_hda_codec videobuf2_vmalloc videobuf2_memops snd_hda_core videobuf2_v4l2 videobuf2_core iTCO_wdt snd_hwdep iTCO_vendor_support videodev snd_pcm snd_timer irqbypass snd crc32c_intel ghash_clmulni_intel i2c_i801 serio_raw soundcore cryptd pcspkr i2c_smbus parport_pc wmi video efivarfs iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi vmxnet3 virtio_net virtio_ring virtio tg3 sky2 r8169 pcnet32 mii igb ptp pps_core i2c_algo_bit i2c_core dca e1000 bnx2 atl1c fuse xfs nfs lockd grace sunrpc fscache jfs reiserfs btrfs ext2 linear raid10
[    6.757029]  raid1 raid0 dm_raid raid456 async_raid6_recov async_memcpy libcrc32c async_pq async_xor xor async_tx raid6_pq dm_snapshot dm_bufio dm_crypt dm_mirror dm_region_hash dm_log dm_mod firewire_core crc_itu_t sl811_hcd xhci_pci xhci_hcd usb_storage aic94xx libsas lpfc qla2xxx megaraid_sas megaraid_mbox megaraid_mm aacraid sx8 hpsa cciss 3w_9xxx 3w_xxxx 3w_sas mptsas scsi_transport_sas mptfc scsi_transport_fc mptspi mptscsih mptbase imm parport sym53c8xx initio arcmsr aic7xxx aic79xx scsi_transport_spi sr_mod cdrom sg sd_mod pdc_adma sata_inic162x sata_mv ata_piix ahci libahci sata_qstor sata_vsc sata_uli sata_sis sata_sx4 sata_nv sata_via sata_svw sata_sil24 sata_sil sata_promise pata_via pata_jmicron pata_marvell pata_sis pata_netcell pata_pdc202xx_old pata_atiixp pata_amd pata_ali pata_it8213
[    6.757092]  [<ffffffffa0ed5022>] amdgpu_ttm_mem_global_release+0x12/0x20 [amdgpu]
[    6.757118]  [<ffffffffa0ed6b93>] amdgpu_ttm_fini+0x153/0x1e0 [amdgpu]
[    6.757131]  [<ffffffffa0ed8822>] amdgpu_bo_fini+0x12/0x40 [amdgpu]
[    6.757147]  [<ffffffffa0f33fc2>] gmc_v8_0_sw_fini+0x42/0x50 [amdgpu]
[    6.757160]  [<ffffffffa0ec5272>] amdgpu_fini+0x292/0x410 [amdgpu]
[    6.757173]  [<ffffffffa0ec6e93>] amdgpu_device_init+0x983/0x1120 [amdgpu]
[    6.757186]  [<ffffffffa0ec985d>] amdgpu_driver_load_kms+0x5d/0x1f0 [amdgpu]
[    6.757209]  [<ffffffffa0ec44ac>] amdgpu_pci_probe+0xbc/0xe0 [amdgpu]
[    6.757240]  [<ffffffffa0db0095>] amdgpu_init+0x95/0xa8 [amdgpu]
[    6.757279] [drm] amdgpu: ttm finalized
[    6.757283] amdgpu 0000:01:00.0: Fatal error during GPU init
[    6.757285] [drm] amdgpu: finishing device.
[    6.757552] amdgpu: probe of 0000:01:00.0 failed with error -22


Kernel Config Parts:
Code:
#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="amdgpu/polaris11_ce.bin amdgpu/polaris11_me.bin amdgpu/polaris11_pfp.bin amdgpu/polaris11_sdma.bin amdgpu/polaris11_uvd.bin amdgpu/polaris11_k_smc.bin amdgpu/polaris11_mec2.bin amdgpu/polaris11_rlc.bin amdgpu/polaris11_smc.bin amdgpu/polaris11_vce.bin amdgpu/polaris11_mc.bin amdgpu/polaris11_mec.bin amdgpu/polaris11_sdma1.bin amdgpu/polaris11_smc_sk.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
CONFIG_WANT_DEV_COREDUMP=y
CONFIG_ALLOW_DEV_COREDUMP=y
CONFIG_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not set
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=m
CONFIG_DMA_SHARED_BUFFER=y
# CONFIG_FENCE_TRACE is not set
#


Code:
# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
CONFIG_AGP_SIS=y
CONFIG_AGP_VIA=y
CONFIG_INTEL_GTT=y
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=64
CONFIG_VGA_SWITCHEROO=y
CONFIG_DRM=m
# CONFIG_DRM_DP_AUX_CHARDEV is not set
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
CONFIG_DRM_TTM=m

#
# I2C encoder or helper chips
#
CONFIG_DRM_I2C_CH7006=m
CONFIG_DRM_I2C_SIL164=m
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_RADEON is not set
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
CONFIG_DRM_AMDGPU_GART_DEBUGFS=y

#
# ACP (Audio CoProcessor) Configuration
#
CONFIG_DRM_AMD_ACP=y
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
# CONFIG_DRM_VIRTIO_GPU is not set
CONFIG_DRM_BRIDGE=y


# CONFIG_DRM_LEGACY is not set

#
# Frame buffer Devices
#
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_VESA is not set
CONFIG_FB_EFI=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SM501 is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SM712 is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=m
CONFIG_LCD_PLATFORM=m
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_GENERIC is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_PM8941_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_VGASTATE is not set
CONFIG_HDMI=y


Code:
# emerge --info
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r9, 4.9.72-gentoo x86_64)
=================================================================
System uname: Linux-4.9.72-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700_CPU_@_3.60GHz-with-gentoo-2.4.1
KiB Mem:     8080792 total,   7661480 free
KiB Swap:    8305660 total,   8305660 free
Timestamp of repository gentoo: Thu, 11 Jan 2018 15:30:01 +0000
Head commit of repository gentoo: 7e320bc722fd130f33b000a4c8f963ebf584447b
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.linux.org.tr/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
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="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds printsupport pulseaudio qml qt3support qt5 readline samba sdl seccomp semantic-desktop smb spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zeroconf zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby22" 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, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


When I compile the kernel, tried 2 methods,

1st was with CONFIG_FIRMWARE_IN_KERNEL=y option. Then genkernel says the firmware is embedded in the kernel so it does not include them to initramfs.
2nd was without that option enabled but keeping the CONFIG_EXTRA_FIRMWARE and CONFIG_EXTRA_FIRMWARE_DIR filled correctly. Then genkernel says it includes the firmware to initramfs.
Both of these didn't work for me.

I'm looking for some help.
What do you think is wrong in my setup.
Thanks in advance.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43386
Location: 56N 3W

PostPosted: Sat Jan 13, 2018 3:45 pm    Post subject: Reply with quote

atzengi25atn,

Lets not work through keyholes.

Post your
Code:
lspci -nnk
output, so we know all about your hardware.
Use wgetpaste to post your entire kernel .config onto a website.

If you can ssh into the system, it may boot correctly, just with a scrambled screen, use wgetpaste to post your entire dmesg too.

dmesg:
[    6.683694] amdgpu 0000:01:00.0: amdgpu_init failed
says that it isn't going to work.

I have a Radeon RX 460 too but I've never tried it with such an old kernel, only with 4.14 and 4.15.0-rcX.
I was having hardware problems, (random lockups) so right now, I'm back on a 9 year old nVidia card.
That's not solved the lockups though. Enough of my woes.

If you decide to try 4.15.0-rcX be aware that it has a new amdgpu driver and needs more firmware than is listed on the Wiki.
You will need the most recent linux-firmware you can get. That driver is not in 4.14.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
atzengi25atn
n00b
n00b


Joined: 22 Jan 2012
Posts: 14

PostPosted: Mon Jan 22, 2018 12:09 pm    Post subject: [SOLVED] AMDGPU for Radeon RX 460 resulting garbled screen Reply with quote

Hi @NeddySeagoon,

As you said it was the old kernel.
When I upgrade it to 4.14.13 it works fine.
Thank you very much.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum