User Tools

Site Tools


bsd:notes:xorg.conf_snippets

Specific Screens

Acer S271HL

  • Adds 75Hz resolutions above 60Hz stock on HDMI
  • 2024/09/06: Last tested on FreeBSD 14.1 (Xfce) with Intel UHD 630
su -
mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/99-graphics.conf'
Section "Monitor"
    Identifier "HDMI-1"
    Modeline "1920x1080_75.00"  167.85  1920 1928 1960 2000  1080 1105 1113 1119 +hsync -vsync
    Modeline "1280x720_75.00"   95.75  1280 1360 1488 1696  720 723 728 755 -hsync +vsync
    Modeline "1024x768_75.00"   82.00  1024 1088 1192 1360  768 771 775 805 -hsync +vsync
    Option "PreferredMode" "1920x1080_75.00"
EndSection

GPU

intel

  • 2024/09/14: Last tested on FreeBSD 14.1 (Xfce) with Intel UHD 630
  • 2024/09/06: Xfce with compositing enabled is laggy with window dragging/etc with i915
su -
pkg install 'xf86-video-intel' && mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/99-graphics.conf'
Section "OutputClass"
    Identifier "Intel Graphics"
    MatchDriver "i915"
    Driver "intel"
    Option "DRI" "3"
    Option "VSync" "0"
    Option "TearFree" "0"
    Option "TripleBuffer" "0"
    Option "SwapbuffersWait" "0"
EndSection
mousepad '/var/log/Xorg.0.log'

Input

evdev

  • 2024/09/06: Last tested on FreeBSD 14.1 (Xfce)
  • May be ideally required as there was some error-spam and mentions of dropped events from both the Touchpad and USB mouse with libinput
su -
pkg install 'xf86-input-evdev'
pkg install 'xf86-input-synaptics'
mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/99-evdev.conf'
Section "InputClass"
    Identifier "Pointer (evdev custom)"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "AccelerationProfile" "-1"
    Option "AccelerationScheme" "none"
EndSection

Section "InputClass"
    Identifier "Keyboard (evdev custom)"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "AccelerationProfile" "-1"
    Option "AccelerationScheme" "none"
EndSection

Section "InputClass"
    Identifier "Touchpad (synaptics custom)"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "synaptics"
    Option "TapAndDragGesture" "0"
    Option "CoastingSpeed" "0"
    Option "PalmDetect" "0"
    Option "CircularScrolling" "0"
    Option "TapButton3" "0"
    Option "TapButton2" "0"
    Option "TapButton1" "0"
    Option "LBCornerButton" "0"
    Option "LTCornerButton" "0"
    Option "RBCornerButton" "0"
    Option "RTCornerButton" "0"
    Option "LockedDrags" "0"
    Option "HorizTwoFingerScroll" "0"
    Option "CornerCoasting" "0"
    Option "HorizEdgeScroll" "0"
    Option "VertEdgeScroll" "0"
EndSection

Section "InputClass"
    Identifier "Tablet (evdev custom)"
    MatchIsTablet "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "AccelerationProfile" "-1"
    Option "AccelerationScheme" "none"
EndSection

Section "InputClass"
    Identifier "Touchscreen (evdev custom)"
    MatchIsTouchscreen "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "AccelerationProfile" "-1"
    Option "AccelerationScheme" "none"
EndSection
mousepad '/var/log/Xorg.0.log'
/var/www/wiki/data/pages/bsd/notes/xorg.conf_snippets.txt · Last modified: 2024/09/14 03:03 by 127.0.0.1