Re: Not sure where to report this issue...

2017-01-31 Thread Elimar Riesebieter
* Robin Cook  [2017-01-31 08:12 -0600]:

[...] 

> Error messages from Xorg.0.log
> 
> [   877.670] (EE) RADEON(0): drmmode_do_crtc_dpms cannot get last vblank 
> counter

Feed your search engine with
"drmmode_do_crtc_dpms cannot get last vblank counter"

Elimar
-- 
  You cannot propel yourself forward by
  patting yourself on the back.



Re: Not sure where to report this issue...

2017-01-31 Thread deloptes
Robin Cook wrote:

> I am running debian sid

this precisely why I don't use SID



Not sure where to report this issue...

2017-01-31 Thread Robin Cook
I am running debian sid and currently all video players the video freezes when 
I try to play a video.   Also the KDE desktop will freeze until I change to one 
of the virtual terminals with CTRL-ALT-F? and then back to KDE desktop with 
ALT-F7.  It will then work for a bit then freeze again.

mpv - freezes, both audio and video stop.
mplayer - freezes, video stops, audio continues.
xine - freezes, video stops, audio continues.

I have to use the kill command on them to close them.

On mpv if I use -vo= xv or x11 it will work all others (vdpau, opengl, sdl, 
vaapi) freeze except for drm which gets the below error

[vo/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/drm] Cannot set CRTC: Permission denied
Error opening/initializing the selected video_out (--vo) device.

---

lspci -nn | grep VGA
08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] RV770 [Radeon HD 4870] [1002:9440]

---

xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink 
Offload crtcs: 2 outputs: 3 associated providers: 0 name:ATI Radeon 4800 Series 
@ pci::08:00.0

---

xrandr --setprovideroffloadsink radeon Intel
Could not find provider with name radeon

---

DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Gallium 0.4 on AMD RV770 (DRM 2.48.0 / 4.9.0-1-amd64, 
LLVM 3.9.1)

---

From /var/log/dmesg

[   12.804277] [drm] radeon kernel modesetting enabled.
[   12.859566] [drm] initializing kernel modesetting (RV770 0x1002:0x9440 
0x1043:0x0388).
[   12.859595] [drm] register mmio base: 0xFE9E
[   12.859600] [drm] register mmio size: 65536
[   12.860436] ATOM BIOS: 9440.11.17.0.18.AS01
[   12.860492] radeon :08:00.0: VRAM: 1024M 0x - 
0x3FFF (1024M used)
[   12.860499] radeon :08:00.0: GTT: 1024M 0x4000 - 
0x7FFF
[   12.860503] [drm] Detected VRAM RAM=1024M, BAR=256M
[   12.860507] [drm] RAM width 256bits DDR
[   12.860688] [TTM] Zone  kernel: Available graphics memory: 4097956 kiB
[   12.860692] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[   12.860695] [TTM] Initializing pool allocator
[   12.860707] [TTM] Initializing DMA pool allocator
[   12.860748] [drm] radeon: 1024M of VRAM memory ready
[   12.860752] [drm] radeon: 1024M of GTT memory ready.
[   12.860775] [drm] Loading RV770 Microcode
[   12.951699] radeon :08:00.0: firmware: direct-loading firmware 
radeon/RV770_pfp.bin
[   12.986773] radeon :08:00.0: firmware: direct-loading firmware 
radeon/RV770_me.bin
[   13.003314] radeon :08:00.0: firmware: direct-loading firmware 
radeon/R700_rlc.bin
[   13.080896] radeon :08:00.0: firmware: direct-loading firmware 
radeon/RV770_smc.bin
[   13.080912] [drm] Internal thermal controller with fan control
[   13.081034] [drm] radeon: power management initialized
[   13.081047] [drm] GART: num cpu pages 262144, num gpu pages 262144
[   13.084763] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
[   13.088409] [drm] PCIE GART of 1024M enabled (table at 0x0004).
[   13.088434] radeon :08:00.0: WB enabled
[   13.088436] radeon :08:00.0: fence driver on ring 0 use gpu addr 
0x4c00 and cpu addr 0x88022bd43c00
[   13.088438] radeon :08:00.0: fence driver on ring 3 use gpu addr 
0x4c0c and cpu addr 0x88022bd43c0c
[   13.088440] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   13.088440] [drm] Driver supports precise vblank timestamp query.
[   13.088459] radeon :08:00.0: irq 90 for MSI/MSI-X
[   13.088467] radeon :08:00.0: radeon: using MSI.
[   13.088487] [drm] radeon: irq initialized.
[   13.134370] [drm] ring test on 0 succeeded in 1 usecs
[   13.134436] [drm] ring test on 3 succeeded in 1 usecs
[   13.134763] [drm] ib test on ring 0 succeeded in 0 usecs
[   13.134786] [drm] ib test on ring 3 succeeded in 0 usecs
[   13.135401] [drm] Radeon Display Connectors
[   13.135405] [drm] Connector 0:
[   13.135409] [drm]   VGA-1
[   13.135412] [drm]   DDC: no ddc bus - possible BIOS bug - please report to 
xorg-driver-...@lists.x.org
[   13.135414] [drm]   Encoders:
[   13.135417] [drm] CRT2: INTERNAL_KLDSCP_DAC2
[   13.135420] [drm] Connector 1:
[   13.135423] [drm]   HDMI-A-1
[   13.135426] [drm]   HPD1
[   13.135431] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 
0x7e6c
[   13.135433] [drm]   Encoders:
[   13.135436] [drm] DFP1: INTERNAL_UNIPHY
[   13.135439] [drm] Connector 2:
[   13.135441] [drm]   DVI-I-1
[   13.135444] [drm]   HPD2
[   13.135449] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 
0x7e2c
[   13.135451] [drm]   Encoders:
[   13.135454] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[   13.135457] [drm] DFP2: INTERNAL_KLDSCP_LVTMA
[   13.182521] [drm] fb mappable at 0xD0241000
[   13.182529] [drm] vra

