Skip to content

Instantly share code, notes, and snippets.

@Technicus
Last active October 7, 2016 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Technicus/e3444d920fb9e4d9bcb536617983c75a to your computer and use it in GitHub Desktop.
Save Technicus/e3444d920fb9e4d9bcb536617983c75a to your computer and use it in GitHub Desktop.
$uname -a
Linux prototype 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64 GNU/Linux
$ lsb_release -a
LSB Version: 1.4
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
$ lspci | grep -e VGA -e 3D
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67ef (rev cf)
$ vainfo
libva info: VA-API version 0.39.3
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.2)
vainfo: Driver version: mesa gallium vaapi
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
$ vdpauinfo | grep "Information string:"
Information string: G3DVL VDPAU Driver Shared Library version 1.0
$ for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done
DP-1: disconnected
DVI-D-1: connected
HDMI-A-1: connected
$ cat /etc/modprobe.d/radeon.conf
blacklist radeon
$ cat /etc/modprobe.d/uvcvideo.conf
options uvcvideo nodrop=1
$ lsmod
Module Size Used by
nls_iso8859_1 16384 1
nls_cp437 20480 1
vfat 20480 1
fat 65536 1 vfat
fuse 98304 2
joydev 20480 0
mousedev 20480 0
uas 24576 0
input_leds 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
kvm_intel 184320 0
gpio_ich 16384 0
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
arc4 16384 2
mei_wdt 16384 0
evdev 24576 11
mac_hid 16384 0
kvm 507904 1 kvm_intel
iwldvm 180224 0
led_class 16384 2 iwldvm,input_leds
mac80211 659456 1 iwldvm
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 0
iwlwifi 184320 1 iwldvm
snd_hda_codec_realtek 69632 1
ghash_clmulni_intel 16384 0
snd_hda_codec_generic 69632 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 45056 1
aesni_intel 167936 0
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
snd_hda_intel 32768 5
gf128mul 16384 1 lrw
snd_hda_codec 106496 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
cryptd 20480 3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_core 65536 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
cfg80211 495616 3 iwlwifi,mac80211,iwldvm
snd_hwdep 16384 1 snd_hda_codec
intel_cstate 16384 0
snd_pcm 86016 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
pcspkr 16384 0
i2c_i801 20480 0
snd_timer 28672 1 snd_pcm
psmouse 118784 0
r8169 77824 0
snd 65536 18 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
mii 16384 1 r8169
lpc_ich 24576 0
rfkill 20480 2 cfg80211
wmi 16384 0
sch_fq_codel 20480 2
soundcore 16384 1 snd
fjes 28672 0
mei_me 32768 0
intel_agp 20480 0
mei 81920 3 mei_wdt,mei_me
button 16384 0
intel_gtt 20480 1 intel_agp
shpchp 32768 0
acpi_cpufreq 20480 1
tpm_tis 20480 0
tpm 36864 1 tpm_tis
vboxnetflt 28672 0
vboxnetadp 28672 0
pci_stub 16384 1
vboxpci 24576 0
vboxdrv 385024 3 vboxnetadp,vboxnetflt,vboxpci
ip_tables 24576 0
x_tables 28672 1 ip_tables
ext4 516096 1
crc16 16384 1 ext4
jbd2 90112 1 ext4
mbcache 16384 2 ext4
sd_mod 36864 5
hid_generic 16384 0
hid_logitech_hidpp 28672 0
hid_logitech_dj 20480 0
usbhid 45056 0
hid 114688 8 hid_generic,usbhid,hid_logitech_dj,hid_logitech_hidpp
usb_storage 61440 2 uas
serio_raw 16384 0
atkbd 24576 0
libps2 16384 2 atkbd,psmouse
ahci 36864 2
libahci 28672 1 ahci
libata 204800 2 ahci,libahci
scsi_mod 159744 4 uas,usb_storage,libata,sd_mod
ehci_pci 16384 0
ehci_hcd 69632 1 ehci_pci
firewire_ohci 40960 0
firewire_core 57344 1 firewire_ohci
crc_itu_t 16384 1 firewire_core
usbcore 200704 5 uas,usb_storage,ehci_hcd,ehci_pci,usbhid
usb_common 16384 1 usbcore
i8042 24576 0
serio 20480 6 serio_raw,atkbd,i8042,psmouse
amdgpu 1130496 14
i2c_algo_bit 16384 1 amdgpu
drm_kms_helper 118784 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 77824 1 amdgpu
drm 294912 28 ttm,drm_kms_helper,amdgpu
cat ~/.local/share/xorg/Xorg.0.log
[ 180.323]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 180.323] X Protocol Version 11, Revision 0
[ 180.323] Build Operating System: Linux 4.5.4-1-ARCH x86_64
[ 180.323] Current Operating System: Linux prototype 4.7.4-1-ARCH #1 SMP PREEMPT Thu Sep 15 15:24:29 CEST 2016 x86_64
[ 180.323] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=7fc3ae91-e043-40d5-8b02-34c36b275be6 rw
[ 180.323] Build Date: 19 July 2016 05:54:24PM
[ 180.323]
[ 180.323] Current version of pixman: 0.34.0
[ 180.324] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 180.324] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 180.324] (==) Log file: "/home/technician/.local/share/xorg/Xorg.0.log", Time: Tue Sep 27 22:40:49 2016
[ 180.324] (==) Using config file: "/etc/X11/xorg.conf"
[ 180.324] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 180.324] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 180.325] (==) ServerLayout "Layout0"
[ 180.325] (**) |-->Screen "Screen0" (0)
[ 180.325] (**) | |-->Monitor "LG"
[ 180.325] (**) | |-->Device "AMD"
[ 180.325] (**) |-->Screen "Screen1" (1)
[ 180.325] (**) | |-->Monitor "Acer"
[ 180.325] (**) | |-->Device "AMD"
[ 180.325] (**) |-->Screen "Screen2" (2)
[ 180.325] (**) | |-->Monitor "HP"
[ 180.325] (**) | |-->Device "AMD"
[ 180.325] (==) Automatically adding devices
[ 180.325] (==) Automatically enabling devices
[ 180.325] (==) Automatically adding GPU devices
[ 180.325] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 180.325] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 180.325] Entry deleted from font path.
[ 180.325] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 180.325] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 180.325] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 180.325] (II) Loader magic: 0x821d40
[ 180.325] (II) Module ABI versions:
[ 180.325] X.Org ANSI C Emulation: 0.4
[ 180.325] X.Org Video Driver: 20.0
[ 180.325] X.Org XInput driver : 22.1
[ 180.325] X.Org Server Extension : 9.0
[ 180.326] (++) using VT number 2
[ 180.326] (--) controlling tty is VT number 2, auto-enabling KeepTty
[ 180.328] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 180.329] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 180.330] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[ 180.331] (--) PCI:*(0:0:2:0) 8086:0042:103c:2a9c rev 24, Mem @ 0xfb800000/4194304, 0xd0000000/268435456, I/O @ 0x0000cc00/8, BIOS @ 0x????????/131072
[ 180.331] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 180.331] (II) LoadModule: "glx"
[ 180.332] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 180.333] (II) Module glx: vendor="X.Org Foundation"
[ 180.333] compiled for 1.18.4, module version = 1.0.0
[ 180.333] ABI class: X.Org Server Extension, version 9.0
[ 180.333] (==) AIGLX enabled
[ 180.333] (II) LoadModule: "amdgpu"
[ 180.334] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 180.334] (II) Module amdgpu: vendor="X.Org Foundation"
[ 180.334] compiled for 1.18.4, module version = 1.1.2
[ 180.334] Module class: X.Org Video Driver
[ 180.334] ABI class: X.Org Video Driver, version 20.0
[ 180.334] (II) AMDGPU: Driver for AMD Radeon chipsets: OLAND, OLAND, OLAND, OLAND,
OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
OLAND, OLAND, OLAND, HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, HAINAN,
TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI,
TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, PITCAIRN, PITCAIRN, PITCAIRN,
PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
PITCAIRN, PITCAIRN, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, PITCAIRN, BONAIRE,
BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE,
BONAIRE, BONAIRE, BONAIRE, KABINI, KABINI, KABINI, KABINI, KABINI,
KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
KABINI, KABINI, KABINI, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
MULLINS, MULLINS, MULLINS, MULLINS, KAVERI, KAVERI, KAVERI, KAVERI,
KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
KAVERI, KAVERI, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII,
HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, TOPAZ, TOPAZ, TOPAZ,
TOPAZ, TOPAZ, TONGA, TONGA, TONGA, TONGA, TONGA, TONGA, TONGA, TONGA,
TONGA, CARRIZO, CARRIZO, CARRIZO, CARRIZO, CARRIZO, FIJI, STONEY,
POLARIS11, POLARIS11, POLARIS11, POLARIS11, POLARIS11, POLARIS11,
POLARIS11, POLARIS11, POLARIS11, POLARIS10, POLARIS10, POLARIS10,
POLARIS10, POLARIS10, POLARIS10, POLARIS10, POLARIS10, POLARIS10,
POLARIS10, POLARIS10
[ 180.336] (EE) No devices detected.
[ 180.336] (EE)
Fatal server error:
[ 180.336] (EE) no screens found(EE)
[ 180.336] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 180.336] (EE) Please also check the log file at "/home/technician/.local/share/xorg/Xorg.0.log" for additional information.
[ 180.336] (EE)
$ cat /etc/X11/xorg.conf
Section "Monitor"
Identifier "LG"
Option "PreferredMode" "2560x1080"
Option "Primary" "On"
EndSection
Section "Monitor"
Identifier "Acer"
Option "PreferredMode" "1280x1024"
Option "LeftOf" "LG"
EndSection
Section "Monitor"
Identifier "HP"
Option "PreferredMode" "1280x1024"
Option "RightOf" "LG"
EndSection
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "Monitor-DVI-D-0" "HP"
Option "Monitor-HDMI-A-0" "LG"
Option "Monitor-DisplayPort-0" "Acer"
EndSection
Section "Screen"
Identifier "Screen0"
Device "AMD"
Monitor "LG"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "2560x1080"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "AMD"
Monitor "Acer"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "AMD"
Monitor "HP"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0" 1280 0
Screen "Screen1" LeftOf "Screen0"
Screen "Screen2" RightOf "Screen0"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment