Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx errors [Solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 206

PostPosted: Tue Nov 13, 2018 7:17 am    Post subject: startx errors [Solved] Reply with quote

Hello.
Foto error.
https://d.radikal.ru/d03/1811/89/2a796ac79905t.jpg
Starting startx from under the user.
User has added video rights.
Can I automatically generate xorg.conf for Intel video?
Nvidia has a special mechanism for creating a file xorg.conf


Last edited by bagas on Thu Nov 15, 2018 10:44 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Nov 13, 2018 7:28 am    Post subject: Reply with quote

Assuming you have a late model CPU graphics machine. You should be using the modesetting driver and not i915 - your VIDEO_CARDS in make.conf should be "intel i965" which should pick up the modesetting driver. I don't think I have any Intel video that required a xorg.conf unless it had some other video card to be run at the same time...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 206

PostPosted: Tue Nov 13, 2018 7:58 am    Post subject: Reply with quote

eccerr0r wrote:
Assuming you have a late model CPU graphics machine. You should be using the modesetting driver and not i915 - your VIDEO_CARDS in make.conf should be "intel i965" which should pick up the modesetting driver. I don't think I have any Intel video that required a xorg.conf unless it had some other video card to be run at the same time...

My processor i7-8700 then the video card should be like this intel i965
In make.conf
Code:
VIDEO_CARDS="intel i965"

/etc/X11/xorg.conf
Code:
Section "ServerLayout"
#    Option "AllowEmptyInput" "false"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/corefonts/"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/100dri/"
    FontPath        "/usr/share/fonts/75dri/"
    FontPath        "/usr/share/fonts/Type1/"
#    FontPath        "/usr/share/fonts/corefonts/"
    FontPath        "/usr/share/fonts/default/ghostscript"
    FontPath        "/usr/share/fonts/encodings/"
    FontPath        "/usr/share/fonts/ttf-bitstream-vera/"
    FontPath        "/usr/share/fonts/util/"
    FontPath        "/usr/share/fonts/cyrillic/"
EndSection

Section "Module"
    Load           "freetype"
  # Load           "xtt"
    Load           "extmod"
    Load           "glx"
    Load           "dbe"
    Load           "record"
    Load           "xtrap"
    Load           "type1"
    Load          "dri3"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Emulate3Buttons"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" " 4 5 6 7"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "AutoRepeat" "500 30"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbModel" "btckb6300clbl"
    Option         "XkbLayout" "us,ru(winkeys)"
    Option         "XkbVariant" "nodeadkeys"
    Option         "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,ctrl:nocaps"
EndSection

Section "Monitor"
    Identifier "VGA-1"
    Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
    Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
    Option "PreferredMode" "1920x1080_60.00"
EndSection

Section "Screen"
Identifier "Screen 0"
    Monitor "VGA-1"
       DefaultDepth 24
       SubSection "Display"
       Modes "1920x1080" "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Section "Device"
    Identifier "Card0"
    Driver "vesa"
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Section "ServerFlags"
  Option "AllowEmptyInput" "False"
  Option  "AutoAddDevices" "False"
EndSection


Last edited by bagas on Tue Nov 13, 2018 11:31 am; edited 2 times in total
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 206

PostPosted: Tue Nov 13, 2018 9:20 am    Post subject: Reply with quote

Foto error.
https://d.radikal.ru/d03/1811/89/2a796ac79905t.jpg
Xorg.0.log
https://pastebin.com/1w7s2Zc4
Code:
# cat /etc/portage/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
MAKEOPTS="-j13"
FEATURES="parallel-fetch"
DISTDIR="/mnt/home/distfiles"
PORTAGE_TMPDIR="/mnt/tmp"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
VIDEO_CARDS="intel i965"
INPUT_DEVICES="mouse keyboard"
LINGUAS="ru en"
L10N="ru"
USE="vaapi smp symlink threads -gnome -samba -cups thunar elogind -consolekit -systemd policykit udev unicode xorg dbus -arts -ieee1394 -kdevelop mtrr -kde cdr sse sse2 ss ssse3 sse4_1 sse4_2 avx2 aes mmx -ipv6 -kdeenablefinal -kdehiddenvisibility -sudo -multilib"
ACCEPT_LICENSE="-* @FREE linux-firmware MSttfEULA no-source-code freedist"
EMERGE_DEFAULT_OPTS="--autounmask=n"
PHP_INI_VERSION=production


Kernel linux-4.14.78-gentoo
Processor intel i7-8700

Code:
cat /mnt/gentoo/etc/X11/xorg.conf
Section "ServerLayout"
#    Option "AllowEmptyInput" "false"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/corefonts/"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/100dri/"
    FontPath        "/usr/share/fonts/75dri/"
    FontPath        "/usr/share/fonts/Type1/"
#    FontPath        "/usr/share/fonts/corefonts/"
    FontPath        "/usr/share/fonts/default/ghostscript"
    FontPath        "/usr/share/fonts/encodings/"
    FontPath        "/usr/share/fonts/ttf-bitstream-vera/"
    FontPath        "/usr/share/fonts/util/"
    FontPath        "/usr/share/fonts/cyrillic/"
EndSection

Section "Module"
    Load           "freetype"
  # Load           "xtt"
    Load           "extmod"
    Load           "glx"
    Load           "dbe"
    Load           "record"
#    Load           "xtrap"
    Load           "type1"
    Load           "dri3"
    Load            "vesa"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Emulate3Buttons"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" " 4 5 6 7"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "AutoRepeat" "500 30"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbModel" "btckb6300clbl"
    Option         "XkbLayout" "us,ru(winkeys)"
    Option         "XkbVariant" "nodeadkeys"
    Option         "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,ctrl:nocaps"
EndSection

Section "Monitor"
    Identifier "VGA-1"
    Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
    Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
    Option "PreferredMode" "1920x1080_60.00"
EndSection

Section "Screen"
Identifier "Screen 0"
    Monitor "VGA-1"
       DefaultDepth 24
       SubSection "Display"
       Modes "1920x1080" "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Section "ServerFlags"
  Option "AllowEmptyInput" "False"
  Option  "AutoAddDevices" "False"
EndSection

Code:
cat /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
    Identifier  "Intel Graphics"
    Driver      "intel"
    Option      "AccelMethod"    "sna"
EndSection

Code:
00:00.0 Host bridge: Intel Corporation Device 3ec2 (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Device 3e92
00:14.0 USB controller: Intel Corporation 200 Series PCH USB 3.0 xHCI Controller
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
00:1b.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #17 (rev f0)
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0)
00:1c.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)
00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a2c9
00:1f.2 Memory controller: Intel Corporation 200 Series PCH PMC
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
00:1f.4 SMBus: Intel Corporation 200 Series PCH SMBus Controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V
03:00.0 USB controller: ASMedia Technology Inc. Device 2142
04:00.0 Non-Volatile memory controller: Intel Corporation Device f1a6 (rev 03)


