Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Intel Graphics Flicker Problem (solved)

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
mikb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 135
Joined: Wed Dec 14, 2005 10:52 pm
Location: Sydney Australia
Contact:
Contact mikb
Website

Intel Graphics Flicker Problem (solved)

  • Quote

Post by mikb » Thu Aug 25, 2022 5:45 am

I have a Lenovo IseaPad S940, with intel graphics (no hybrid graphics). The graphics adapter is reported as:

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620]
The problem I have is that the screen flickers really badly - like it seems more off than on. The problem seems to be worse in X, but once it starts happening, it happens in the consile as well.

I have tried forcing X to use the modesetting driver, but that just hung the system (no errors recorded)

I have tried enable_psr=0 and max_cstates=4 on the kernel command line, also to no avail.

Is anyone able to offer any suggestions?
Last edited by mikb on Fri Aug 26, 2022 2:31 am, edited 1 time in total.
With sufficient thrust, pigs fly just fine (RFC 1925, apparently talking about Gentoo)
Top
Logicien
Veteran
Veteran
User avatar
Posts: 1555
Joined: Fri Sep 16, 2005 8:04 am
Location: Montréal

  • Quote

Post by Logicien » Thu Aug 25, 2022 11:28 am

A quick search tell me that Linux use the i915 module for you video card. Generally the default kernel parameters are sufficient to make Intel video cards to work. I have many Intel video cards and I put the module in the initramfs to accelerate KMS (Kernel Mode Settings) control of the card.

Some screens have more backlight than others and I have never been able to set the backlight other than with ddccontrol. To replace i915 I ever use efifb. It work properly but I must use fbdev as the Xorg video module and it is less performant than i915 but it work correctly. Critical is video 3D.
Paul
Top
mikb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 135
Joined: Wed Dec 14, 2005 10:52 pm
Location: Sydney Australia
Contact:
Contact mikb
Website

  • Quote

Post by mikb » Fri Aug 26, 2022 2:31 am

It does actually seem to have been a backlight problem. Super annoying, as this glitch has cost me so much productivity.

I found this :https://unix.stackexchange.com/question ... ay-flicker

To cut a long story short, here is my newly modded /etc/X11/xorg.conf.d/20-intel.conf:

Code: Select all

Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
        Option      "AccelMethod"    "sna"
        Option      "TearFree"    "true"
        Option      "BackLight"   "intel_backlight"
EndSection
Seems to have fixed the problem. As you noted, however, brightness adjustment via the function keys doesn't seem to work.
With sufficient thrust, pigs fly just fine (RFC 1925, apparently talking about Gentoo)
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Fri Aug 26, 2022 10:36 am

Mikb, I enabled those keys using acpid.
This is the important bit from my /etc/acpi/actions/custom_tpbutton
Copy /etc/acpi/events/default under a new name and modify path inside to whatever you name this script. Obviously, make sure the path to brightness in acpi/actions matches your device too.

Code: Select all

brightness='/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/brightness'
case "$1" in
'button/volumedown' ) amixer set Master 5%- ;;
'button/volumeup' ) amixer set Master 5%+ ;;
'button/f20' ) amixer set Capture toggle ;;
'video/brightnessdown' ) #DISPLAY=':0.0'  xbacklight -dec 5;;
	read br < $brightness
	echo $(($br -1000)) > $brightness ; echo brightness down: $? $br ;;
'video/brightnessup' ) #DISPLAY=':0.0' xbacklight -inc 5;;
	read br < $brightness
	echo $(($br +1000)) > $brightness ; echo brightness down: $? $br ;;
esac
Top
Post Reply

4 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic