[SOLVED] Flickering & Blanking screen upon switching window

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Re: Flickering/Blanking screen upon switching window

Postby bueysitoDiablo » Mon Dec 13, 2021 9:43 pm

$this->bbcode_second_pass_quote('jyno', '')$this->bbcode_second_pass_quote('', '
')I modified by /boot/config/txt

from
dtoverlay=vc4-kms-v3d
to
dtoverlay=vc4-fkms-v3d

saved the file and rebooted, Flickering screen has gone


And the sound, from HDMI, goes along with it.
Did you solve this sound issue?


That was what I was trying to explain when I said " Switching to fkms instead of kms is not a solution, but a workaround. And, depending on the use cases, it isn't even a valid option.".

Going/waiting for 5.16 is the best course of action.

regards,
bueysitoDiablo
 
Posts: 5
Joined: Sun Nov 28, 2021 8:46 pm

Re: Flickering/Blanking screen upon switching window

Postby jyno » Thu Dec 30, 2021 7:18 am

Can you downgrade the kernels for both linux-rpi and linux-rpi-legacy to a version where this doesn't occur?
jyno
 
Posts: 67
Joined: Wed May 05, 2021 4:37 pm

Re: Flickering & Blanking screen upon switching window

Postby robg » Thu Dec 30, 2021 6:38 pm

$this->bbcode_second_pass_quote('jyno', 'C')an you downgrade the kernels for both linux-rpi and linux-rpi-legacy to a version where this doesn't occur?


That is not how Arch Linux works. You can access the previous kernels in the archives. The latest that is working for me is 5.10.74, available on https://mega.nz/file/eRoAEQgY#Q1tYfVsKT ... P3R-OSDlQo
robg
 
Posts: 194
Joined: Tue Jan 05, 2021 8:22 am
Top

Re: Flickering & Blanking screen upon switching window

Postby darksky » Fri Dec 31, 2021 11:26 am

Until they fix the issue I apply this patch (put together from info they gave me to test) reverting the cause of the issue until they fix it. This works on the latest RPi 5.10, 5.15 and 5,16-rc kernels.

https://gitlab.manjaro.org/manjaro-arm/packages/core/linux-rpi4/-/blob/master/revert-gamma.diff
Last edited by darksky on Fri Dec 31, 2021 11:36 am, edited 1 time in total.
darksky
 
Posts: 48
Joined: Thu Oct 15, 2020 5:57 pm

Re: Flickering & Blanking screen upon switching window

Postby graysky » Fri Dec 31, 2021 11:35 am

$this->bbcode_second_pass_quote('darksky', 'U')ntil they fix the issue I apply this patch (put together from info they gave me ) reverting the cause of the issue until they fix it. This works on the latest RPi 5.10, 5.15 and 5,16-rc kernels.

https://gitlab.manjaro.org/manjaro-arm/packages/core/linux-rpi4/-/blob/master/revert-gamma.diff


Any ill-effects for other use cases? Does kodi which requires dtoverlay=vc4-kms-v3d and dtoverlay=rpivid-v4l2 work 100%?
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000
Top

Re: Flickering & Blanking screen upon switching window

Postby darksky » Fri Dec 31, 2021 11:43 am

"Any ill-effects for other use cases? Does kodi which requires dtoverlay=vc4-kms-v3d and dtoverlay=rpivid-v4l2 work 100%?"

None that I can see. Been doing this for weeks now with my kernels. Kodi with dtoverlay=vc4-fkms-v3d and dtoverlay=rpivid-v4l2 also works well with HW decoding with h.264/h.265.

This flickering started when they tried to add gamma control (hue, tint....) All of my monitors has the capabilities to do this on their own so I do not need it and I have not had one complaint with the patch applied.
Last edited by darksky on Fri Dec 31, 2021 11:45 am, edited 2 times in total.
darksky
 
Posts: 48
Joined: Thu Oct 15, 2020 5:57 pm

Re: Flickering & Blanking screen upon switching window

Postby graysky » Fri Dec 31, 2021 11:44 am

Thanks for confirming
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Flickering & Blanking screen upon switching window

Postby graysky » Fri Dec 31, 2021 11:57 am

I didn't completely follow the discussion in https://github.com/raspberrypi/linux/issues/4660 .. what is the status of this upstream?
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Flickering & Blanking screen upon switching window

Postby darksky » Fri Dec 31, 2021 12:01 pm

I am unaware of anything upstream being done with these gamma commits. I do not follow upstream much other than testing how the upstream kernel works on the pi4 from time to time. Of course upstream does not have V3D so it always seem to work ok in my tests.
darksky
 
Posts: 48
Joined: Thu Oct 15, 2020 5:57 pm

Re: Flickering & Blanking screen upon switching window

Postby graysky » Fri Dec 31, 2021 12:08 pm

OK, I applied this to my rpi-5.15.y test kernel and kodi seems fine in some testing. For those affected, I also applied it to our repo kernels. Building now/should hit the repos shortly. Maybe someone affected by this bug can report back once it hits the repos?
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

PreviousNext

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 4 guests