Code:
<*> /dev/agpgart (AGP Support)  --->                                                                                                                 │ │ 
  │ │                                                                              -*- VGA Arbitration                                                                                                                                  │ │ 
  │ │                                                                              (16)  Maximum number of GPUs                                                                                                                         │ │ 
  │ │                                                                              [ ] Laptop Hybrid Graphics - GPU switching support                                                                                                   │ │ 
  │ │                                                                              <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->                                                                            │ │ 
  │ │                                                                              [ ] Allow to specify an EDID data set instead of probing for it                                                                                      │ │ 
  │ │                                                                                  I2C encoder or helper chips  --->                                                                                                                │ │ 
  │ │                                                                              < > ATI Radeon                                                                                                                                       │ │ 
  │ │                                                                              < > AMD GPU                                                                                                                                          │ │ 
  │ │                                                                                  ACP (Audio CoProcessor) Configuration  ----                                                                                                      │ │ 
  │ │                                                                              < > Nouveau (NVIDIA) cards                                                                                                                           │ │ 
  │ │                                                                              <*> Intel 8xx/9xx/G3x/G4x/HD Graphics                                                                                                                │ │ 
  │ │                                                                              [*]   Enable alpha quality support for new Intel hardware by default                                                                                 │ │ 
  │ │                                                                              [*]   Enable capturing GPU state following a hang                                                                                                    │ │ 
  │ │                                                                              [*]     Compress GPU error state                                                                                                                     │ │ 
  │ │                                                                              [*]   Always enable userptr support                                                                                                                  │ │ 
  │ │                                                                              [ ]   Enable Intel GVT-g graphics virtualization host support                                                                                        │ │ 
  │ │                                                                              < > Virtual GEM provider                                                                                                                             │ │ 
  │ │                                                                              < > DRM driver for VMware Virtual GPU                                                                                                                │ │ 
  │ │                                                                              < > Intel GMA5/600 KMS Framebuffer                                                                                                                   │ │ 
  │ │                                                                              < > DisplayLink                                                                                                                                      │ │ 
  │ │                                                                              < > AST server chips                                                                                                                                 │ │ 
  │ │                                                                              < > Kernel modesetting driver for MGA G200 server engines                                                                                            │ │ 
  │ │                                                                              < > Cirrus driver for QEMU emulated device                                                                                                           │ │ 
  │ │                                                                              < > QXL virtual GPU                                                                                                                                  │ │ 
  │ │                                                                              < > DRM Support for bochs dispi vga interface (qemu stdvga)                                                                                          │ │ 
  │ │                                                                              < > Virtio GPU driver                                                                                                                                │ │ 
  │ │                                                                                  Display Panels  ----                                                                                                                             │ │ 
  │ │                                                                                  Display Interface Bridges  --->                                                                                                                  │ │ 
  │ │                                                                              < > DRM Support for Hisilicon Hibmc                                                                                                                  │ │ 
  │ │                                                                              < > Support for simple displays  ----                                                                                                                │ │ 
  │ │                                                                              [ ] Enable legacy drivers (DANGEROUS)  ----                                                                                                          │ │ 
  │ │                                                                                  Frame buffer Devices  --->                                                                                                                       │ │ 
  │ │                                                                              -*- Backlight & LCD device support  --->                                                                                                             │ │ 
  │ │                                                                                  Console display driver support  --->                                                                                                             │ │ 
  │ │                                                                              [*] Bootup logo  --->


