You are not logged in.

#1 2017-03-05 10:36:20

Haroon
Member
From: Germany
Registered: 2017-02-14
Posts: 24

Blackscreen when trying to start xfce, possible module issue

Hello everyone

the radeon and amdgpu modules are both beeing loaded for my gpu, this is causing issues, when I connect a second monitor or try to run a desktop enviroment.
I tried blacklisting the radeon module and put the amdgpu module in the mkinitcpio.conf, but it doesn't seem to work.

$lspci -nnk
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] [1002:67b1] (rev 80)
	Subsystem: Hightech Information System Ltd. Device [1787:2358]
	Kernel driver in use: amdgpu
	Kernel modules: radeon, amdgpu
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X] [1002:aac8]
	Subsystem: Hightech Information System Ltd. Device [1787:aac8]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
cat /etc/modprobe.d/00-radeon.conf
# Blacklist radeon driver to force amdgpu
blacklist radeon
install radeon /bin/false
$cat /etc/mkinitcpio.conf
MODULES="amdgpu"
FILES="/etc/modprobe.d/00-radeon.conf"
HOOKS="base udev autodetect modconf block usb filesystems keyboard fsck"

Am I missing something or why does this not work?

Regards

PS:I generated a new initramfs with mkinitcpio -p linux.

Last edited by Haroon (2017-03-05 12:21:14)

Offline

#2 2017-03-05 11:40:32

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: Blackscreen when trying to start xfce, possible module issue

	Kernel driver in use: amdgpu

That is the loaded module for that device.

	Kernel modules: radeon, amdgpu

List of possible modules the kernel could use for that device.

Offline

#3 2017-03-05 12:22:53

Haroon
Member
From: Germany
Registered: 2017-02-14
Posts: 24

Re: Blackscreen when trying to start xfce, possible module issue

So you are telling me the module is blacklisted properly?
I still can't use two monitors or even start xfce, the screen starts to flicker or just stays black.

Offline

#4 2017-03-05 14:26:59

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: Blackscreen when trying to start xfce, possible module issue

Haroon wrote:

So you are telling me the module is blacklisted properly?

What is the output of

$ lsmod

Offline

#5 2017-03-05 15:10:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Blackscreen when trying to start xfce, possible module issue

a) try to get the radon driver to work first, sea island support in amdgpu is iirc still considered "experimental"
b) what's the output of

pacman -Q | grep xf86-video

c) please paste your xorg log

Offline

#6 2017-03-05 15:38:30

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: Blackscreen when trying to start xfce, possible module issue

Or as the thread was originally solely about module blacklisting pre the edit by Haroon (Today 12:21:14) the topic could be marked as solved and a new thread on the blackscreen issue started.

Offline

#7 2017-03-05 20:41:44

Haroon
Member
From: Germany
Registered: 2017-02-14
Posts: 24

Re: Blackscreen when trying to start xfce, possible module issue

@loqs: Sorry about the edit, I tought it would be fine.

$lsmod
Module                  Size  Used by
nls_iso8859_1          16384  2
nls_cp437              20480  2
vfat                   20480  2
fat                    65536  1 vfat
xpad                   28672  0
input_leds             16384  0
ff_memless             16384  1 xpad
led_class              16384  2 input_leds,xpad
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             192512  0
kvm                   524288  1 kvm_intel
mousedev               20480  0
irqbypass              16384  1 kvm
joydev                 20480  0
snd_hda_codec_realtek    69632  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     45056  1
crct10dif_pclmul       16384  0
alx                    40960  0
crc32_pclmul           16384  0
snd_hda_intel          32768  0
snd_hda_codec         106496  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           65536  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                90112  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              28672  1 snd_pcm
snd                    69632  8 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
crc32c_intel           24576  0
ie31200_edac           16384  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
mdio                   16384  1 alx
ghash_clmulni_intel    16384  0
shpchp                 32768  0
mei_me                 36864  0
i2c_i801               24576  0
lpc_ich                24576  0
i2c_smbus              16384  1 i2c_i801
edac_core              45056  1 ie31200_edac
mei                    86016  1 mei_me
soundcore              16384  1 snd
aesni_intel           167936  0
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
evdev                  24576  2
mac_hid                16384  0
glue_helper            16384  1 aesni_intel
ablk_helper            16384  1 aesni_intel
cryptd                 20480  3 ablk_helper,ghash_clmulni_intel,aesni_intel
intel_cstate           16384  0
psmouse               131072  0
pcspkr                 16384  0
intel_rapl_perf        16384  0
thermal                20480  0
battery                20480  0
tpm_infineon           20480  0
fjes                   28672  0
tpm_tis                16384  0
video                  36864  0
tpm_tis_core           20480  1 tpm_tis
tpm                    36864  3 tpm_infineon,tpm_tis,tpm_tis_core
button                 16384  0
fan                    16384  0
sch_fq_codel           20480  2
ip_tables              28672  0
x_tables               28672  1 ip_tables
ext4                  528384  3
crc16                  16384  1 ext4
jbd2                   90112  1 ext4
fscrypto               24576  1 ext4
mbcache                16384  4 ext4
hid_generic            16384  0
usbhid                 49152  0
hid                   114688  2 hid_generic,usbhid
sd_mod                 36864  7
uas                    24576  0
usb_storage            65536  6 uas
serio_raw              16384  0
atkbd                  24576  0
libps2                 16384  2 atkbd,psmouse
ahci                   36864  0
libahci                28672  1 ahci
libata                212992  2 ahci,libahci
xhci_pci               16384  0
ehci_pci               16384  0
xhci_hcd              172032  1 xhci_pci
ehci_hcd               73728  1 ehci_pci
scsi_mod              159744  4 sd_mod,usb_storage,libata,uas
usbcore               208896  8 usbhid,usb_storage,ehci_hcd,xpad,xhci_pci,uas,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
i8042                  28672  0
serio                  20480  6 serio_raw,atkbd,psmouse,i8042
amdgpu               1499136  1
i2c_algo_bit           16384  1 amdgpu
drm_kms_helper        126976  1 amdgpu
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
ttm                    86016  1 amdgpu
drm                   294912  4 amdgpu,ttm,drm_kms_helper

@seth:
a) How should I get the radeon driver to work? Blacklist admgpu and load radeon?
b) no output
c) there is no xorg log in /var/log/ only journal/ and old/

Offline

#8 2017-03-05 20:44:04

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: Blackscreen when trying to start xfce, possible module issue

Haroon wrote:

c) there is no xorg log in /var/log/ only journal/ and old/

Xorg#General

Offline

#9 2017-03-05 20:47:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Blackscreen when trying to start xfce, possible module issue

a) yes
b) sudo pacman -S xf86-video-amdgpu xf86-video-ati # you'll get the modesetting driver otherwise which might be the problem (or not)
c) XOrg.0.log is either found in /var/log/X11 or ~/.local/share/xorg - depending on how X is invoked (stupid situation, really)

Offline

Board footer

Powered by FluxBB