Skip to content

Changing backlight level without xf86-video-intel. Drivers for XPS 13 (9360)

The xf86-video-intel package is not recommended and users are encouraged to use the modesetting driver instead. However, I've been using xbacklight to change the brightness of the display and that doesn't work with the modesetting driver, so I have xf86-video-intel installed. Is it possible to safely change the brightness of the display without xf86-video-intel installed?

Also, while the modsetting driver is recommended, it seems I will want to install a different driver for hardware acceleration support. Should I go ahead and install libva-intel-driver and libva-intel-driver-g45-h264 for the Dell XPS 13 (9360) which has a Kaby Lake processor?

Much appreciated.

7 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
7 · 100% up
Kind
Text
ID
axfe51

Author

41
posts
47
comments
0
media
View profile

7 comments

Use light-git from the AUR instead of xbacklight. I had the same issue and that was recommended to me.

5 points

No need to install light from the AUR. There's already an official package for it in the [community] repo.

That said, OP you might also want to check out brillo, which is a fork of light that comes with nice features like smooth transitions and exponential brightness adjustment.

9 points

For the second part of the question, the video hardware acceleration driver has no relation nor dependency to the modesetting or xorg ddx driver.

Don't install the g45 driver that is specifically for an older CPU. You can safely install libva-intel-driver though you might want to experiment and check the results with the newer intel-media-driver as well (they can be installed side by side, you'd just have to adjust the relevant VAAPI environment variables to switch between them)

2 points

Oh I see. My laptop has the Kabylake processor--in the wiki, the newer intel-media-driver is described as "HD Graphics series starting from CannonLake (or optionally from Broadwell)", no idea what that means (why not just "starting from Broadwell"?).

For comparing between this driver and the older libva-intel-driver, an objective test would be comparing the output of vainfo and a subjective test would simply be viewing videos on mpv?

Lastly, one can use both VAAPI and VDPAU without conflicts since applications that support hardware acceleration will simply choose one or the other and they don't conflict? From doing some reading, some people seem to imply choosing one over the other. Installing both has the advantage of covering all grounds in the event that an application may support one but not the other, assuming there's no conflicts or caveats.

1 points

As for the wording in the wiki no idea, that might've been from a earlier state, feel free to adjust it, it really doesn't seem to make sense to specifically make such a mention (or maybe if I'm already there I'll do it).

Edit: Now that I'm reading again, it's probably to differentiate from the fact that the old libva-intel-driver will not be updated to support CPUs newer than Cannonlake, but still I agree the wording is weird.

Yeah that would probably be a good way to test behaviour.

Yes VAAPI and VDPAU are two different APIs for doing hardware decoding, though VAAPI has seen some more active development and is likely to be prefered in most cases. But there might be applications that have a better VDPAU implementation (VLC comes to mind, afaik it still doesn't do zero-copy presentation on VAAPI, whereas it does on VDPAU). But intels do limit that to a certain degree as well again, as the intel drivers do not have a native VDPAU implementation, so if you have something that has VDPAU only you'd have to remap that back over to VAAPI which might've worse implications than simply doing it directly in software)

2 points

clight from the AUR also works fine and autumatically adjusts backlight based on ambient light level.

2 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.