VLC v4 vs. v3, snap vs. native

*nix specific usage questions
johnzbesko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Oct 2018 05:01

VLC v4 vs. v3, snap vs. native

Postby johnzbesko » 03 Oct 2018 05:21

VLC v4 crashes when I try to play a video on my Kubuntu amd64 18.04 system with a Radeon RX 470/480. "cvlc filename" crashes, too. (seg fault) Have been updating regularly.

VLC v3, installed with snap, will play video only if I use its file dialog to navigate to the mounted drive I store all my video on. The playback is jerky for any fast moving scenes (and full-screen.) Playback is smoother when I downgrade the display from 3840x2160 to 1920x1080.

avi, mp4, mkv - no difference.

Any suggestions?

erythros
Blank Cone
Blank Cone
Posts: 19
Joined: 14 Nov 2007 14:16
VLC version: 3.0.4
Operating System: Linux
Contact:

Re: VLC v4 vs. v3, snap vs. native

Postby erythros » 03 Oct 2018 20:17

VLC v4 is not production ready. The latest release of VLC for Linux is 3.0.4 as of 31 August 2018. Do you have the same issue with the .dep version of VLC 3.x as you do with the snap version?

On first read through, it sounds as though your video card cannot handle playback at that resolution (which shouldn't be the case for either the 470 or 480). Do you have a sample file so this can be tested with other hardware? Can you post your VLC 3.x logs for both issues?

I don't think this is the issue but you could also attempt to enable TearFree via: radeon-driver or amdgpu-driver

johnzbesko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Oct 2018 05:01

Re: VLC v4 vs. v3, snap vs. native

Postby johnzbesko » 04 Oct 2018 04:48

Thank you for the reply. I modified my 10-radeon.conf file to include:

Option "TearFree" "on"
Option "DRI" "3"
Option "AccelMethod" "glamor"

I also checked the Xorg.0.log and it does appear the Radeon/amdgpu drivers are loaded. No apparent difference. I should also note I have a LG 32UD59 4K Hi-Def monitor, connected with an HDMI cable.

I also note that when I view the video (with snap vlc 3) in a smaller window, the jerkiness diminishes. I also do not seem to have these problems when I boot into Win10.

I guess these are driver issues? I also discovered the snap method of installed software has problems with mounted drives. The native vlc v3 gave me problems with 16.04- that was one motivation to upgrade to 18.04. When vlc still didn't work properly, I tried the v4. Neither version runs when I right-click on a video file to play it.

The relevant part of the Xorg log file:

[ 10.929] (--) Log file renamed from "/var/log/Xorg.pid-1674.log" to "/var/log/Xorg.0.log"
[ 10.931]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 10.931] X Protocol Version 11, Revision 0
[ 10.931] Build Operating System: Linux 4.4.0-119-generic x86_64 Ubuntu
[ 10.931] Current Operating System: Linux ZAmd64 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64
[ 10.931] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic root=UUID=73aab46c-89f4-46f9-95c4-4f4576aae2fd ro quiet splash amdgpu.dc=0 vt.handoff=1
[ 10.931] Build Date: 13 April 2018 08:07:36PM
[ 10.931] xorg-server 2:1.19.6-1ubuntu4 (For technical support please see http://www.ubuntu.com/support)
[ 10.931] Current version of pixman: 0.34.0
[ 10.931] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 10.931] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10.931] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 3 21:13:03 2018
[ 10.934] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 10.943] (==) No Layout section. Using the first Screen section.
[ 10.943] (==) No screen section available. Using defaults.
[ 10.943] (**) |-->Screen "Default Screen Section" (0)
[ 10.943] (**) | |-->Monitor "<default monitor>"
[ 10.944] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 10.944] (==) Automatically adding devices
[ 10.944] (==) Automatically enabling devices
[ 10.944] (==) Automatically adding GPU devices
[ 10.944] (==) Automatically binding GPU devices
[ 10.944] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 10.950] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 10.950] Entry deleted from font path.
[ 10.950] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 10.950] Entry deleted from font path.
[ 10.950] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 10.950] Entry deleted from font path.
[ 10.951] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 10.951] Entry deleted from font path.
[ 10.951] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 10.951] Entry deleted from font path.
[ 10.951] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 10.951] (**) ModulePath set to "/opt/amdgpu-pro/lib/xorg/modules,/opt/amdgpu/lib/xorg/modules,/usr/lib/xorg/modules"
[ 10.951] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 10.952] (II) Loader magic: 0x55fd9d2c7020
[ 10.952] (II) Module ABI versions:
[ 10.952] X.Org ANSI C Emulation: 0.4
[ 10.952] X.Org Video Driver: 23.0
[ 10.952] X.Org XInput driver : 24.1
[ 10.952] X.Org Server Extension : 10.0
[ 10.952] (++) using VT number 1

[ 10.952] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 10.953] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 10.980] (--) PCI:*(0:9:0:0) 1002:67df:1043:04b0 rev 207, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfe900000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[ 10.980] (II) LoadModule: "glx"
[ 10.981] (II) Loading /opt/amdgpu-pro/lib/xorg/modules/extensions/libglx.so
[ 10.992] (II) Module glx: vendor="X.Org Foundation"
[ 10.992] compiled for 1.19.0, module version = 1.0.0
[ 10.992] ABI class: X.Org Server Extension, version 10.0
[ 10.992] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[ 10.992] loading driver: amdgpu
[ 10.992] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[ 10.992] loading driver: amdgpu
[ 10.992] (==) Matched amdgpu as autoconfigured driver 0
[ 10.992] (==) Matched amdgpu as autoconfigured driver 1
[ 10.992] (==) Matched ati as autoconfigured driver 2
[ 10.992] (==) Matched ati as autoconfigured driver 3
[ 10.992] (==) Matched modesetting as autoconfigured driver 4
[ 10.992] (==) Matched fbdev as autoconfigured driver 5
[ 10.992] (==) Matched vesa as autoconfigured driver 6
[ 10.992] (==) Assigned the driver to the xf86ConfigLayout
[ 10.992] (II) LoadModule: "amdgpu"
[ 10.995] (II) Loading /opt/amdgpu/lib/xorg/modules/drivers/amdgpu_drv.so
[ 10.997] (II) Module amdgpu: vendor="X.Org Foundation"
[ 10.997] compiled for 1.19.6, module version = 18.0.99
[ 10.997] Module class: X.Org Video Driver
[ 10.997] ABI class: X.Org Video Driver, version 23.0
[ 10.997] (II) LoadModule: "ati"
[ 10.998] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 10.999] (II) Module ati: vendor="X.Org Foundation"
[ 10.999] compiled for 1.19.6, module version = 18.1.0
[ 10.999] Module class: X.Org Video Driver
[ 10.999] ABI class: X.Org Video Driver, version 23.0
[ 11.153] (II) LoadModule: "radeon"
[ 11.153] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[ 11.160] (II) Module radeon: vendor="X.Org Foundation"
[ 11.160] compiled for 1.19.6, module version = 18.1.0
[ 11.160] Module class: X.Org Video Driver
[ 11.160] ABI class: X.Org Video Driver, version 23.0
[ 11.160] (II) LoadModule: "modesetting"
[ 11.160] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 11.164] (II) Module modesetting: vendor="X.Org Foundation"
[ 11.164] compiled for 1.19.6, module version = 1.19.6
[ 11.164] Module class: X.Org Video Driver
[ 11.164] ABI class: X.Org Video Driver, version 23.0
[ 11.164] (II) LoadModule: "fbdev"
[ 11.164] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 11.165] (II) Module fbdev: vendor="X.Org Foundation"
[ 11.165] compiled for 1.19.3, module version = 0.4.4
[ 11.165] Module class: X.Org Video Driver
[ 11.165] ABI class: X.Org Video Driver, version 23.0
[ 11.165] (II) LoadModule: "vesa"
[ 11.165] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 11.166] (II) Module vesa: vendor="X.Org Foundation"
[ 11.166] compiled for 1.19.3, module version = 2.3.4
[ 11.166] Module class: X.Org Video Driver
[ 11.166] ABI class: X.Org Video Driver, version 23.0
[ 11.166] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 11.166] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
ATI Radeon 9800PRO, ATI Radeon 9800XT,
ATI Radeon Mobility 9600/9700 (M10/M11),
ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
ATI Radeon X1800, ATI Mobility Radeon X1800 XT,
ATI Mobility Radeon X1800, ATI Mobility FireGL V7200,
ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100,
ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit,
ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
ATI FireGL V3350, ATI Mobility Radeon X1450,
ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro,
ATI FireGL V3400, ATI Mobility FireGL V5250,
ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT,
ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300,
ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro,
ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600,
ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL),
ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610,
ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series,
ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
ATI FireGL V3600, ATI Radeon HD 2600 LE,
ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700,
ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics,
AMD Radeon HD 6300 Series Graphics,
AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
AMD Firestream 9350, ATI Radeon HD 5800 Series,
ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
MULLINS, KAVERI, HAWAII
[ 11.167] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 11.167] (II) FBDEV: driver for framebuffer: fbdev
[ 11.167] (II) VESA: driver for VESA chipsets: vesa
[ 11.167] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[ 11.194] (WW) Falling back to old probe method for modesetting
[ 11.194] (WW) Falling back to old probe method for fbdev
[ 11.194] (II) Loading sub module "fbdevhw"
[ 11.194] (II) LoadModule: "fbdevhw"
[ 11.197] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 11.198] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 11.198] compiled for 1.19.6, module version = 0.0.2
[ 11.198] ABI class: X.Org Video Driver, version 23.0
[ 11.198] (WW) Falling back to old probe method for vesa
[ 11.198] (II) AMDGPU(0): AMDGPU DDX hybrid version: 18.30.2.15
[ 11.198] (II) AMDGPU(0): AMDGPU kernel module hybrid version: 18.30.2.15
[ 11.198] (II) AMDGPU(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 11.198] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[ 11.198] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 11.198] (==) AMDGPU(0): Default visual is TrueColor
[ 11.198] (==) AMDGPU(0): RGB weight 888
[ 11.198] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[ 11.198] (--) AMDGPU(0): Chipset: "AMD Radeon (TM) RX 470 Graphics" (ChipID = 0x67df)
[ 11.198] (II) Loading sub module "fb"
[ 11.198] (II) LoadModule: "fb"
[ 11.198] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 11.202] (II) Module fb: vendor="X.Org Foundation"
[ 11.202] compiled for 1.19.6, module version = 1.0.0
[ 11.202] ABI class: X.Org ANSI C Emulation, version 0.4
[ 11.202] (II) Loading sub module "dri2"
[ 11.202] (II) LoadModule: "dri2"
[ 11.202] (II) Module "dri2" already built-in
[ 11.208] (II) Loading sub module "glamoregl"
[ 11.208] (II) LoadModule: "glamoregl"
[ 11.208] (II) Loading /opt/amdgpu/lib/xorg/modules/libglamoregl.so
[ 11.217] (II) Module glamoregl: vendor="X.Org Foundation"
[ 11.217] compiled for 1.19.6, module version = 1.0.0
[ 11.217] ABI class: X.Org ANSI C Emulation, version 0.4
[ 11.217] (II) glamor: OpenGL accelerated X.org driver based.
[ 11.500] (II) glamor: EGL version 1.4:
[ 11.542] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[ 11.542] (==) AMDGPU(0): TearFree property default: auto
[ 11.542] (II) AMDGPU(0): KMS Pageflipping: enabled
[ 11.559] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[ 11.560] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[ 11.561] (II) AMDGPU(0): Output DVI-D-0 has no monitor section
[ 11.563] (II) AMDGPU(0): Output DVI-D-1 has no monitor section
[ 11.583] (II) AMDGPU(0): EDID for output DisplayPort-0
[ 11.583] (II) AMDGPU(0): Manufacturer: GSM Model: 5b09 Serial#: 278441
[ 11.583] (II) AMDGPU(0): Year: 2018 Week: 2
[ 11.583] (II) AMDGPU(0): EDID Version: 1.4
[ 11.583] (II) AMDGPU(0): Digital Display Input
[ 11.583] (II) AMDGPU(0): 10 bits per channel
[ 11.583] (II) AMDGPU(0): Digital interface is DisplayPort
[ 11.583] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 60 vert.: 34
[ 11.583] (II) AMDGPU(0): Gamma: 2.20
[ 11.583] (II) AMDGPU(0): DPMS capabilities: StandBy
[ 11.583] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 YCrCb 4:2:2
[ 11.583] (II) AMDGPU(0): Default color space is primary color space
[ 11.583] (II) AMDGPU(0): First detailed timing is preferred mode
[ 11.583] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[ 11.583] (II) AMDGPU(0): Display is continuous-frequency
[ 11.583] (II) AMDGPU(0): redX: 0.652 redY: 0.335 greenX: 0.305 greenY: 0.637
[ 11.583] (II) AMDGPU(0): blueX: 0.148 blueY: 0.062 whiteX: 0.313 whiteY: 0.329
[ 11.583] (II) AMDGPU(0): Supported established timings:
[ 11.583] (II) AMDGPU(0): 640x480@60Hz
[ 11.583] (II) AMDGPU(0): 800x600@60Hz
[ 11.583] (II) AMDGPU(0): 1024x768@60Hz
[ 11.583] (II) AMDGPU(0): Manufacturer's mask: 0
[ 11.583] (II) AMDGPU(0): Supported standard timings:
[ 11.583] (II) AMDGPU(0): #0: hsize: 1152 vsize 864 refresh: 60 vid: 16497
[ 11.583] (II) AMDGPU(0): #1: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
[ 11.583] (II) AMDGPU(0): #2: hsize: 1280 vsize 720 refresh: 60 vid: 49281
[ 11.583] (II) AMDGPU(0): #3: hsize: 1600 vsize 900 refresh: 60 vid: 49321
[ 11.583] (II) AMDGPU(0): #4: hsize: 1920 vsize 1080 refresh: 60 vid: 49361
[ 11.583] (II) AMDGPU(0): #5: hsize: 1280 vsize 800 refresh: 60 vid: 129
[ 11.583] (II) AMDGPU(0): Supported detailed timing:
[ 11.583] (II) AMDGPU(0): clock: 533.2 MHz Image Size: 600 x 340 mm
[ 11.583] (II) AMDGPU(0): h_active: 3840 h_sync: 3888 h_sync_end 3920 h_blank_end 4000 h_border: 0
[ 11.583] (II) AMDGPU(0): v_active: 2160 v_sync: 2214 v_sync_end 2219 v_blanking: 2222 v_border: 0
[ 11.583] (II) AMDGPU(0): Supported detailed timing:
[ 11.583] (II) AMDGPU(0): clock: 266.6 MHz Image Size: 600 x 340 mm
[ 11.583] (II) AMDGPU(0): h_active: 3840 h_sync: 3848 h_sync_end 3992 h_blank_end 4000 h_border: 0
[ 11.583] (II) AMDGPU(0): v_active: 2160 v_sync: 2214 v_sync_end 2219 v_blanking: 2222 v_border: 0
[ 11.583] (II) AMDGPU(0): Ranges: V min: 40 V max: 61 Hz, H min: 135 H max: 135 kHz, PixClock max 565 MHz
[ 11.583] (II) AMDGPU(0): Monitor name: LG Ultra HD
[ 11.583] (II) AMDGPU(0): Supported detailed timing:
[ 11.583] (II) AMDGPU(0): clock: 148.5 MHz Image Size: 600 x 340 mm
[ 11.583] (II) AMDGPU(0): h_active: 1920 h_sync: 2008 h_sync_end 2052 h_blank_end 2200 h_border: 0
[ 11.583] (II) AMDGPU(0): v_active: 1080 v_sync: 1084 v_sync_end 1089 v_blanking: 1125 v_border: 0
[ 11.583] (II) AMDGPU(0): Supported detailed timing:
[ 11.583] (II) AMDGPU(0): clock: 241.5 MHz Image Size: 600 x 340 mm
[ 11.583] (II) AMDGPU(0): h_active: 2560 h_sync: 2608 h_sync_end 2640 h_blank_end 2720 h_border: 0
[ 11.583] (II) AMDGPU(0): v_active: 1440 v_sync: 1443 v_sync_end 1448 v_blanking: 1481 v_border: 0
[ 11.583] (II) AMDGPU(0): Number of EDID sections to follow: 1
[ 11.583] (II) AMDGPU(0): EDID (in hex):
[ 11.583] (II) AMDGPU(0): 00ffffffffffff001e6d095ba93f0400
[ 11.583] (II) AMDGPU(0): 021c0104b53c22789f3035a7554ea326
[ 11.583] (II) AMDGPU(0): 0f50542108007140818081c0a9c0d1c0
[ 11.583] (II) AMDGPU(0): 8100010101014dd000a0f0703e803020
[ 11.583] (II) AMDGPU(0): 650c58542100001a286800a0f0703e80
[ 11.583] (II) AMDGPU(0): 0890650c58542100001a000000fd0028
[ 11.583] (II) AMDGPU(0): 3d878738010a202020202020000000fc
[ 11.583] (II) AMDGPU(0): 004c4720556c7472612048440a200156
[ 11.583] (II) AMDGPU(0): 02031171449004030123090707830100
[ 11.583] (II) AMDGPU(0): 00023a801871382d40582c4500585421
[ 11.583] (II) AMDGPU(0): 00001e565e00a0a0a029503020350058
[ 11.583] (II) AMDGPU(0): 542100001a0000000000000000000000
[ 11.583] (II) AMDGPU(0): 00000000000000000000000000000000
[ 11.583] (II) AMDGPU(0): 00000000000000000000000000000000
[ 11.583] (II) AMDGPU(0): 00000000000000000000000000000000
[ 11.583] (II) AMDGPU(0): 000000000000000000000000000000c8
[ 11.583] (II) AMDGPU(0): Printing probed modes for output DisplayPort-0
[ 11.583] (II) AMDGPU(0): Modeline "3840x2160"x60.0 533.25 3840 3888 3920 4000 2160 2214 2219 2222 +hsync -vsync (133.3 kHz eP)
[ 11.583] (II) AMDGPU(0): Modeline "3840x2160"x30.0 266.64 3840 3848 3992 4000 2160 2214 2219 2222 +hsync -vsync (66.7 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "2560x1440"x60.0 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync (88.8 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "1920x1080"x59.9 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "1600x900"x60.0 108.00 1600 1624 1704 1800 900 901 904 1000 +hsync +vsync (60.0 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync (49.7 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "1152x864"x60.0 81.77 1152 1216 1336 1520 864 867 871 897 -hsync +vsync (53.8 kHz)
[ 11.583] (II) AMDGPU(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "1280x720"x59.9 74.18 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "720x480"x60.0 27.03 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "720x480"x59.9 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 11.583] (II) AMDGPU(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 11.585] (II) AMDGPU(0): EDID for output HDMI-A-0
[ 11.586] (II) AMDGPU(0): EDID for output DVI-D-0
[ 11.587] (II) AMDGPU(0): EDID for output DVI-D-1
[ 11.587] (II) AMDGPU(0): Output DisplayPort-0 connected
[ 11.587] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[ 11.587] (II) AMDGPU(0): Output DVI-D-0 disconnected
[ 11.587] (II) AMDGPU(0): Output DVI-D-1 disconnected
[ 11.587] (II) AMDGPU(0): Using exact sizes for initial modes
[ 11.587] (II) AMDGPU(0): Output DisplayPort-0 using initial mode 3840x2160 +0+0
[ 11.587] (II) AMDGPU(0): mem size init: gart size :3eb076000 vram size: s:fdb34000 visible:be467000
[ 11.587] (II) AMDGPU(0): Video RAM: 4156624 kByte
[ 11.587] (==) AMDGPU(0): DPI set to (96, 96)
[ 11.587] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[ 11.587] (II) Loading sub module "ramdac"
[ 11.587] (II) LoadModule: "ramdac"
[ 11.587] (II) Module "ramdac" already built-in
[ 11.587] (II) UnloadModule: "radeon"
[ 11.587] (II) Unloading radeon
[ 11.587] (II) UnloadModule: "modesetting"
[ 11.587] (II) Unloading modesetting
[ 11.587] (II) UnloadModule: "fbdev"
[ 11.587] (II) Unloading fbdev
[ 11.587] (II) UnloadSubModule: "fbdevhw"
[ 11.587] (II) Unloading fbdevhw
[ 11.587] (II) UnloadModule: "vesa"
[ 11.587] (II) Unloading vesa
[ 11.587] (--) Depth 24 pixmap format is 32 bpp
[ 11.588] (II) AMDGPU(0): [DRI2] Setup complete
[ 11.588] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi
[ 11.588] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi
[ 11.588] (II) AMDGPU(0): Front buffer pitch: 15360 bytes
[ 11.589] (II) AMDGPU(0): SYNC extension fences enabled
[ 11.590] (II) AMDGPU(0): Present extension enabled
[ 11.590] (==) AMDGPU(0): DRI3 enabled
[ 11.590] (==) AMDGPU(0): Backing store enabled
[ 11.590] (II) AMDGPU(0): Direct rendering enabled
[ 11.666] (II) AMDGPU(0): Use GLAMOR acceleration.
[ 11.666] (II) AMDGPU(0): Acceleration enabled
[ 11.666] (==) AMDGPU(0): DPMS enabled
[ 11.666] (==) AMDGPU(0): Silken mouse enabled
[ 11.666] (II) AMDGPU(0): Set up textured video (glamor)
[ 11.666] (II) AMDGPU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 11.704] (--) RandR disabled
[ 11.707] (II) SELinux: Disabled on system
[ 11.717] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 11.717] (II) AIGLX: enabled GLX_ARB_create_context
[ 11.717] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 11.717] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[ 11.717] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 11.717] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 11.717] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 11.717] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 11.717] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 11.718] (II) AIGLX: Loaded and initialized radeonsi
[ 11.718] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 11.720] (II) AMDGPU(0): Setting screen physical size to 1016 x 571
[ 11.816] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 11.817] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 11.817] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 11.817] (II) LoadModule: "libinput"
[ 11.817] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 11.823] (II) Module libinput: vendor="X.Org Foundation"
[ 11.823] compiled for 1.19.6, module version = 0.27.1
[ 11.823] Module class: X.Org XInput Driver
[ 11.823] ABI class: X.Org XInput driver, version 24.1
[ 11.823] (II) Using input driver 'libinput' for 'Power Button'
[ 11.823] (**) Power Button: always reports core events
[ 11.823] (**) Option "Device" "/dev/input/event1"
[ 11.823] (**) Option "_source" "server/udev"
[ 11.824] (II) event1 - Power Button: is tagged by udev as: Keyboard

erythros
Blank Cone
Blank Cone
Posts: 19
Joined: 14 Nov 2007 14:16
VLC version: 3.0.4
Operating System: Linux
Contact:

Re: VLC v4 vs. v3, snap vs. native

Postby erythros » 04 Oct 2018 14:42

John,

I concur. It seems to be a Linux drive issue.

Based on that log output, I suggest you convert your 10-radeon.conf to 10-amdgpu.conf and modify:

Code: Select all

Driver "radeon"
to read:

Code: Select all

Driver "amdgpu"

I say this because I see:

Code: Select all

[ 10.992] (II) LoadModule: "amdgpu" ... [ 11.153] (II) LoadModule: "radeon" ... [ 11.587] (II) UnloadModule: "radeon"
The amdgpu module remains loaded.

Make sure you also execute a full reboot after making changes.

Also, post the debug log from VLC. Hopefully it will contain information that will point to a solution for your issues.

erythros
Blank Cone
Blank Cone
Posts: 19
Joined: 14 Nov 2007 14:16
VLC version: 3.0.4
Operating System: Linux
Contact:

Re: VLC v4 vs. v3, snap vs. native

Postby erythros » 04 Oct 2018 14:49

Concerning the issue with snap permissions, contact the repo maintainer and report the error to them. The problem lies with how they packaged the application, not with VLC itself.

johnzbesko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Oct 2018 05:01

Re: VLC v4 vs. v3, snap vs. native

Postby johnzbesko » 05 Oct 2018 01:41

Turns out I had three files:

00-amdgpu.conf
10-amdgpu.conf
10-radeon.conf

I removed both 10- files and modified the 00- with the options. Some improvement.

The output below is what happens when I try to play video from the command line.

cvlc BBC.The.Sky.at.Night.2018.Expedition.Asteroid.1080p.HDTV.x264.AAC.MVGroup.org.mkv
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0~rc1~~git20181003+r77864+162~ubuntu18.04.1)
Segmentation fault (core dumped)

Again, thanks for the help. I also notice a difference depending on the quality of the video file being played.

johnzbesko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Oct 2018 05:01

Re: VLC v4 vs. v3, snap vs. native

Postby johnzbesko » 05 Oct 2018 04:46

Just updated to the latest vlc 4 build. Am able to play video, only when I navigate to the (on mounted drive) video file itself. Still jerky in full screen, but, hey, some progress.

vlc file manager still not able to recognize any NTFS formatted volumes, however.

erythros
Blank Cone
Blank Cone
Posts: 19
Joined: 14 Nov 2007 14:16
VLC version: 3.0.4
Operating System: Linux
Contact:

Re: VLC v4 vs. v3, snap vs. native

Postby erythros » 05 Oct 2018 15:44

Due to the current development of VLC 4.x I suggest staying with VLC 3.x, and due to snap acting strange I suggest staying with the .deb installation...

What does your VLC 3.x debug log display when you attempt to play videos at full resolution (3840x2160)? I'd be interested to see if VLC is dropping frames due to an issue...

You also stated that you notice a difference depending on the quality of the video. What seems to be the defining factor?
video codec? ie: x264, x265, etc...
video resolution? ie 1920x1080, 1280x720, 720x480, etc...
output resolution?
video bitrate?
other?

Also, it might be a good idea to run either System Monitor, KSysGuard, or HTop and see what happens while you attempt to run a video at full resolution.

johnzbesko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Oct 2018 05:01

Re: VLC v4 vs. v3, snap vs. native

Postby johnzbesko » 06 Oct 2018 02:10

When running the snap vlc 3, the log file shows:

-- logger module started --
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main: playlist is empty
glconv_vaapi_x11 error: vaInitialize: unknown libva error
glconv_vaapi_drm error: vaInitialize: unknown libva error
glconv_vaapi_drm error: vaInitialize: unknown libva error
gl error: shaders not supported, bailing out

main error: Failed to create video converter
avcodec: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)
main error: blending YUVA to VDV0 failed
main error: Failed to create video converter
blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)
main error: blending YUVA to VDV0 failed
...
main error: blend-- logger module started --
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main: playlist is empty
glconv_vaapi_x11 error: vaInitialize: unknown libva error
glconv_vaapi_drm error: vaInitialize: unknown libva error
glconv_vaapi_drm error: vaInitialize: unknown libva error
gl error: shaders not supported, bailing out

main error: Failed to create video converter
avcodec: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)
main error: blending YUVA to VDV0 failed
main error: Failed to create video converter
...
main error: blending YUVA to VDV0 failed
blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)
main error: blending YUVA to VDV0 failed
avcodec error: hardware acceleration picture allocation failed
-- logger module stopped --



Not quite sure how to uninstall the snap vlc3 and vlc4 cleanly and then install deb vlc3.

erythros
Blank Cone
Blank Cone
Posts: 19
Joined: 14 Nov 2007 14:16
VLC version: 3.0.4
Operating System: Linux
Contact:

Re: VLC v4 vs. v3, snap vs. native

Postby erythros » 06 Oct 2018 04:54

I'm not sure how you captured that output. Take a look at this. Specifically, "The simple way", and set your log level to 'debug' to ensure you are capturing everything.

However, based on what you are showing, it still looks like a driver issue. Perhaps a VDPAU issue.

Run the following command:

Code: Select all

grep -iE 'vdpau|dri driver' /var/log/Xorg.0.log

For my computer I get:

Code: Select all

[ 3.247] (II) intel(0): [DRI2] DRI driver: i965 [ 3.247] (II) intel(0): [DRI2] VDPAU driver: va_gl

You can try setting the VDPAU environment variable.
For me, I would run the following command:

Code: Select all

export VDPAU_DRIVER=va_gl

After you set the variable, try running VLC and play the video and see what happens.

To remove the snap version of VLC run:

Code: Select all

sudo snap remove vlc

As for VLC 4.x, I have no idea how you installed it.

johnzbesko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Oct 2018 05:01

Re: VLC v4 vs. v3, snap vs. native

Postby johnzbesko » 06 Oct 2018 05:22

$ grep -iE 'vdpau|dri driver' /var/log/Xorg.0.log
[ 12.204] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi
[ 12.204] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi

The latest vlc 4 regresses- crashes instead of playing file.

export VDPAU_DRIVER=va_gl

didn't help either. I'll try removing snap vlc3 and deb vlc4.

erythros
Blank Cone
Blank Cone
Posts: 19
Joined: 14 Nov 2007 14:16
VLC version: 3.0.4
Operating System: Linux
Contact:

Re: VLC v4 vs. v3, snap vs. native

Postby erythros » 06 Oct 2018 14:51

For you the command would be:

Code: Select all

export VDPAU_DRIVER=radeonsi

johnzbesko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Oct 2018 05:01

Re: VLC v4 vs. v3, snap vs. native

Postby johnzbesko » 07 Oct 2018 04:50

Still crashes Updated today. Still crashes. Oh well.

erythros
Blank Cone
Blank Cone
Posts: 19
Joined: 14 Nov 2007 14:16
VLC version: 3.0.4
Operating System: Linux
Contact:

Re: VLC v4 vs. v3, snap vs. native

Postby erythros » 07 Oct 2018 05:45

Use that command when using VLC 3.x

johnzbesko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Oct 2018 05:01

Re: VLC v4 vs. v3, snap vs. native

Postby johnzbesko » 18 Oct 2018 04:39

OK, I removed the snap version of vlc3 and uninstalled the vlc4, removed the vlc4 repositories, and installed vlc3 from ubuntu.

Same problem- vlc crashes when selecting a video file. Got some info from my syslog file (when I ran 'cvlc filename'):



Oct 17 21:31:22 ZAmd64 vlc[16375]: looking for opengl module matching "any": 3 candidates
Oct 17 21:31:22 ZAmd64 vlc[16375]: cannot load module `/usr/lib/x86_64-linux-gnu/vlc/plugins/video_output/libegl_wl_plugin.so' (/opt/amdgpu-pro/lib/x86_64-linux-gnu/libEGL.so.1: undefined symbol: XFree)
Oct 17 21:31:22 ZAmd64 vlc[16375]: unhandled event 19
Oct 17 21:31:22 ZAmd64 vlc[16375]: resized to 1920x1080
Oct 17 21:31:22 ZAmd64 vlc[16375]: VoutDisplayEvent 'resize' 1920x1080
Oct 17 21:31:22 ZAmd64 vlc[16375]: resized to 1920x1080
Oct 17 21:31:22 ZAmd64 vlc[16375]: VoutDisplayEvent 'resize' 1920x1080
Oct 17 21:31:22 ZAmd64 vlc[16375]: EGL version 1.4 by Advanced Micro Devices, Inc.
Oct 17 21:31:22 ZAmd64 vlc[16375]: extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_MESA_drm_image EGL_KHR_gl_renderbuffer_image EGL_KHR_surfaceless_context EGL_KHR_surfaceless_opengl EGL_EXT_image_dma_buf_import EGL_EXT_create_context_robustness EGL_MESA_configless_context EGL_EXT_platform_base EGL_EXT_platform_gbm EGL_MESA_platform_gbm EGL_EXT_platform_x11 EGL_EXT_platform_wayland EGL_WL_bind_wayland_display
Oct 17 21:31:22 ZAmd64 vlc[16375]: cannot select OpenGL API
Oct 17 21:31:22 ZAmd64 vlc[16375]: using GLX extension version 1.4
Oct 17 21:31:22 ZAmd64 kernel: [137934.264712] vlc[16391]: segfault at 968 ip 00007f1b372176ad sp 00007f1b1dd5bc70 error 4 in libX11.so.6.3.0[7f1b371e3000+133000]


Hope this helps. The 'libegl_wl_plugin.so" does exist in this subdirectory. So does libEGL.so.1 in /opt.

johnzbesko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Oct 2018 05:01

Re: VLC v4 vs. v3, snap vs. native

Postby johnzbesko » 18 Oct 2018 04:43

I also had run beforehand in a bash shell:

johnz@ZAmd64:~$ export VDPAU_DRIVER=radeonsi

thresh
Site Administrator
Site Administrator
Posts: 92
Joined: 22 Mar 2006 11:28
VLC version: git master
Operating System: Linux
Location: Korolev, Russian Federation

Re: VLC v4 vs. v3, snap vs. native

Postby thresh » 24 Oct 2018 15:00

not really related, but make sure your mounted drives are under /media - snap environment restricts access to anything else for removable media.

sadly I don't have access to radeon hardware nor much experience with it, so cant really help with the bugs there :(
Konstantin Pavlov

johnzbesko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Oct 2018 05:01

Re: VLC v4 vs. v3, snap vs. native

Postby johnzbesko » 25 Oct 2018 01:59

Some new info. I updated the AMD Radeon driver and all Ubuntu packages. Tried again with the vlc 3.0.3 Vetinari to play a video.

From my syslog:

Oct 24 18:38:37 ZAmd64 vlc[11488]: looking for opengl module matching "any": 3 candidates
Oct 24 18:38:37 ZAmd64 vlc[11488]: Getting property Position
Oct 24 18:38:37 ZAmd64 vlc[11488]: Logical video size: 1280x720
Oct 24 18:38:37 ZAmd64 kernel: [84437.001400] vlc[11512]: segfault at 31 ip 00007f5df12d6124 sp 00007f5dcc14f650 error 4 in amdgpu_dri.so[7f5df029b000+221c000]

So, I set my monitor display to 1280x720 and tried again to play a video. It worked!

Next, with my native 3840x2160 resolution, I tried to play a 4K video file:

Oct 24 18:52:36 ZAmd64 vlc[12266]: Opening vout display wrapper
Oct 24 18:52:36 ZAmd64 vlc[12266]: looking for vout display module matching "any": 14 candidates
Oct 24 18:52:36 ZAmd64 vlc[12266]: resized to 3840x2160
Oct 24 18:52:36 ZAmd64 vlc[12266]: VoutDisplayEvent 'resize' 3840x2160
Oct 24 18:52:36 ZAmd64 vlc[12266]: looking for opengl module matching "any": 3 candidates
Oct 24 18:52:36 ZAmd64 kernel: [85276.582979] vlc[12311]: segfault at 38 ip 00007fa4b6caa124 sp 00007fa494113650 error 4 in amdgpu_dri.so[7fa4b5c6f000+221c000]


Hope this helps!

erythros
Blank Cone
Blank Cone
Posts: 19
Joined: 14 Nov 2007 14:16
VLC version: 3.0.4
Operating System: Linux
Contact:

Re: VLC v4 vs. v3, snap vs. native

Postby erythros » 25 Oct 2018 14:08

After some more research, I have the following question:
What AMD driver are you using?

From what I found, there is a known issue with the AMDGPU-PRO driver.
It seems the non-PRO driver works with the resolution you are attempting.

However, it seems to be a driver issue and not a vlc issue.
Try these instructions and see if it helps you with the driver issue.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 23 guests