Code:
--- /dev/agpgart (AGP Support)                                                                                                                       │ │ 
  │ │                                                                              < >   AMD Opteron/Athlon64 on-CPU GART support                                                                                                       │ │ 
  │ │                                                                              <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support                                                                                              │ │ 
  │ │                                                                              < >   SiS chipset support                                                                                                                            │ │ 
  │ │                                                                              < >   VIA chipset support


Code:

 -*- Support for frame buffer devices  --->                                                                                                           │ │ 
  │ │                                                                              [ ] Framebuffer foreign endianness support  ----                                                                                                     │ │ 
  │ │                                                                              [*] Enable Video Mode Handling Helpers                                                                                                               │ │ 
  │ │                                                                              [*] Enable Tile Blitting Support                                                                                                                     │ │ 
  │ │                                                                                  *** Frame buffer hardware drivers ***                                                                                                            │ │ 
  │ │                                                                              < > Cirrus Logic support                                                                                                                             │ │ 
  │ │                                                                              < > Permedia2 support                                                                                                                                │ │ 
  │ │                                                                              < > CyberPro 2000/2010/5000 support                                                                                                                  │ │ 
  │ │                                                                              < > Arc Monochrome LCD board support                                                                                                                 │ │ 
  │ │                                                                              [ ] Asiliant (Chips) 69000 display support                                                                                                           │ │ 
  │ │                                                                              [ ] IMS Twin Turbo display support                                                                                                                   │ │ 
  │ │                                                                              < > VGA 16-color graphics support                                                                                                                    │ │ 
  │ │                                                                              < > Userspace VESA VGA graphics support                                                                                                              │ │ 
  │ │                                                                              [ ] VESA VGA graphics support                                                                                                                        │ │ 
  │ │                                                                              [*] EFI-based Framebuffer Support                                                                                                                    │ │ 
  │ │                                                                              < > N411 Apollo/Hecuba devkit support                                                                                                                │ │ 
  │ │                                                                              < > Hercules mono graphics support                                                                                                                   │ │ 
  │ │                                                                              < > OpenCores VGA/LCD core 2.0 framebuffer support                                                                                                   │ │ 
  │ │                                                                              < > Epson S1D13XXX framebuffer support                                                                                                               │ │ 
  │ │                                                                              < > nVidia Framebuffer Support                                                                                                                       │ │ 
  │ │                                                                              < > nVidia Riva support                                                                                                                              │ │ 
  │ │                                                                              < > Intel740 support                                                                                                                                 │ │ 
  │ │                                                                              < > Intel LE80578 (Vermilion) support                                                                                                                │ │ 
  │ │                                                                              < > Matrox acceleration                                                                                                                              │ │ 
  │ │                                                                              < > ATI Radeon display support                                                                                                                       │ │ 
  │ │                                                                              < > ATI Rage128 display support                                                                                                                      │ │ 
  │ │                                                                              < > ATI Mach64 display support                                                                                                                       │ │ 
  │ │                                                                              < > S3 Trio/Virge support                                                                                                                            │ │ 
  │ │                                                                              < > S3 Savage support                                                                                                                                │ │ 
  │ │                                                                              < > SiS/XGI display support                                                                                                                          │ │ 
  │ │                                                                              < > NeoMagic display support                                                                                                                         │ │ 
  │ │                                                                              < > IMG Kyro support                                                                                                                                 │ │ 
  │ │                                                                              < > 3Dfx Banshee/Voodoo3/Voodoo5 display support                                                                                                     │ │ 
  │ │                                                                              < > 3Dfx Voodoo Graphics (sst1) support                                                                                                              │ │ 
  │ │                                                                              < > VIA VT8623 support                                                                                                                               │ │ 
  │ │                                                                              < > Trident/CyberXXX/CyberBlade support                                                                                                              │ │ 
  │ │                                                                              < > ARK 2000PV support                                                                                                                               │ │ 
  │ │                                                                              < > Permedia3 support                                                                                                                                │ │ 
  │ │                                                                              < > Fujitsu carmine frame buffer support                                                                                                             │ │ 
  │ │                                                                              < > SMSC UFX6000/7000 USB Framebuffer support                                                                                                        │ │ 
  │ │                                                                              < > Displaylink USB Framebuffer support                                                                                                              │ │ 
  │ │                                                                              < > Framebuffer support for IBM GXT4000P/4500P/6000P/6500P adaptors                                                                                  │ │ 
  │ │                                                                              < > Virtual Frame Buffer support (ONLY FOR TESTING!)                                                                                                 │ │ 
  │ │                                                                              < > E-Ink Metronome/8track controller support                                                                                                        │ │ 
  │ │                                                                              < > Fujitsu MB862xx GDC support                                                                                                                      │ │ 
  │ │                                                                              < > E-Ink Broadsheet/Epson S1D13521 controller support                                                                                               │ │ 
  │ │                                                                              < > AUO-K190X EPD controller support
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 206

PostPosted: Tue Nov 13, 2018 3:43 pm    Post subject: Reply with quote

X started, but hang right away.
I start from under the user startx, xfce4 starts, nothing can be done.
At the numlock keyboard, you can turn off and off everything, then the session freezes.
I installed the slim, added to the xdm slim.
log in, the error is this.
Code:
Failed to connect to socket /tmp/dbus-xxx: Connection refused

Help to understand, confused.
Code:
cat /etc/X11/xorg.conf
Section "ServerLayout"
#    Option "AllowEmptyInput" "false"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
#    InputDevice    "keyboard-all" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/corefonts/"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/100dri/"
    FontPath        "/usr/share/fonts/75dri/"
    FontPath        "/usr/share/fonts/Type1/"
#    FontPath        "/usr/share/fonts/corefonts/"
    FontPath        "/usr/share/fonts/default/ghostscript"
    FontPath        "/usr/share/fonts/encodings/"
    FontPath        "/usr/share/fonts/ttf-bitstream-vera/"
    FontPath        "/usr/share/fonts/util/"
    FontPath        "/usr/share/fonts/cyrillic/"
EndSection

Section "Module"
    Load           "freetype"
  # Load           "xtt"
    Load           "extmod"
    Load           "glx"
    Load           "dbe"
#    Load           "record"
#    Load           "xtrap"
    Load           "type1"
    Load           "dri3"
    Load           "vesa"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"                                                                                                                                                                                                                   
    Driver         "evdev"                                                                                                                                                                                                                   
    Option         "Protocol" "USB"                                                                                                                                                                                                           
    Option         "Emulate3Buttons"                                                                                                                                                                                                         
    Option         "Device" "/dev/input/mice"                                                                                                                                                                                                 
    Option         "ZAxisMapping" " 4 5 6 7"                                                                                                                                                                                                 
EndSection                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                             
#Section "InputDevice"                                                                                                                                                                                                                       
#    Identifier     "keyboard-all"                                                                                                                                                           
#    Driver         "evdev"                                                                                                                                                                   
#    Option         "AutoRepeat" "500 30"                                                                                                                                                     
#    Option         "XkbRules" "xorg"                                                                                                                                                                                                         
##    Option         "XkbModel" "pc116"                                                                                                                                                                                                       
#    Option         "XkbLayout" "us,ru(winkeys)"                                                                                                                                                                                             
#    Option         "XkbVariant" "nodeadkeys"                                                                                                                                                                                                 
#    Option         "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,ctrl:nocaps"                                                                                                                                                           
#EndSection                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                             
Section "Monitor"
    Identifier "VGA-1"
    Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
    Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
    Option "PreferredMode" "1920x1080_60.00"
EndSection

Section "Screen"
Identifier "Screen 0"
    Monitor "VGA-1"
       DefaultDepth 24
       SubSection "Display"
       Modes "1920x1080" "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Section "ServerFlags"
  Option "AllowEmptyInput" "False"
  Option  "AutoAddDevices" "False"
EndSection


Code:
cat /etc/X11/xorg.conf.d/
10-keyboard.conf  20-intel.conf     20opengl.conf     
livecd ~ # cat /etc/X11/xorg.conf.d/10-keyboard.conf
Section "InputClass"
    Identifier      "keyboard-all"
    Driver          "evdev"
    Option          "XkbLayout" "us,ru(winkeys)"
    Option          "XkbVariant" "nodeadkeys"
    Option          "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,ctrl:nocaps"
    MatchIsKeyboard "on"
EndSection
livecd ~ # cat /etc/X11/xorg.conf.d/20-intel.conf   
Section "Device"
    Identifier  "Intel Graphics"
    Driver      "intel"
    Option      "AccelMethod"    "sna"
EndSection
livecd ~ # cat /etc/X11/xorg.conf.d/20opengl.conf
Section "Files"
EndSection

Code:
cat /etc/portage/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
MAKEOPTS="-j13"
FEATURES="parallel-fetch"
DISTDIR="/mnt/home/distfiles"
PORTAGE_TMPDIR="/mnt/tmp"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
VIDEO_CARDS="intel i965"
INPUT_DEVICES="evdev"
#mouse keyboard"
LINGUAS="ru en"
L10N="ru"
USE="vaapi smp symlink threads -gnome -samba -cups thunar elogind -consolekit -systemd policykit udev unicode xorg dbus -arts -ieee1394 -kdevelop mtrr -kde cdr sse sse2 ss ssse3 sse4_1 sse4_2 avx2 aes mmx -ipv6 -kdeenablefinal -kdehiddenvisibility -sudo -multilib"
ACCEPT_LICENSE="-* @FREE linux-firmware MSttfEULA no-source-code freedist"
EMERGE_DEFAULT_OPTS="--autounmask=n"
PHP_INI_VERSION=production

The world reassembled with edev.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Nov 13, 2018 9:29 pm    Post subject: Reply with quote

Normally you would let it automatically get input devices with udev, or is udev not working properly? The evdev driver is autoprobed by X and should not need additional configuration.

I don't have a xorg.conf at all on my i965/i915 machines, I would assume that the newer graphics aren't needed either. Is your machine doing the same if you don't have an xorg.conf?

The session freezing, assuming you mean the mouse stops moving, is a bit alarming implying some serious software issue in the kernel perhaps... I don't have an 8700 and am not sure about the status of the driver for these machines.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 206

PostPosted: Wed Nov 14, 2018 5:47 pm    Post subject: Reply with quote

Solve the problem.
Code:
# cat /etc/X11/xorg.conf
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib64/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "glx"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
#    Option         "AutoRepeat" "500 30"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us,ru(winkeys)"
    Option         "XkbVariant" "nodeadkeys"
    Option         "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,ctrl:nocaps"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
        Option "PreferredMode" "1920x1080_60.00"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                 # [<bool>]
        #Option     "AccelMethod"           # <str>
        #Option     "Backlight"             # <str>
        #Option     "CustomEDID"            # <str>
        #Option     "DRI"                   # <str>
        #Option     "Present"               # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "VideoKey"              # <i>
        #Option     "Tiling"                # [<bool>]
        #Option     "LinearFramebuffer"     # [<bool>]
        #Option     "HWRotation"            # [<bool>]
        #Option     "VSync"                 # [<bool>]
        #Option     "PageFlip"              # [<bool>]
        #Option     "SwapbuffersWait"       # [<bool>]
        #Option     "TripleBuffer"          # [<bool>]
        #Option     "XvPreferOverlay"       # [<bool>]
        #Option     "HotPlug"               # [<bool>]
        #Option     "ReprobeOutputs"        # [<bool>]
        #Option     "XvMC"                  # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "VirtualHeads"          # <i>
        #Option     "TearFree"              # [<bool>]
        #Option     "PerCrtcPixmaps"        # [<bool>]
        #Option     "FallbackDebug"         # [<bool>]
        #Option     "DebugFlushBatches"     # [<bool>]
        #Option     "DebugFlushCaches"      # [<bool>]
        #Option     "DebugWait"             # [<bool>]
        #Option     "BufferCache"           # [<bool>]
   Identifier  "Card0"
   Driver      "intel"
   BusID       "PCI:0:2:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
        SubSection "Display"
        Modes      "1920x1080" "1280x1024" "1024x768" "800x600" "640x480"
   Depth      24
   EndSubSection
EndSection
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum