Решено: Не могу включить opengl

Для новичков как вообще в Linux, так и в конкретной теме, к которой относится вопрос.

Модератор: Bizdelnick

Ответить
azsx
Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Решено: Не могу включить opengl

Сообщение azsx »

Убунту 16,04. Я сгоряча поставил драйвер amd control center в меру своих сил и умений удалил его, при чём из пуска он не пропал, но при запуске пишет, что драйвер не установлен или работает не правильно.
После этого у меня пропал opengl в играх, хотя пакет mesa-utils установлен. Я сам сформировал Xorg :1 и скопировал его в /etc/X11. Там всё хорошо -- intel. В логах смотрю -- также интел. А open gl так и нет.
Как исправить ситуацию?

Код: Выделить всё

lspci | grep VGA
 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)


 glxdemo
 Error: couldn't get an RGB, Double-buffered visual


Код: Выделить всё

cat xorg.conf
 Section "ServerLayout"
         Identifier     "X.org Configured"
         Screen      0  "Screen0" 0 0
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection

 Section "Files"
         ModulePath   "/usr/lib/xorg/modules"
         FontPath     "/usr/share/fonts/X11/misc"
         FontPath     "/usr/share/fonts/X11/cyrillic"
         FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
         FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
         FontPath     "/usr/share/fonts/X11/Type1"
         FontPath     "/usr/share/fonts/X11/100dpi"
         FontPath     "/usr/share/fonts/X11/75dpi"
         FontPath     "built-ins"
 EndSection

 Section "Module"
         Load  "FGL.renamed.libglx"
         Load  "glx"
 EndSection

 Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "kbd"
 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"
 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"
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     16
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     24
         EndSubSection
 EndSection



Код: Выделить всё

cat /var/log/Xorg.0.log
 [     2.790]
 X.Org X Server 1.18.4
 Release Date: 2016-07-19
 [     2.790] X Protocol Version 11, Revision 0
 [     2.790] Build Operating System: Linux 4.4.0-93-generic x86_64 Ubuntu
 [     2.790] Current Operating System: Linux ty-pk 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 x86_64
 [     2.790] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-97-generic root=UUID=b0438039-e8e9-45bb-b170-cb320dd01942 ro splash quiet
 [     2.790] Build Date: 15 September 2017  02:17:20PM
 [     2.790] xorg-server 2:1.18.4-0ubuntu0.5 (For technical support please see http://www.ubuntu.com/support)
 [     2.790] Current version of pixman: 0.33.6
 [     2.790]    Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
 [     2.790] Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [     2.790] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct  8 13:38:06 2017
 [     2.795] (==) Using config file: "/etc/X11/xorg.conf"
 [     2.795] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
 [     2.802] (==) ServerLayout "X.org Configured"
 [     2.802] (**) |-->Screen "Screen0" (0)
 [     2.802] (**) |   |-->Monitor "Monitor0"
 [     2.804] (**) |   |-->Device "Card0"
 [     2.804] (**) |-->Input Device "Mouse0"
 [     2.804] (**) |-->Input Device "Keyboard0"
 [     2.804] (==) Automatically adding devices
 [     2.804] (==) Automatically enabling devices
 [     2.804] (==) Automatically adding GPU devices
 [     2.804] (==) Max clients allowed: 256, resource mask: 0x1fffff
 [     2.804] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 [     2.804]    Entry deleted from font path.
 [     2.804] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
 [     2.804]    Entry deleted from font path.
 [     2.804] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
 [     2.804]    Entry deleted from font path.
 [     2.804] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
 [     2.804]    Entry deleted from font path.
 [     2.804] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
 [     2.804]    Entry deleted from font path.
 [     2.805] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 [     2.805]    Entry deleted from font path.
 [     2.805] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
 [     2.805]    Entry deleted from font path.
 [     2.805] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
 [     2.805]    Entry deleted from font path.
 [     2.805] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
 [     2.805]    Entry deleted from font path.
 [     2.805] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
 [     2.805]    Entry deleted from font path.
 [     2.805] (**) FontPath set to:
         /usr/share/fonts/X11/misc,
         /usr/share/fonts/X11/Type1,
         built-ins,
         /usr/share/fonts/X11/misc,
         /usr/share/fonts/X11/Type1,
         built-ins
 [     2.805] (**) ModulePath set to "/usr/lib/xorg/modules"
 [     2.805] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
 [     2.805] (WW) Disabling Mouse0
 [     2.805] (WW) Disabling Keyboard0
 [     2.806] (II) Loader magic: 0x55e2b6264dc0
 [     2.806] (II) Module ABI versions:
 [     2.806]    X.Org ANSI C Emulation: 0.4
 [     2.806]    X.Org Video Driver: 20.0
 [     2.806]    X.Org XInput driver : 22.1
 [     2.806]    X.Org Server Extension : 9.0
 [     2.807] (++) using VT number 7

 [     2.807] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
 [     2.807] (II) xfree86: Adding drm device (/dev/dri/card0)
 [     2.808] (--) PCI:*(0:0:2:0) 8086:0102:1043:844d rev 9, Mem @ 0xfe000000/4194304, 0xc0000000/268435456, I/O @ 0x0000f000/64
 [     2.808] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
 [     2.808] (II) LoadModule: "fgl.renamed.libglx"
 [     2.812] (WW) Warning, couldn't open module fgl.renamed.libglx
 [     2.812] (II) UnloadModule: "fgl.renamed.libglx"
 [     2.812] (II) Unloading fgl.renamed.libglx
 [     2.812] (EE) Failed to load module "fgl.renamed.libglx" (module does not exist, 0)
 [     2.812] (II) LoadModule: "glx"
 [     2.812] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
 [     2.820] (II) Module glx: vendor="Advanced Micro Devices, Inc."
 [     2.820]    compiled for 6.9.0, module version = 1.0.0
 [     2.820] (II) LoadModule: "intel"
 [     2.820] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
 [     2.822] (II) Module intel: vendor="X.Org Foundation"
 [     2.822]    compiled for 1.18.4, module version = 2.99.917
 [     2.822]    Module class: X.Org Video Driver
 [     2.822]    ABI class: X.Org Video Driver, version 20.0
 [     2.822] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
         i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
         915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
         Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
         GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
 [     2.822] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
 [     2.822] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
 [     2.822] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
 [     2.827] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
 [     2.827] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 (Timo Aaltonen <tjaalton@debian.org>)
 [     2.827] (II) intel(0): SNA compiled for use with valgrind
 [     2.828] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 2000
 [     2.828] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx; using a maximum of 4 threads
 [     2.828] (==) intel(0): Depth 24, (--) framebuffer bpp 32
 [     2.828] (==) intel(0): RGB weight 888
 [     2.828] (==) intel(0): Default visual is TrueColor
 [     2.829] (II) intel(0): Output VGA1 using monitor section Monitor0
 [     2.829] (II) intel(0): Enabled output VGA1
 [     2.829] (II) intel(0): Output HDMI1 has no monitor section
 [     2.829] (II) intel(0): Enabled output HDMI1
 [     2.829] (II) intel(0): Output DP1 has no monitor section
 [     2.829] (II) intel(0): Enabled output DP1
 [     2.829] (II) intel(0): Output HDMI2 has no monitor section
 [     2.829] (II) intel(0): Enabled output HDMI2
 [     2.829] (II) intel(0): Output DP2 has no monitor section
 [     2.829] (II) intel(0): Enabled output DP2
 [     2.829] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
 [     2.829] (II) intel(0): Output VIRTUAL1 has no monitor section
 [     2.829] (II) intel(0): Enabled output VIRTUAL1
 [     2.829] (--) intel(0): Output VGA1 using initial mode 1920x1080 on pipe 0
 [     2.829] (==) intel(0): TearFree disabled
 [     2.829] (==) intel(0): DPI set to (96, 96)
 [     2.829] (II) Loading sub module "dri2"
 [     2.829] (II) LoadModule: "dri2"
 [     2.829] (II) Module "dri2" already built-in
 [     2.829] (II) Loading sub module "present"
 [     2.829] (II) LoadModule: "present"
 [     2.829] (II) Module "present" already built-in
 [     2.829] (==) Depth 24 pixmap format is 32 bpp
 [     2.831] (II) intel(0): SNA initialized with Sandybridge (gen6, gt1) backend
 [     2.831] (==) intel(0): Backing store enabled
 [     2.831] (==) intel(0): Silken mouse enabled
 [     2.831] (II) intel(0): HW Cursor enabled
 [     2.831] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
 [     2.832] (==) intel(0): DPMS enabled
 [     2.832] (==) intel(0): Display hotplug detection enabled
 [     2.832] (II) intel(0): [DRI2] Setup complete
 [     2.832] (II) intel(0): [DRI2]   DRI driver: i965
 [     2.832] (II) intel(0): [DRI2]   VDPAU driver: va_gl
 [     2.832] (II) intel(0): direct rendering: DRI2 enabled
 [     2.832] (II) intel(0): hardware support for Present enabled
 [     2.832] (--) RandR disabled
 [     2.835] (II) SELinux: Disabled on system
 [     2.838] (II) intel(0): switch to mode 1920x1080@60.0 on VGA1 using pipe 0, position (0, 0), rotation normal, reflection none
 [     2.838] (II) intel(0): Setting screen physical size to 508 x 285
 [     2.867] (II) config/udev: Adding input device Power Button (/dev/input/event1)
 [     2.867] (**) Power Button: Applying InputClass "evdev keyboard catchall"
 [     2.867] (II) LoadModule: "evdev"
 [     2.867] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
 [     2.868] (II) Module evdev: vendor="X.Org Foundation"
 [     2.868]    compiled for 1.18.1, module version = 2.10.1
 [     2.868]    Module class: X.Org XInput Driver
 [     2.868]    ABI class: X.Org XInput driver, version 22.1
 [     2.868] (II) Using input driver 'evdev' for 'Power Button'
 [     2.868] (**) Power Button: always reports core events
 [     2.868] (**) evdev: Power Button: Device: "/dev/input/event1"
 [     2.868] (--) evdev: Power Button: Vendor 0 Product 0x1
 [     2.868] (--) evdev: Power Button: Found keys
 [     2.868] (II) evdev: Power Button: Configuring as keyboard
 [     2.868] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
 [     2.868] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
 [     2.868] (**) Option "xkb_rules" "evdev"
 [     2.868] (**) Option "xkb_model" "pc105"
 [     2.868] (**) Option "xkb_layout" "us,ru"
 [     2.868] (**) Option "xkb_variant" ","
 [     2.868] (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll"
 [     2.883] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
 [     2.883] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
 [     2.883] (II) Using input driver 'evdev' for 'Video Bus'
 [     2.883] (**) Video Bus: always reports core events
 [     2.883] (**) evdev: Video Bus: Device: "/dev/input/event2"
 [     2.883] (--) evdev: Video Bus: Vendor 0 Product 0x6
 [     2.883] (--) evdev: Video Bus: Found keys
 [     2.883] (II) evdev: Video Bus: Configuring as keyboard
 [     2.883] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input5/event2"
 [     2.883] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
 [     2.883] (**) Option "xkb_rules" "evdev"
 [     2.883] (**) Option "xkb_model" "pc105"
 [     2.883] (**) Option "xkb_layout" "us,ru"
 [     2.883] (**) Option "xkb_variant" ","
 [     2.883] (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll"
 [     2.883] (II) config/udev: Adding input device Power Button (/dev/input/event0)
 [     2.883] (**) Power Button: Applying InputClass "evdev keyboard catchall"
 [     2.883] (II) Using input driver 'evdev' for 'Power Button'
 [     2.883] (**) Power Button: always reports core events
 [     2.883] (**) evdev: Power Button: Device: "/dev/input/event0"
 [     2.883] (--) evdev: Power Button: Vendor 0 Product 0x1
 [     2.883] (--) evdev: Power Button: Found keys
 [     2.883] (II) evdev: Power Button: Configuring as keyboard
 [     2.883] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
 [     2.883] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
 [     2.883] (**) Option "xkb_rules" "evdev"
 [     2.883] (**) Option "xkb_model" "pc105"
 [     2.883] (**) Option "xkb_layout" "us,ru"
 [     2.883] (**) Option "xkb_variant" ","
 [     2.883] (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll"
 [     2.884] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event7)
 [     2.884] (II) No input driver specified, ignoring this device.
 [     2.884] (II) This device may have been added with another device file.
 [     2.884] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event8)
 [     2.884] (II) No input driver specified, ignoring this device.
 [     2.884] (II) This device may have been added with another device file.
 [     2.884] (II) config/udev: Adding input device HDA Intel PCH Line Out Side (/dev/input/event9)
 [     2.884] (II) No input driver specified, ignoring this device.
 [     2.884] (II) This device may have been added with another device file.
 [     2.884] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event10)
 [     2.884] (II) No input driver specified, ignoring this device.
 [     2.884] (II) This device may have been added with another device file.
 [     2.885] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event11)
 [     2.885] (II) No input driver specified, ignoring this device.
 [     2.885] (II) This device may have been added with another device file.
 [     2.885] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event3)
 [     2.885] (II) No input driver specified, ignoring this device.
 [     2.885] (II) This device may have been added with another device file.
 [     2.885] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event4)
 [     2.885] (II) No input driver specified, ignoring this device.
 [     2.885] (II) This device may have been added with another device file.
 [     2.885] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event5)
 [     2.885] (II) No input driver specified, ignoring this device.
 [     2.885] (II) This device may have been added with another device file.
 [     2.885] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event6)
 [     2.885] (II) No input driver specified, ignoring this device.
 [     2.885] (II) This device may have been added with another device file.
 [     2.886] (II) config/udev: Adding input device USB USB Keyboard (/dev/input/event13)
 [     2.886] (**) USB USB Keyboard: Applying InputClass "evdev keyboard catchall"
 [     2.886] (II) Using input driver 'evdev' for 'USB USB Keyboard'
 [     2.886] (**) USB USB Keyboard: always reports core events
 [     2.886] (**) evdev: USB USB Keyboard: Device: "/dev/input/event13"
 [     2.886] (--) evdev: USB USB Keyboard: Vendor 0x1a2c Product 0x2c27
 [     2.886] (--) evdev: USB USB Keyboard: Found keys
 [     2.886] (II) evdev: USB USB Keyboard: Configuring as keyboard
 [     2.886] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:1A2C:2C27.0001/input/input16/event13"
 [     2.886] (II) XINPUT: Adding extended input device "USB USB Keyboard" (type: KEYBOARD, id 9)
 [     2.886] (**) Option "xkb_rules" "evdev"
 [     2.886] (**) Option "xkb_model" "pc105"
 [     2.886] (**) Option "xkb_layout" "us,ru"
 [     2.886] (**) Option "xkb_variant" ","
 [     2.886] (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll"
 [     2.886] (II) config/udev: Adding input device USB USB Keyboard (/dev/input/event14)
 [     2.886] (**) USB USB Keyboard: Applying InputClass "evdev keyboard catchall"
 [     2.886] (II) Using input driver 'evdev' for 'USB USB Keyboard'
 [     2.886] (**) USB USB Keyboard: always reports core events
 [     2.886] (**) evdev: USB USB Keyboard: Device: "/dev/input/event14"
 [     2.886] (--) evdev: USB USB Keyboard: Vendor 0x1a2c Product 0x2c27
 [     2.886] (--) evdev: USB USB Keyboard: Found 1 mouse buttons
 [     2.886] (--) evdev: USB USB Keyboard: Found scroll wheel(s)
 [     2.886] (--) evdev: USB USB Keyboard: Found relative axes
 [     2.886] (II) evdev: USB USB Keyboard: Forcing relative x/y axes to exist.
 [     2.886] (--) evdev: USB USB Keyboard: Found absolute axes
 [     2.886] (II) evdev: USB USB Keyboard: Forcing absolute x/y axes to exist.
 [     2.886] (--) evdev: USB USB Keyboard: Found keys
 [     2.886] (II) evdev: USB USB Keyboard: Configuring as mouse
 [     2.886] (II) evdev: USB USB Keyboard: Configuring as keyboard
 [     2.886] (II) evdev: USB USB Keyboard: Adding scrollwheel support
 [     2.886] (**) evdev: USB USB Keyboard: YAxisMapping: buttons 4 and 5
 [     2.886] (**) evdev: USB USB Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
 [     2.886] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1/0003:1A2C:2C27.0002/input/input17/event14"
 [     2.886] (II) XINPUT: Adding extended input device "USB USB Keyboard" (type: KEYBOARD, id 10)
 [     2.886] (**) Option "xkb_rules" "evdev"
 [     2.886] (**) Option "xkb_model" "pc105"
 [     2.886] (**) Option "xkb_layout" "us,ru"
 [     2.886] (**) Option "xkb_variant" ","
 [     2.886] (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll"
 [     2.886] (II) evdev: USB USB Keyboard: initialized for relative axes.
 [     2.886] (WW) evdev: USB USB Keyboard: ignoring absolute axes.
 [     2.886] (**) USB USB Keyboard: (accel) keeping acceleration scheme 1
 [     2.886] (**) USB USB Keyboard: (accel) acceleration profile 0
 [     2.886] (**) USB USB Keyboard: (accel) acceleration factor: 2.000
 [     2.886] (**) USB USB Keyboard: (accel) acceleration threshold: 4
 [     2.887] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event15)
 [     2.887] (**) Logitech USB Optical Mouse: Applying InputClass "evdev pointer catchall"
 [     2.887] (II) Using input driver 'evdev' for 'Logitech USB Optical Mouse'
 [     2.887] (**) Logitech USB Optical Mouse: always reports core events
 [     2.887] (**) evdev: Logitech USB Optical Mouse: Device: "/dev/input/event15"
 [     2.887] (--) evdev: Logitech USB Optical Mouse: Vendor 0x46d Product 0xc05a
 [     2.887] (--) evdev: Logitech USB Optical Mouse: Found 3 mouse buttons
 [     2.887] (--) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)
 [     2.887] (--) evdev: Logitech USB Optical Mouse: Found relative axes
 [     2.887] (--) evdev: Logitech USB Optical Mouse: Found x and y relative axes
 [     2.887] (II) evdev: Logitech USB Optical Mouse: Configuring as mouse
 [     2.887] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support
 [     2.887] (**) evdev: Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5
 [     2.887] (**) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
 [     2.887] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/0003:046D:C05A.0003/input/input18/event15"
 [     2.887] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 11)
 [     2.887] (II) evdev: Logitech USB Optical Mouse: initialized for relative axes.
 [     2.887] (**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
 [     2.887] (**) Logitech USB Optical Mouse: (accel) acceleration profile 0
 [     2.887] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
 [     2.887] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
 [     2.887] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
 [     2.887] (II) No input driver specified, ignoring this device.
 [     2.887] (II) This device may have been added with another device file.
 [     2.887] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event12)
 [     2.887] (**) Eee PC WMI hotkeys: Applying InputClass "evdev keyboard catchall"
 [     2.888] (II) Using input driver 'evdev' for 'Eee PC WMI hotkeys'
 [     2.888] (**) Eee PC WMI hotkeys: always reports core events
 [     2.888] (**) evdev: Eee PC WMI hotkeys: Device: "/dev/input/event12"
 [     2.888] (--) evdev: Eee PC WMI hotkeys: Vendor 0 Product 0
 [     2.888] (--) evdev: Eee PC WMI hotkeys: Found keys
 [     2.888] (II) evdev: Eee PC WMI hotkeys: Configuring as keyboard
 [     2.888] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input15/event12"
 [     2.888] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 12)
 [     2.888] (**) Option "xkb_rules" "evdev"
 [     2.888] (**) Option "xkb_model" "pc105"
 [     2.888] (**) Option "xkb_layout" "us,ru"
 [     2.888] (**) Option "xkb_variant" ","
 [     2.888] (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll"
 [     3.232] (II) config/udev: Adding input device sonixj (/dev/input/event16)
 [     3.232] (**) sonixj: Applying InputClass "evdev keyboard catchall"
 [     3.232] (II) Using input driver 'evdev' for 'sonixj'
 [     3.232] (**) sonixj: always reports core events
 [     3.232] (**) evdev: sonixj: Device: "/dev/input/event16"
 [     3.232] (--) evdev: sonixj: Vendor 0xc45 Product 0x613c
 [     3.232] (--) evdev: sonixj: Found keys
 [     3.232] (II) evdev: sonixj: Configuring as keyboard
 [     3.232] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/input/input19/event16"
 [     3.232] (II) XINPUT: Adding extended input device "sonixj" (type: KEYBOARD, id 13)
 [     3.232] (**) Option "xkb_rules" "evdev"
 [     3.232] (**) Option "xkb_model" "pc105"
 [     3.232] (**) Option "xkb_layout" "us,ru"
 [     3.232] (**) Option "xkb_variant" ","
 [     3.232] (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll"
Спасибо сказали:
Аватара пользователя
Bizdelnick
Модератор
Сообщения: 20752
Статус: nulla salus bello
ОС: Debian GNU/Linux

Re: Решено: Не могу включить opengl

Сообщение Bizdelnick »

azsx писал(а):
08.10.2017 08:54
драйвер amd control center в меру своих сил и умений удалил его

Подробнее про эти два пункта, пожалуйста.
Пишите правильно:
в консоли
вку́пе (с чем-либо)
в общем
вообще
в течение (часа)
новичок
нюанс
по умолчанию
приемлемо
проблема
пробовать
трафик
Спасибо сказали:
azsx
Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Решено: Не могу включить opengl

Сообщение azsx »

Подробнее про эти два пункта, пожалуйста.

Код: Выделить всё

sudo apt-get remove --purge xorg-driver-fglrx fglrx\*

Также я делал

Код: Выделить всё

sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri

sudo apt-get install --reinstall mesa-utils

sudo apt-get install --reinstall libgl1-mesa-glx bumblebee-nvidia
sudo apt-get autoremove
sudo reboot

Конечно, я зря ставил драйвера нвидиа. Но я уже запутался.
Спасибо сказали:
Аватара пользователя
ormorph
Сообщения: 2601
ОС: Gentoo

Re: Решено: Не могу включить opengl

Сообщение ormorph »

Ubuntu похоже, там в пакетах не сильно разбираюсь, но невооруженным взглядом видно что все еще линкуется с библиотеками OpenGL от amd, что то удалили не так.
Где нибудь должно показывать, например:

Код: Выделить всё

# cat /etc/ld.so.conf*

Если нет пути к библиотекам от amd, то скорее всего нужно обновить переменное окружение и выполнить:

Код: Выделить всё

# ldconfig

Eсли присутствует путь к библиотекам amd, то не все удалили...
Если не знаете как, то можно просто удалить этот путь просто из файла и выполнить:

Код: Выделить всё

# ldconfig
Спасибо сказали:
azsx
Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Решено: Не могу включить opengl

Сообщение azsx »

я нашёл /etc/ld.so.conf.d и переместил этот каталог. Снова попробовал сформировать файл X :2 -congigure, всё то же самое.
Как я понимаю, раз в моём /etc/X11/xorg.conf есть

Код: Выделить всё

        Identifier  "Card0"
        Driver      "intel"
        BusID       "PCI:0:2:0"

Значит всё таки оборудование правильно берёт. Просто почему то не подключает opengl.
Ошибка изменилась

Код: Выделить всё

glxdemo
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't get an RGB, Double-buffered visual

Код: Выделить всё

sudo ldconfig -N

sudo ldconfig -p | grep intel
        libdrm_intel.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1
        libdrm_intel.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libdrm_intel.so
Спасибо сказали:
Аватара пользователя
ormorph
Сообщения: 2601
ОС: Gentoo

Re: Решено: Не могу включить opengl

Сообщение ormorph »

azsx писал(а):
08.10.2017 12:08
я нашёл /etc/ld.so.conf.d и переместил этот каталог. Снова попробовал сформировать файл X :2 -congigure, всё то же самое.

Кэш обновляли?

Код: Выделить всё

# ldconfig


Хватило бы просто удалить строчку с путем к библиотекам amd из файла и обновить кеш.
Что показывает?

Код: Выделить всё

# ldconfig -p|grep libGL.so
# ldconfig -p|grep libGLU
Спасибо сказали:
azsx
Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Решено: Не могу включить opengl

Сообщение azsx »

Кэш обновляли?

Получется обновить кеш -- это просто запустить sudo ldconfig. Да, обновлял. С опцией -N я зря запускал.
Что показывает?

Код: Выделить всё

ldconfig -p|grep libGL.so
        libGL.so.1 (libc6,x86-64) => /usr/lib/libGL.so.1
        libGL.so (libc6,x86-64) => /usr/lib/libGL.so
ldconfig -p|grep libGLU
        libGLU.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLU.so.1
        libGLU.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLU.so

В выводе этой команды я ничего понять не могу, так как

Код: Выделить всё

ldconfig -p| wc
   1767    7230  140545

1 767 строк!
Спасибо сказали:
Аватара пользователя
ormorph
Сообщения: 2601
ОС: Gentoo

Re: Решено: Не могу включить opengl

Сообщение ormorph »

Как бы после перезапуска иксов должно уже заработать, при условии что установлено linux-firmware.
Так же команда:

Код: Выделить всё

# dmesg |grep -i err

Должна что нибудь показать.
Ну и посмотреть в blacklist ни чего не добавлено из того что нужно, в какой нибудь /etc/modprobe.d/blacklist.conf
Спасибо сказали:
azsx
Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Решено: Не могу включить opengl

Сообщение azsx »

Как бы после перезапуска иксов должно уже заработать, при условии что установлено linux-firmware.

linux-firmware установлен, перезагрузился. Не работает.

Код: Выделить всё

sudo apt-get install linux-firmware
***
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Уже установлен пакет linux-firmware самой новой версии (1.157.12).
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.

sudo reboot

glxdemo
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't get an RGB, Double-buffered visual


Должна что нибудь показать.

Как я понимаю искали error, тогда у меня только

Код: Выделить всё

[    1.927818] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro

вот полный вывод

Код: Выделить всё

dmesg |grep -i err
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.071818] core: PEBS disabled due to CPU errata, please upgrade microcode
[    0.110091] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off
[    0.125772] ACPI: Using IOAPIC for interrupt routing
[    0.154632] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
[    0.154666] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
[    0.154698] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 *10 11 12 14 15)
[    0.154730] ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 10 11 12 14 15)
[    0.154762] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 *7 10 11 12 14 15)
[    0.154794] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *10 11 12 14 15)
[    0.154826] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 *7 10 11 12 14 15)
[    0.154858] ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 6 7 10 11 12 14 15)
[    0.170996] pci 0000:00:02.0: BIOS left Intel GPU interrupts enabled; disabling
[    0.842392] pcieport 0000:00:01.0: Signaling PME through PCIe PME interrupt
[    0.842413] pcieport 0000:00:1c.0: Signaling PME through PCIe PME interrupt
[    0.842433] pcieport 0000:00:1c.4: Signaling PME through PCIe PME interrupt
[    0.842434] pci 0000:03:00.0: Signaling PME through PCIe PME interrupt
[    0.842454] pcieport 0000:00:1c.5: Signaling PME through PCIe PME interrupt
[    0.842455] pci 0000:04:00.0: Signaling PME through PCIe PME interrupt
[    0.842475] pcieport 0000:00:1c.6: Signaling PME through PCIe PME interrupt
[    0.842477] pci 0000:05:00.0: Signaling PME through PCIe PME interrupt
[    1.927818] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[    1.954997] lp0: using parport0 (interrupt-driven).

Ну и посмотреть в blacklist ни чего не добавлено из того что нужно, в какой нибудь /etc/modprobe.d/blacklist.conf

А что здесь надо посмотреть?

Код: Выделить всё

cat /etc/modprobe.d/blacklist.conf
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac
Спасибо сказали:
Аватара пользователя
ormorph
Сообщения: 2601
ОС: Gentoo

Re: Решено: Не могу включить opengl

Сообщение ormorph »

Да как бы все хорошо, ну а что показывает?

Код: Выделить всё

$ LIBGL_DEBUG=verbose glxinfo|grep render
Спасибо сказали:
azsx
Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Решено: Не могу включить opengl

Сообщение azsx »

Код: Выделить всё

LIBGL_DEBUG=verbose glxinfo|grep render
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".

А почему его нет?
Спасибо сказали:
Аватара пользователя
ormorph
Сообщения: 2601
ОС: Gentoo

Re: Решено: Не могу включить opengl

Сообщение ormorph »

azsx писал(а):
08.10.2017 13:32
А почему его нет?

Потому что выводит:

Код: Выделить всё

Error: couldn't get an RGB, Double-buffered visual

Запущено два драйвера и оба используют свой видео буфер, попробуйте один из модулей добавить в blacklist скорее всего intel.
Ну и почитать стоит на счет гибридной графики.
Спасибо сказали:
Аватара пользователя
Bizdelnick
Модератор
Сообщения: 20752
Статус: nulla salus bello
ОС: Debian GNU/Linux

Re: Решено: Не могу включить opengl

Сообщение Bizdelnick »

update-alternatives --list glx что говорит?
Не надо ничего удалять руками, только хуже сделаете.
Пишите правильно:
в консоли
вку́пе (с чем-либо)
в общем
вообще
в течение (часа)
новичок
нюанс
по умолчанию
приемлемо
проблема
пробовать
трафик
Спасибо сказали:
azsx
Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Решено: Не могу включить opengl

Сообщение azsx »

Не надо ничего удалять руками, только хуже сделаете.

Если что могу /etc/ld.so.conf.d на место вернуть.

Код: Выделить всё

sudo update-alternatives --list glx
update-alternatives: ошибка: нет альтернатив для glx

Спасибо сказали:
Ответить