You are not logged in.

#1 2024-05-17 06:31:04

j@s0n
Member
Registered: 2020-08-15
Posts: 58

Display turns white with full screen video

When I try to run a full screen video in mpv, YouTube, or other streaming service, the screen turns white, sometimes with black flashing around the edges. If I make the video nearly full screen, it's fine. It only happens on full screen. It happens after a few hours of use, but if I reboot, it's fine again. I've tried closing X and restarting, but the problem remains, so I suspect it's kernel related.
I have an AMD Ryzen 5 7640U w/ Radeon 760M Graphics.

libva-mesa-driver 1:24.0.7-3
libva-utils 2.21.0-1
libva-vdpau-driver 0.7.4-6
libvdpau-va-gl 0.4.2-3
linux 6.8.9.arch1-2
linux-firmware 20240409.1addd7dc-1
mesa-vdpau 1:24.0.7-3
syslinux 6.04.pre2.r11.gbf6db5b4-4

xf86-video-amdgpu 23.0.0-2
xorg-server 21.1.13-1

Offline

#2 2024-05-17 07:04:00

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Display turns white with full screen video

The more important packages missing in that list are: what WM/DE/compositors do you use?
The problem is likely that the FS window gets unredirected.
Did you try w/o xf86-video-amdgpu?

Online

#3 2024-05-19 06:58:38

j@s0n
Member
Registered: 2020-08-15
Posts: 58

Re: Display turns white with full screen video

I'm using  i3. I don't have an external compositor. I haven't tried without the amdgpu package. But I can do that tomorrow.

One of these days I'll try Wayland and Sway again.

Offline

#4 2024-05-21 06:55:24

j@s0n
Member
Registered: 2020-08-15
Posts: 58

Re: Display turns white with full screen video

I removed xf86-video-amdgpu and haven't had the issue in two days.

Offline

#5 2024-05-22 20:29:38

j@s0n
Member
Registered: 2020-08-15
Posts: 58

Re: Display turns white with full screen video

It started happening again.

Offline

#6 2024-05-22 22:26:55

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Display turns white with full screen video

When the screen "turns white", do you still have the mouse cursor?

Online

#7 2024-05-23 05:51:58

j@s0n
Member
Registered: 2020-08-15
Posts: 58

Re: Display turns white with full screen video

seth wrote:

When the screen "turns white", do you still have the mouse cursor?

Yes. And I can click on the video controls just fine. Also, if I take a screenshot with scrot, I get the video, not the white screen.

Offline

#8 2024-05-23 06:48:10

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Display turns white with full screen video

So it's not the screen turning white but only the video? Controls and all other windows look normal?
If you alt+tab another window into the foreground, does the video re-appear?
Does it happen w/ random videos? Can you reliably reproduce it with some?
Why do you have mesa-vdpau installed? Do you playback using vdpau? (Don't, that's nvidia-specific, use VAAPI)
Do you have the output of "mpv pornvideonotcats.mp4" for a video where this happened?

Online

#9 2024-05-23 08:04:51

j@s0n
Member
Registered: 2020-08-15
Posts: 58

Re: Display turns white with full screen video

The controls are all white, or sometimes they flash black. But I can click in the correct spot to pause, skip the video ahead, etc. Occasionally I'll get a very pixelated shape in the area where the control is.
I created a floating window and had it appear in front of a full screen YouTube video and the image reappeared, however so did the window frame, title bar, and my i3 status bar.
I think the mesa-vdpau was an artifact from installing all of the packages that were on my previous intel/nvidia based notebook. I removed it. I have libva installed.
Here's the output from mpv -v. I don't see anything obvious where I changed to full screen. But it did go solid white.

[cplayer] Command line options: '-v' 'file_example_MP4_480_1_5MG.mp4'
[cplayer] mpv v0.38.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Apr 18 2024 06:31:17
[cplayer] libplacebo version: v6.338.2
[cplayer] FFmpeg version: n6.1.1
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       58.29.100
[cplayer]    libavcodec      60.31.102
[cplayer]    libavformat     60.16.100
[cplayer]    libswscale      7.5.100
[cplayer]    libavfilter     9.12.100
[cplayer]    libswresample   4.12.100
[cplayer] 
[cplayer] Configuration: -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dgl-x11=enabled -Dcaca=disabled -Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dopenal=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[cplayer] List of enabled features: alsa av-channel-layout avif-muxer build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl gl-x11 glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lavu-uuid lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs luajit memfd-create openal pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sixel uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vapoursynth vdpau vdpau-gl-x11 vector vk-khr-display vt.h vulkan vulkan-interop wayland wayland-protocols-1-27 wayland-protocols-1-31 wayland-protocols-1-32 x11 xv zimg zimg-st428 zlib
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[ifo_dvdnav] Opening /etc/mpv/encoding-profiles.conf
[bdmv/bluray] Opening /etc/mpv/encoding-profiles.conf
[file] Opening /etc/mpv/encoding-profiles.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Waiting for scripts...
[cplayer] Set property: user-data/osc/visibility="auto" -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[cplayer] Done loading scripts.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] ytdl:// hook
[ytdl_hook] not a ytdl:// url
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[ifo_dvdnav] Opening file_example_MP4_480_1_5MG.mp4
[bdmv/bluray] Opening file_example_MP4_480_1_5MG.mp4
[file] Opening file_example_MP4_480_1_5MG.mp4
[osd/libass] libass API version: 0x1702000
[osd/libass] libass source: commit: 0.17.2-0-gcbb48cc4f2f076300004b8b06a86bec55281d0c2-dirty
[demux] Trying demuxers for level=normal.
[osd/libass] Shaper: FriBidi 1.0.14 (SIMPLE) HarfBuzz-ng 8.5.0 (COMPLEX)
[osd/libass] Setting up fonts...
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: file_example_MP4_480_1_5MG.mp4
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[find_files] Loading external files in .
[cplayer] Running hook: ytdl_hook/on_preloaded
[cplayer] Running hook: auto_profiles/on_preloaded
[lavf] select track 0
[lavf] select track 1
[cplayer]  (+) Video --vid=1 (*) (h264 480x270 30.000fps)
[cplayer]  (+) Audio --aid=1 (*) (aac 2ch 48000Hz)
[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context 'wayland'
[vo/gpu/opengl] Initializing GPU context 'x11egl'
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] Display 0 (eDP-1): [0, 0, 2256, 1504] @ 59.998513 FPS
[vo/gpu/x11] Current display FPS: 59.998513
[vo/gpu/opengl] EGL_VERSION=1.5
[vo/gpu/opengl] EGL_VENDOR=Mesa Project
[vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES 
[vo/gpu/opengl] Trying to create Desktop OpenGL context.
[vo/gpu/opengl] Choosing visual EGL config 0x11, visual ID 0x21
[vo/gpu/x11] The XPresent extension was found.
[vo/gpu/x11] XPresent enabled.
[vo/gpu/opengl] GL_VERSION='4.6 (Core Profile) Mesa 24.0.7-arch1.3'
[vo/gpu/opengl] Detected desktop OpenGL 4.6.
[vo/gpu/opengl] GL_VENDOR='AMD'
[vo/gpu/opengl] GL_RENDERER='AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 17.0.6, DRM 3.57, 6.9.1-arch1-1)'
[vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='4.60'
[vo/gpu/opengl] Loaded extension GL_NV_vdpau_interop.
[vo/gpu/opengl] Loaded extension GL_KHR_debug.
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] Assuming 59.998513 FPS for display sync.
[vd] Container reported FPS: 30.000000
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] No hardware decoding requested.
[vd] Using software decoding.
[vd] Detected 12 logical cores.
[vd] Requesting 13 threads for decoding.
[vd] Selected codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     aac - AAC (Advanced Audio Coding)
[ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
[ad] Opening decoder aac
[ad] Requesting 1 threads for decoding.
[ad] Selected codec: AAC (Advanced Audio Coding)
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[osd/libass] libass API version: 0x1702000
[osd/libass] libass source: commit: 0.17.2-0-gcbb48cc4f2f076300004b8b06a86bec55281d0c2-dirty
[osd/libass] Shaper: FriBidi 1.0.14 (SIMPLE) HarfBuzz-ng 8.5.0 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[af] [in] 48000Hz stereo 2ch floatp
[af] [userspeed] 48000Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch floatp
[vd] Using software decoding.
[vd] Decoder format: 480x270 yuv420p auto/auto/auto/auto/auto CL=mpeg2/4/h264 crop=480x270+0+0
[vd] Using container aspect ratio.
[vf] [in] 480x270 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=480x270+0+0
[vf] [userdeint] 480x270 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=480x270+0+0
[vf] [userdeint] (disabled)
[vf] [autorotate] 480x270 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=480x270+0+0
[vf] [autorotate] (disabled)
[vf] [convert] 480x270 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=480x270+0+0
[vf] [convert] (disabled)
[vf] [out] 480x270 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=480x270+0+0
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 48000 Hz, stereo channels, floatp
[ao/pipewire] Headers version: 1.0.5
[ao/pipewire] Library version: 1.0.6
[ao/pipewire] Core user: jason
[ao/pipewire] Core host: bender
[ao/pipewire] Core version: 1.0.6
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] PipeWire does not have any audio sinks, skipping
[ao] Trying audio driver 'pulse'
[ao/pulse] requested format: 48000 Hz, stereo channels, floatp
[ao/pulse] Library version: 17.0.0
[ao/pulse] Proto: 35
[ao/pulse] Server proto: 4294967295
[ao/pulse] Channel layouts:
[ao/pulse]  - #fl
[ao/pulse]  - #fr
[ao/pulse]  - #fc
[ao/pulse]  - #lfe
[ao/pulse]  - #bl
[ao/pulse]  - #br
[ao/pulse]  - #flc
[ao/pulse]  - #frc
[ao/pulse]  - #bc
[ao/pulse]  - #sl
[ao/pulse]  - #sr
[ao/pulse]  - #tc
[ao/pulse]  - #tfl
[ao/pulse]  - #tfc
[ao/pulse]  - #tfr
[ao/pulse]  - #tbl
[ao/pulse]  - #tbc
[ao/pulse]  - #tbr
[ao/pulse] result: stereo
[ao/pulse] device buffer: 4800 samples.
[ao/pulse] using soft-buffer of 9600 samples.
[cplayer] AO: [pulse] 48000Hz stereo 2ch float
[cplayer] AO: Description: PulseAudio audio output
[autoconvert] inserting resampler
[swresample] format change, reinitializing resampler
[swresample] 48000Hz stereo floatp -> 48000Hz stereo float
[af] [out] 48000Hz stereo 2ch float
[cplayer] VO: [gpu] 480x270 yuv420p
[cplayer] VO: Description: Shader-based GPU Renderer
[vo/gpu] reconfig to 480x270 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=480x270+0+0
[vo/gpu/x11] not waiting for MapNotify
[vo/gpu] Resize: 1124x1424
[vo/gpu] Window size: 1124x1424 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 480x270 (1:1)
[vo/gpu] Video display: (0, 0) 480x270 -> (0, 396) 1124x632
[vo/gpu] Video scale: 2.341667/2.340741
[vo/gpu] OSD borders: l=0 t=396 r=0 b=396
[vo/gpu] Video borders: l=0 t=396 r=0 b=396
[vo/gpu] Reported display depth: 8
[vo/gpu] Texture for plane 0: 480x270
[vo/gpu] Texture for plane 1: 240x135
[vo/gpu] Texture for plane 2: 240x135
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] DR enabled: yes
[vo/gpu] Dither to 8.
[cplayer] first video frame after restart shown
[cplayer] audio ready
[cplayer] delaying audio start 0.000000 vs. 0.000000, diff=0.000000
[vo/gpu/x11] Disabling screensaver.
[cplayer] playback restart complete @ 0.000000, audio=ready, video=playing

[cplayer] starting audio playback
[?25l[0m[statusline] AV: 00:00:00 / 00:00:30 (0%) A-V:  0.000[0m
[ao/pulse] starting AO
[?25l[0m[statusline] AV: 00:00:00 / 00:00:30 (0%) A-V:  0.000[0m
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[?25l[0m[statusline] AV: 00:00:00 / 00:00:30 (0%) A-V: -0.060[0m
[cplayer] Set property: fullscreen -> 1
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Resize: 1124x1424
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Window size: 1124x1424 (Borders: l=0 t=0 r=0 b=0)
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video source: 480x270 (1:1)
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video display: (0, 0) 480x270 -> (0, 396) 1124x632
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video scale: 2.341667/2.340741
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] OSD borders: l=0 t=396 r=0 b=396
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video borders: l=0 t=396 r=0 b=396
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Reported display depth: 8
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (7%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Resize: 2256x1504
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (8%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Window size: 2256x1504 (Borders: l=0 t=0 r=0 b=0)
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (8%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video source: 480x270 (1:1)
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (8%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video display: (0, 0) 480x270 -> (0, 117) 2256x1269
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (8%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video scale: 4.700000/4.700000
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (8%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] OSD borders: l=0 t=117 r=0 b=118
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (8%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video borders: l=0 t=117 r=0 b=118
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (8%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Reported display depth: 8
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (8%) A-V:  0.000 ct: -0.067[0m
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[?25l[0m[statusline] AV: 00:00:02 / 00:00:30 (8%) A-V:  0.000 ct: -0.067[0m
[cplayer] Set property: fullscreen=no -> 1
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Resize: 2256x1504
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Window size: 2256x1504 (Borders: l=0 t=0 r=0 b=0)
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video source: 480x270 (1:1)
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video display: (0, 0) 480x270 -> (0, 117) 2256x1269
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video scale: 4.700000/4.700000
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] OSD borders: l=0 t=117 r=0 b=118
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video borders: l=0 t=117 r=0 b=118
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Reported display depth: 8
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Resize: 1124x1424
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Window size: 1124x1424 (Borders: l=0 t=0 r=0 b=0)
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video source: 480x270 (1:1)
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video display: (0, 0) 480x270 -> (0, 396) 1124x632
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video scale: 2.341667/2.340741
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] OSD borders: l=0 t=396 r=0 b=396
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Video borders: l=0 t=396 r=0 b=396
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[vo/gpu] Reported display depth: 8
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[?25l[0m[statusline] AV: 00:00:04 / 00:00:30 (14%) A-V:  0.000 ct: -0.067[0m
[cplayer] EOF code: 5  
[?25l[0m[statusline] AV: 00:00:05 / 00:00:30 (19%) A-V:  0.000 ct: -0.067[0m
[vo/gpu/x11] Enabling screensaver.
[?25l[0m[statusline] AV: 00:00:05 / 00:00:30 (19%) A-V:  0.000 ct: -0.067[0m[cplayer] finished playback, success (reason 3)
[cplayer] Exiting... (Quit)

Offline

#10 2024-05-23 15:58:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Display turns white with full screen video

You're not even decoding in hardware…
Do any of these behave differently?

mpv -vo gpu-next file_example_MP4_480_1_5MG.mp4
mpv -vo xv file_example_MP4_480_1_5MG.mp4
mpv -vo vaapi file_example_MP4_480_1_5MG.mp4

This is limited to video playback?
Eg. glxgears or something more cool like glmatrix from xscreensaver don't cause it?

Online

#11 2024-05-23 18:27:19

j@s0n
Member
Registered: 2020-08-15
Posts: 58

Re: Display turns white with full screen video

seth wrote:

You're not even decoding in hardware…
Do any of these behave differently?

mpv -vo gpu-next file_example_MP4_480_1_5MG.mp4
mpv -vo xv file_example_MP4_480_1_5MG.mp4
mpv -vo vaapi file_example_MP4_480_1_5MG.mp4

This is limited to video playback?
Eg. glxgears or something more cool like glmatrix from xscreensaver don't cause it?

The -vo xv command allows clean fullscreen. The others go white.
glxgears -fulscreen also goes white and pixelated around the objects.
I set up hardware acceleration for vivaldi, and thought I did for mpv as well. Here's my chrome://gpu output

Graphics Feature Status
=======================
*   Canvas: Hardware accelerated
*   Canvas out-of-process rasterization: Enabled
*   Direct Rendering Display Compositor: Disabled
*   Compositing: Hardware accelerated
*   Multiple Raster Threads: Enabled
*   OpenGL: Enabled
*   Rasterization: Hardware accelerated on all pages
*   Raw Draw: Disabled
*   Skia Graphite: Disabled
*   Video Decode: Hardware accelerated
*   Video Encode: Software only. Hardware acceleration disabled
*   Vulkan: Disabled
*   WebGL: Hardware accelerated
*   WebGL2: Hardware accelerated
*   WebGPU: Disabled
*   WebNN: Disabled

Offline

#12 2024-05-23 20:14:11

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Display turns white with full screen video

So it's the GL context - but not the driver.
Does it happen for

LIBGL_DRI3_DISABLE=1 glxgears

?
Or with the LTS kernel?

Online

#13 2024-05-23 20:35:06

j@s0n
Member
Registered: 2020-08-15
Posts: 58

Re: Display turns white with full screen video

LIBGL_DRI3_DISABLE=1 glxgears -fullscreen

causes flashing.
I can install the LTS kernel, but it can take hours or days for the flashing to show up.

Offline

#14 2024-05-23 20:43:34

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Display turns white with full screen video

Do you mean it's not a problem right after the boot but then, after some time, it starts and is then consistent (you had no issues reproducing it w/ the DRI3 test)?
Does restarting X11 "fix" it as well?

https://wiki.archlinux.org/title/AMDGPU … _using_KDE ?
(Ignore the KDE part, it's an opengl compositor…)

Online

#15 2024-05-23 21:45:55

j@s0n
Member
Registered: 2020-08-15
Posts: 58

Re: Display turns white with full screen video

After a fresh boot, everything is fine. Then after some amount of time or some unknown trigger, it happens. Right now, with 45 minutes of uptime, I can watch videos and run glxgears full screen without issue.
I've tried restarting X and even logging out and back in. Those wouldn't fix it. Since a reboot does, I suspected it might be a kernel issue.

Offline

#16 2024-05-23 21:48:10

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Display turns white with full screen video

Test the linked module parameter… the symptoms certainly fit - somewhat.

Online

#17 2024-05-23 22:09:12

j@s0n
Member
Registered: 2020-08-15
Posts: 58

Re: Display turns white with full screen video

I rebooted and have this at the top of dmesg, so I think it worked.

Command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=a02169b4-7254-43ac-ad2d-10de01cecba5 rw loglevel=3 quiet amdgpu.sg_display=0

We'll see if the flashing white returns.

Last edited by j@s0n (2024-05-23 22:09:33)

Offline

Board footer

Powered by FluxBB