[GUIDE] Linux Strobe Utility and Vertical Total 1350
Posted: 29 May 2015, 18:57
Hey Blur Buster people
Through plenty of research, I have figured out how to run the equivalent of the strobe utility on Linux, and also how to set up the vertical total 1350 trick on linux.
Since I use a Nvidia card, these instructions primarily apply to Nvidia cards. Some additional tweaks may be needed for Intel, ATI and other video cards.
I have the BenQ 2411Z, so a small amount of work will be needed to support the other monitors, but that will be fairly simple. See the sections marked with
, and feel free to ask for help in this thread.
Strobe Utility
The equivalent program to use is "ddccontrol" (http://ddccontrol.sourceforge.net). However, some extra configuration files are needed, and you will also need to set up some permissions.
Install ddccontrol.
Update the configuration files - using my fork at https://github.com/forivall/ddccontrol-db , copy the updated options file and the monitor definition file to /usr/share/ddccontrol-db
If you're not using the 2411Z, you will need to copy and modify the monitor definition file to another file in "/usr/share/ddccontrol-db/monitor/", using the monitor's Plug and Play ID. Post the output of "ddccontrol -p" in this thread if you're having troubles. 
Launch ddccontrol. If it doesn't work, you need to modprobe i2c-dev and set permissions for it
If that works, to make the above settings permanent / persist on reboot:
(This was written for Arch Linux. It probably will work on Fedora and other newer distros, but I'm not sure for Ubuntu)
(Nvidia) If it still doesn't work, add
to the "Section "Screen"" part of xorg.conf
Edit: There's also a command line strobe utility here: http://forums.blurbusters.com/viewtopic.php?f=13&t=557 , I just wish I found it sooner
.
Vertical total 1350
If your distribution has a "/etc/X11/xorg.conf", merge the following into it. Otherwise, save the following as "/etc/X11/xorg.conf.d/30-nvidia.conf"
If you're not using the 2411Z, you will need to modify this file. Read the code!
Restart your computer or your X server. If it doesn't seem like it's running in 1350 mode after you restart, use the following:
Be prepared to restart your computer if this fails!
Enjoy!
Through plenty of research, I have figured out how to run the equivalent of the strobe utility on Linux, and also how to set up the vertical total 1350 trick on linux.
Since I use a Nvidia card, these instructions primarily apply to Nvidia cards. Some additional tweaks may be needed for Intel, ATI and other video cards.
I have the BenQ 2411Z, so a small amount of work will be needed to support the other monitors, but that will be fairly simple. See the sections marked with
Strobe Utility
The equivalent program to use is "ddccontrol" (http://ddccontrol.sourceforge.net). However, some extra configuration files are needed, and you will also need to set up some permissions.
Install ddccontrol.
Code: Select all
sudo apt-get install ddccontrol
# or
sudo yum install ddccontrol
# or
sudo pacman -S ddccontrol
Code: Select all
curl -L https://github.com/forivall/ddccontrol-db/raw/master/db/options.xml | sudo tee /usr/share/ddccontrol-db/options.html
curl -L https://github.com/forivall/ddccontrol-db/raw/master/db/monitor/BNQ7F31.xml | sudo tee /usr/share/ddccontrol-db/monitor/BNQ7F31.xml
Launch ddccontrol. If it doesn't work, you need to modprobe i2c-dev and set permissions for it
Code: Select all
sudo modprobe i2c-dev
sudo chmod +rw /dev/i2c-*
(This was written for Arch Linux. It probably will work on Fedora and other newer distros, but I'm not sure for Ubuntu)
Code: Select all
echo 'i2c-dev' | sudo tee -a /etc/modules-load.d/modules.conf
echo 'KERNEL=="i2c-*", MODE="0666", GROUP="i2c"' | sudo tee /etc/udev/rules.d/99-i2c-permissions.rules
Code: Select all
Option "RegistryDwords" "RMUseSwI2c=0x01; RMI2cSpeed=100"
Edit: There's also a command line strobe utility here: http://forums.blurbusters.com/viewtopic.php?f=13&t=557 , I just wish I found it sooner
Vertical total 1350
If your distribution has a "/etc/X11/xorg.conf", merge the following into it. Otherwise, save the following as "/etc/X11/xorg.conf.d/30-nvidia.conf"
Code: Select all
Section "Monitor"
Identifier "Monitor0"
VendorName "BNQ"
ModelName "BenQ XL2411Z"
ModeLine "1920x1080_120_vt1350" 336.96 1920 1968 2000 2080 1080 1083 1088 1350 +hsync -vsync
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# use the appropriate name for your card
BoardName "GeForce GTX 760"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
# Option "metamodes" "DPY-EDID-db993222-ec3f-cd40-b91a-533c4d64c5f7: 1920x1080_120_vt1350 +0+0"
# you can adjust the above option accordingly for multiple monitors, for example, I use:
# Option "metamodes" "DVI-I-1: 1920x1080_120_vt1350 +0+0, DVI-D-0: nvidia-auto-select +1920+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "RegistryDwords" "RMUseSwI2c=0x01; RMI2cSpeed=100"
# TODO: EDID UUID will be different for other models. This will only apply to the XL2411Z connected via DVI
# for HDMI, use DPY-EDID-8cd9192b-aee5-dfcf-b796-81558db3eee3
# VGA is also different.
# use `nvidia-settings -q dpys` to find the EDID UUID name to use for your model
Option "ModeValidation" "DPY-EDID-db993222-ec3f-cd40-b91a-533c4d64c5f7: AllowNonEdidModes,NoMaxPClkCheck,NoEdidMaxPClkCheck,NoHorizSyncCheck;"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Code: Select all
nvidia-settings --assign CurrentMetaMode="DPY-EDID-db993222-ec3f-cd40-b91a-533c4d64c5f7: 1920x1080_120 +0+0"