LINUX.ORG.RU

История изменений

Исправление iZEN, (текущая версия) :

А как с Nvidia решал?

Установил из порта драйвер «portmaster -gD x11/nvidia-driver»:

> pkg info nvidia-driver
nvidia-driver-390.87_2
Name           : nvidia-driver
Version        : 390.87_2
Installed on   : Thu Apr 25 21:11:57 2019 MSK
Origin         : x11/nvidia-driver
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : x11 kld
Licenses       : NVIDIA
Maintainer     : danfe@FreeBSD.org
WWW            : https://www.nvidia.com/object/unix.html
Comment        : NVidia graphics card binary drivers for hardware OpenGL rendering
Options        :
	ACPI_PM        : on
	DOCS           : off
	LINUX          : off
	WBINVD         : off
и отредактировал /etc/X11/xorg.conf:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/usr/local/share/fonts/dejavu/"
    FontPath        "/usr/local/share/fonts/GentiumBasic/"
    FontPath        "/usr/local/share/fonts/LinLibertineG/"
    FontPath        "/usr/local/share/fonts/Caladea/"
    FontPath        "/usr/local/share/fonts/Carlito/"
    FontPath        "/usr/local/share/fonts/Droid/"
    FontPath        "/usr/local/share/fonts/emojione-color-font-ttf/"
    FontPath        "/usr/local/share/fonts/Andika/"
    FontPath        "/usr/local/share/fonts/GentiumPlus/"
    FontPath        "/usr/local/share/fonts/cantarell/"
    FontPath        "/usr/local/share/fonts/gofont-ttf/"
    FontPath        "/usr/local/share/fonts/fantasque-sans-mono/"
    FontPath        "/usr/local/share/fonts/webfonts/"
    FontPath        "/usr/local/share/fonts/SourceSerifPro/"
    FontPath        "/usr/local/share/fonts/SourceSansPro/"
    FontPath        "/usr/local/share/fonts/SourceCodePro/"
EndSection

Section "Module"
    Load           "extmod" #NVIDIA
    Load           "record"
    Load           "dbe"
    Load           "dri2"
    Load           "type1"
    Load           "freetype"
    Load           "glx" #NVIDIA
EndSection

Section "ServerFlags"
    Option         "AutoAddDevices" "false"
    Option         "AllowEmptyInput" "off"
    Option         "AllowMouseOpenFail" "true"
    Option         "IgnoreABI" "on"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "us,ru"
    Option         "XkbVariant" ",winkeys"
    Option         "XkbOptions" "grp:caps_toggle,grp_led:caps,compose:ralt,terminate:ctrl_alt_bksp"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "IIYAMA"
    ModelName      "ProLite XB2283HS-B3"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "VertRefresh" "60"
    Option         "RenderAccel" "1"
    Option         "TripleBuffer" "true"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
    Option         "DAMAGE" "Enable"
    Option         "RENDER" "Enable"
EndSection

> cat ~/.login 
startx
> cat ~/.xinitrc
startxfce4

Исходная версия iZEN, :

А как с Nvidia решал?

Установил из порта драйвер «portmaster -gD x11/nvidia-driver» и отредактировал /etc/X11/xorg.conf:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/usr/local/share/fonts/dejavu/"
    FontPath        "/usr/local/share/fonts/GentiumBasic/"
    FontPath        "/usr/local/share/fonts/LinLibertineG/"
    FontPath        "/usr/local/share/fonts/Caladea/"
    FontPath        "/usr/local/share/fonts/Carlito/"
    FontPath        "/usr/local/share/fonts/Droid/"
    FontPath        "/usr/local/share/fonts/emojione-color-font-ttf/"
    FontPath        "/usr/local/share/fonts/Andika/"
    FontPath        "/usr/local/share/fonts/GentiumPlus/"
    FontPath        "/usr/local/share/fonts/cantarell/"
    FontPath        "/usr/local/share/fonts/gofont-ttf/"
    FontPath        "/usr/local/share/fonts/fantasque-sans-mono/"
    FontPath        "/usr/local/share/fonts/webfonts/"
    FontPath        "/usr/local/share/fonts/SourceSerifPro/"
    FontPath        "/usr/local/share/fonts/SourceSansPro/"
    FontPath        "/usr/local/share/fonts/SourceCodePro/"
EndSection

Section "Module"
    Load           "extmod" #NVIDIA
    Load           "record"
    Load           "dbe"
    Load           "dri2"
    Load           "type1"
    Load           "freetype"
    Load           "glx" #NVIDIA
EndSection

Section "ServerFlags"
    Option         "AutoAddDevices" "false"
    Option         "AllowEmptyInput" "off"
    Option         "AllowMouseOpenFail" "true"
    Option         "IgnoreABI" "on"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "us,ru"
    Option         "XkbVariant" ",winkeys"
    Option         "XkbOptions" "grp:caps_toggle,grp_led:caps,compose:ralt,terminate:ctrl_alt_bksp"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "IIYAMA"
    ModelName      "ProLite XB2283HS-B3"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "VertRefresh" "60"
    Option         "RenderAccel" "1"
    Option         "TripleBuffer" "true"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
    Option         "DAMAGE" "Enable"
    Option         "RENDER" "Enable"
EndSection

> cat ~/.login 
startx
> cat ~/.xinitrc
startxfce4