Not sure where to report this issue...

2017-01-30 Thread Robin Cook
I am running debian sid and currently all video players the video freezes when 
I try to play a video.   Also the KDE desktop will freeze until I change to one 
of the virtual terminals with CTRL-ALT-F? and then back to KDE desktop with 
ALT-F7.  It will then work for a bit then freeze again.

mpv - freezes, both audio and video stop.
mplayer - freezes, video stops, audio continues.
xine - freezes, video stops, audio continues.

I have to use the kill command on them to close them.

On mpv if I use -vo= xv or x11 it will work all others (vdpau, opengl, sdl, 
vaapi) freeze except for drm which gets the below error

[vo/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/drm] Cannot set CRTC: Permission denied
Error opening/initializing the selected video_out (--vo) device.

---

lspci -nn | grep VGA
08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] RV770 [Radeon HD 4870] [1002:9440]

---

xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink 
Offload crtcs: 2 outputs: 3 associated providers: 0 name:ATI Radeon 4800 Series 
@ pci::08:00.0

---

xrandr --setprovideroffloadsink radeon Intel
Could not find provider with name radeon

---

DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Gallium 0.4 on AMD RV770 (DRM 2.48.0 / 4.9.0-1-amd64, 
LLVM 3.9.1)

---

From /var/log/dmesg

[   12.804277] [drm] radeon kernel modesetting enabled.
[   12.859566] [drm] initializing kernel modesetting (RV770 0x1002:0x9440 
0x1043:0x0388).
[   12.859595] [drm] register mmio base: 0xFE9E
[   12.859600] [drm] register mmio size: 65536
[   12.860436] ATOM BIOS: 9440.11.17.0.18.AS01
[   12.860492] radeon :08:00.0: VRAM: 1024M 0x - 
0x3FFF (1024M used)
[   12.860499] radeon :08:00.0: GTT: 1024M 0x4000 - 
0x7FFF
[   12.860503] [drm] Detected VRAM RAM=1024M, BAR=256M
[   12.860507] [drm] RAM width 256bits DDR
[   12.860688] [TTM] Zone  kernel: Available graphics memory: 4097956 kiB
[   12.860692] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[   12.860695] [TTM] Initializing pool allocator
[   12.860707] [TTM] Initializing DMA pool allocator
[   12.860748] [drm] radeon: 1024M of VRAM memory ready
[   12.860752] [drm] radeon: 1024M of GTT memory ready.
[   12.860775] [drm] Loading RV770 Microcode
[   12.951699] radeon :08:00.0: firmware: direct-loading firmware 
radeon/RV770_pfp.bin
[   12.986773] radeon :08:00.0: firmware: direct-loading firmware 
radeon/RV770_me.bin
[   13.003314] radeon :08:00.0: firmware: direct-loading firmware 
radeon/R700_rlc.bin
[   13.080896] radeon :08:00.0: firmware: direct-loading firmware 
radeon/RV770_smc.bin
[   13.080912] [drm] Internal thermal controller with fan control
[   13.081034] [drm] radeon: power management initialized
[   13.081047] [drm] GART: num cpu pages 262144, num gpu pages 262144
[   13.084763] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
[   13.088409] [drm] PCIE GART of 1024M enabled (table at 0x0004).
[   13.088434] radeon :08:00.0: WB enabled
[   13.088436] radeon :08:00.0: fence driver on ring 0 use gpu addr 
0x4c00 and cpu addr 0x88022bd43c00
[   13.088438] radeon :08:00.0: fence driver on ring 3 use gpu addr 
0x4c0c and cpu addr 0x88022bd43c0c
[   13.088440] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   13.088440] [drm] Driver supports precise vblank timestamp query.
[   13.088459] radeon :08:00.0: irq 90 for MSI/MSI-X
[   13.088467] radeon :08:00.0: radeon: using MSI.
[   13.088487] [drm] radeon: irq initialized.
[   13.134370] [drm] ring test on 0 succeeded in 1 usecs
[   13.134436] [drm] ring test on 3 succeeded in 1 usecs
[   13.134763] [drm] ib test on ring 0 succeeded in 0 usecs
[   13.134786] [drm] ib test on ring 3 succeeded in 0 usecs
[   13.135401] [drm] Radeon Display Connectors
[   13.135405] [drm] Connector 0:
[   13.135409] [drm]   VGA-1
[   13.135412] [drm]   DDC: no ddc bus - possible BIOS bug - please report to 
xorg-driver-...@lists.x.org
[   13.135414] [drm]   Encoders:
[   13.135417] [drm] CRT2: INTERNAL_KLDSCP_DAC2
[   13.135420] [drm] Connector 1:
[   13.135423] [drm]   HDMI-A-1
[   13.135426] [drm]   HPD1
[   13.135431] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 
0x7e6c
[   13.135433] [drm]   Encoders:
[   13.135436] [drm] DFP1: INTERNAL_UNIPHY
[   13.135439] [drm] Connector 2:
[   13.135441] [drm]   DVI-I-1
[   13.135444] [drm]   HPD2
[   13.135449] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 
0x7e2c
[   13.135451] [drm]   Encoders:
[   13.135454] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[   13.135457] [drm] DFP2: INTERNAL_KLDSCP_LVTMA
[   13.182521] [drm] fb mappable at 0xD0241000
[   13.182529] [drm] vra