- Edited
WhisperingWind Did the edit possibly turn off the +2frc on your monitor maybe? Only running in 6bit?
WhisperingWind Did the edit possibly turn off the +2frc on your monitor maybe? Only running in 6bit?
Yes, I did.
The Thunderbolt 4/USB-C 4 output is recognized as a DisplayPort. Therefore, it is possible to set it to 6-bit through xrandr. In this case, the image on the monitor is less straining on the eyes (in the edits I disabled dithering for 6 bits, at least, I hope it works as I expected).
I removed this lines https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/i915/display/intel_display.c#L4777C2-L4782C37 from the code. I want to return it later and see if there are any changes.
WhisperingWind interesting. I own a sun vision 32" rlcd that's 6+2frc that I never tried after learning its not true 8 bit. I wonder if it's truly safe as 6bit only in Linux with the arc after driver edit
Does the monitor have a DisplayPort? Otherwise, it might not work, as HDMI (at least in Linux) does not support 6-bit.
You can try using a video adapter with a DP input, like the one I have, but I'm not sure which one will work in this case. Mine has a USB-C connector, and it won't be suitable for Intel Arc.
I came across an interesting thing: https://github.com/skawamoto0/ditherig/blob/master/ditherig/database.csv. As I understand it, this is for integrated graphics cards from Intel and AMD. We can play with addresses to disable dithering. This can be done in Linux using the devmem2 program, which can be downloaded from https://github.com/VCTLabs/devmem2. It can be built by running make
in the directory with the source code.
The app can be run like this (you need to substitute the addresses of your own chip, presumably where it says "Disabled"):
./devmem2 0x70030 w 0x00000000
As I understand, the address can be taken from the 8th column, the size is 4 bytes. For simplicity, you can try filling it with zeros (although, of course, one should properly apply a mask from the 10th column).
I wonder if this will work.
UPD. In reality, as usual, it turned out to be more complicated: in the 8th column, it's not the actual address but an offset relative to it. The actual address is calculated based on the values of Bar1/Bar2.
WhisperingWind if i understand you correctly, you want to use a cature card, cature some video frames straight from the display connection and than analyze them in python?
WhisperingWind I think I should first learn how to detect dithering in the video card's output signal (I think I can create some kind of detector in Python) and then build further work based on that.
Already exists as an (in progress) project.
jordan I use the most mainstream linux distro - Ubuntu with old Lenovo X1 laptop, Intel UHD 620. Also very important, running X11, NOT WAYLAND. Wayland for me introduces some tension. Not as bad as Windows 11, but kind of feels over time. Some suggested to use Y, X, Z in terms of distros. Well I have tried some of them, and I can clearly suggest, if you really about getting work done, do not branch out. It is as messy as it can be, and overall best experience is on mainstream Ubuntu with most features within UI working quite well. Of course it is still buggy, you can not compare it to windows or especially Mac Os, but it is as good as you can get right now. My suggestion for best machine would be lenovo X1, but definitely not brand new. Also, do not expect this to be a permanent solution if you are a macbook user. Macbooks really make things simple, nice to use and just rock solid like calculators.
Yes, I want to try doing this. Because a couple of times during experiments, I mistakenly started thinking that my eyes were feeling better, but that wasn't the case.
Stock Fedora (40, Wayland, Gnome) improved a previously unusable device for me (running HD 3000, now with i915 driver).
The only tweaks of note is that I always set font antialiasing to grayscale and turn off the hinting, as it helps with my astigmatism.
Suprisingly on distros that use X that many people have success on here, I fare much worse.
I'm using Debian 12 Gnome, I previously use Archlinux but installation is a hassle.
Display: ASUS VG258QM
Graphics Card: AMD RX6400
Donux did you have a negative experience with a newer igpu with same software setup? Also so x11 is default on latest Ubuntu? I haven't used Linux in soooo long but it seems very promising. I am previously a windows user. I just want something that works I don't care for any bells and whistles anymore tbh haha.
WhisperingWind that happens to me too sometimes and catches up to me later
zlhr is the font hinting a usual setting in settings on Linux distros ? Or is it something that has to be added?
eDenon-2 did you alter any settings? DP or HDMI?
You might also find intel_reg
useful, there's a thread about Intel graphics dithering registers + Linux here: https://ledstrain.org/d/1017-registers-to-control-intel-graphics-dithering-on-linux-located/17.
@WhisperingWind how do you set 8bpc on Linux i915 driver? (8+2 frc monitor)
To switch to 6 or 8 bits, I used the xrandr utility (it works with X11).
Running
xrandr --verbose
will print a list of outputs and settings for each of them. You can also see the active output there (usually, the EDID field is filled in for it, indicating that a monitor is connected).
You can set 8 bits with the command:
xrandr --output HDMI-1 --set "max bpc" 8
HDMI-1 in this command is just an example; you might have a different output.
For HDMI, the minimum value is 8 bits.
For Display Port, the minimum available value is 6 bits.
In Ubuntu Gnome, the default display server is Wayland. You can choose between Wayland and X11 on the login page. I don't remember exactly whether X11 is available out of the box or if it needs to be installed.
I personally had a challenging experience with the RX6600 Sapphire Pulse on macOS (hackintosh) and Linux due to strong dithering, which caused my eyes to hurt quickly. Because of this, I tend to avoid the RX series, but others may have had better experiences with it.