Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up OpenGL 2 or GLES 2 on i915
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ashie
n00b
n00b


Joined: 09 Apr 2016
Posts: 41

PostPosted: Wed Mar 21, 2018 3:20 pm    Post subject: Setting up OpenGL 2 or GLES 2 on i915 Reply with quote

Editing this thread. I traced the problem mentioned formerly (see below) to be DRI / OpenGL related : Atleast with systemsettings, no crash if i use software rendering (moderate performance), or if i enable "acceleration" and only disable DRI (very poor performance)

As i still want to try to get acceleration to work properly, i am still experimenting...

One thing i want to test is : This chipset - G31m (GMA3100) used to support OpenGL 2.x under older versions of mesa. There is a setting, which is supposed to enable the same options under new mesa :

/etc/drirc
Code:
<driconf>
...
    <device driver="i915">
        <application name="Default">
            <option name="stub_occlusion_query" value="true" />
            <option name="fragment_shader" value="true" />
        </application>
    </device>
...
</driconf>

This setup is from Arch wiki. In a recent install of Arch on another PC with same chipset/IGP, it worked for me and i got KDE to use OpenGL 2

Under Gentoo on this PC, after making this config glxinfo still shows OpenGL 1.4

So : What else i have to set to enable OpenGL 2 or GLES 2 under Gentoo ?



________

Old post (describing the crashes problem) :

Run systemsettings5 - opens and immediately closes
Code:
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/private/ActionButton.qml:434:21: Cannot assign to non-existent property "checkable"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/private/ActionButton.qml:434:21: Cannot assign to non-existent property "checkable"
KActivities: Database connection:  "kactivities_db_resources_139624486601856_readonly"
    query_only:          QVariant(qlonglong, 1)
    journal_mode:        QVariant(QString, "wal")
    wal_autocheckpoint:  QVariant(qlonglong, 100)
    synchronous:         QVariant(qlonglong, 0)
Nothing to load - the client id is empty
Nothing to load - the client id is empty


Konqueror too, though with different messages
Code:

(some HTML code....)
(and then)
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
KonqFrame(0x5558e6d6feb0) QObject(0x0)
QUrl("about:blank")
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
(and many more lines like the last three)


I havent yet installed any other KDE apps (kde-apps-meta)

Xorg.0.log :
Code:
[   125.432] (--) Log file renamed from "/var/log/Xorg.pid-2789.log" to "/var/log/Xorg.0.log"
[   125.433]
X.Org X Server 1.19.5
Release Date: 2017-10-12
[   125.433] X Protocol Version 11, Revision 0
[   125.433] Build Operating System: Linux 4.5.2-aufs-r1 x86_64 Gentoo
[   125.433] Current Operating System: Linux lavender 4.9.76-gentoo-r1 #1 SMP Wed Mar 21 14:12:34 IST 2018 x86_64
[   125.433] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.76-gentoo-r1 root=/dev/sda2
[   125.433] Build Date: 20 March 2018  08:53:10PM
[   125.433] 
[   125.433] Current version of pixman: 0.34.0
[   125.433]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   125.433] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   125.433] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 21 13:35:07 2018
[   125.479] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   125.479] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   125.517] (==) No Layout section.  Using the first Screen section.
[   125.517] (==) No screen section available. Using defaults.
[   125.517] (**) |-->Screen "Default Screen Section" (0)
[   125.517] (**) |   |-->Monitor "<default monitor>"
[   125.517] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   125.517] (==) Automatically adding devices
[   125.517] (==) Automatically enabling devices
[   125.517] (==) Automatically adding GPU devices
[   125.517] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   125.528] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[   125.528]    Entry deleted from font path.
[   125.528] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   125.528]    Entry deleted from font path.
[   125.528] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   125.528]    Entry deleted from font path.
[   125.528] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   125.528]    Entry deleted from font path.
[   125.528] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[   125.528]    Entry deleted from font path.
[   125.528] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[   125.528]    Entry deleted from font path.
[   125.528] (==) FontPath set to:
   
[   125.528] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   125.528] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   125.528] (II) Loader magic: 0x55f71938bc60
[   125.528] (II) Module ABI versions:
[   125.528]    X.Org ANSI C Emulation: 0.4
[   125.528]    X.Org Video Driver: 23.0
[   125.529]    X.Org XInput driver : 24.1
[   125.529]    X.Org Server Extension : 10.0
[   125.529] (II) xfree86: Adding drm device (/dev/dri/card0)
[   125.538] (--) PCI:*(0:0:2:0) 8086:29c2:1043:82b0 rev 16, Mem @ 0xfea80000/524288, 0xe0000000/268435456, 0xfe900000/1048576, I/O @ 0x0000dc00/8, BIOS @ 0x????????/131072
[   125.538] (II) LoadModule: "glx"
[   125.551] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   125.878] (II) Module glx: vendor="X.Org Foundation"
[   125.878]    compiled for 1.19.5, module version = 1.0.0
[   125.878]    ABI class: X.Org Server Extension, version 10.0
[   125.878] (==) Matched intel as autoconfigured driver 0
[   125.878] (==) Matched intel as autoconfigured driver 1
[   125.878] (==) Matched modesetting as autoconfigured driver 2
[   125.878] (==) Matched fbdev as autoconfigured driver 3
[   125.878] (==) Matched vesa as autoconfigured driver 4
[   125.878] (==) Assigned the driver to the xf86ConfigLayout
[   125.878] (II) LoadModule: "intel"
[   125.922] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   125.951] (II) Module intel: vendor="X.Org Foundation"
[   125.951]    compiled for 1.19.5, module version = 2.99.917
[   125.951]    Module class: X.Org Video Driver
[   125.951]    ABI class: X.Org Video Driver, version 23.0
[   125.951] (II) LoadModule: "modesetting"
[   125.952] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   125.959] (II) Module modesetting: vendor="X.Org Foundation"
[   125.959]    compiled for 1.19.5, module version = 1.19.5
[   125.959]    Module class: X.Org Video Driver
[   125.959]    ABI class: X.Org Video Driver, version 23.0
[   125.959] (II) LoadModule: "fbdev"
[   125.960] (WW) Warning, couldn't open module fbdev
[   125.960] (II) UnloadModule: "fbdev"
[   125.960] (II) Unloading fbdev
[   125.960] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   125.960] (II) LoadModule: "vesa"
[   125.960] (WW) Warning, couldn't open module vesa
[   125.960] (II) UnloadModule: "vesa"
[   125.960] (II) Unloading vesa
[   125.960] (EE) Failed to load module "vesa" (module does not exist, 0)
[   125.960] (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
[   125.960] (II) intel: Driver for Intel(R) HD Graphics
[   125.960] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   125.960] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   125.960] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   125.960] (++) using VT number 7

[   125.984] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160919
[   125.986] (WW) Falling back to old probe method for modesetting
[   125.987] (--) intel(0): Integrated Graphics Chipset: Intel(R) G33
[   125.987] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3; using a maximum of 2 threads
[   125.987] (II) intel(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[   125.987] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   125.987] (==) intel(0): RGB weight 888
[   125.987] (==) intel(0): Default visual is TrueColor
[   125.988] (II) intel(0): Output VGA1 has no monitor section
[   125.988] (II) intel(0): Enabled output VGA1
[   125.988] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[   125.988] (II) intel(0): Output VIRTUAL1 has no monitor section
[   125.988] (II) intel(0): Enabled output VIRTUAL1
[   125.988] (--) intel(0): Output VGA1 using initial mode 1680x1050 on pipe 0
[   125.988] (==) intel(0): TearFree disabled
[   125.988] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[   125.988] (==) intel(0): DPI set to (96, 96)
[   125.988] (II) Loading sub module "dri3"
[   125.988] (II) LoadModule: "dri3"
[   125.988] (II) Module "dri3" already built-in
[   125.988] (II) Loading sub module "dri2"
[   125.988] (II) LoadModule: "dri2"
[   125.988] (II) Module "dri2" already built-in
[   125.988] (II) Loading sub module "present"
[   125.988] (II) LoadModule: "present"
[   125.988] (II) Module "present" already built-in
[   125.988] (II) UnloadModule: "modesetting"
[   125.988] (II) Unloading modesetting
[   125.988] (==) Depth 24 pixmap format is 32 bpp
[   126.018] (II) intel(0): SNA initialized with Alviso (gen3) backend
[   126.018] (==) intel(0): Backing store enabled
[   126.018] (==) intel(0): Silken mouse enabled
[   126.019] (II) intel(0): HW Cursor enabled
[   126.019] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   126.020] (==) intel(0): DPMS enabled
[   126.020] (==) intel(0): Display hotplug detection enabled
[   126.025] (II) intel(0): [DRI2] Setup complete
[   126.025] (II) intel(0): [DRI2]   DRI driver: i915
[   126.025] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[   126.025] (II) intel(0): direct rendering: DRI2 enabled
[   126.025] (II) intel(0): hardware support for Present enabled
[   126.025] (--) RandR disabled
[   127.562] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   127.562] (II) AIGLX: enabled GLX_ARB_create_context
[   127.562] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   127.562] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[   127.562] (II) AIGLX: enabled GLX_INTEL_swap_event
[   127.562] (II) AIGLX: enabled GLX_SGI_swap_control
[   127.562] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   127.562] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   127.562] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[   127.562] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   127.562] (II) AIGLX: Loaded and initialized i915
[   127.562] (II) GLX: Initialized DRI2 GL provider for screen 0
[   127.569] (II) intel(0): switch to mode 1680x1050@60.0 on VGA1 using pipe 0, position (0, 0), rotation normal, reflection none
[   127.576] (II) intel(0): Setting screen physical size to 444 x 277
[   128.012] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   128.012] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   128.012] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   128.012] (II) LoadModule: "libinput"
[   128.012] (II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so
[   128.056] (II) Module libinput: vendor="X.Org Foundation"
[   128.056]    compiled for 1.19.5, module version = 0.25.1
[   128.056]    Module class: X.Org XInput Driver
[   128.056]    ABI class: X.Org XInput driver, version 24.1
[   128.056] (II) Using input driver 'libinput' for 'Power Button'
[   128.056] (**) Power Button: always reports core events
[   128.056] (**) Option "Device" "/dev/input/event1"
[   128.056] (**) Option "_source" "server/udev"
[   128.056] (II) event1  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   128.056] (II) event1  - (II) Power Button: (II) device is a keyboard
[   128.056] (II) event1  - (II) Power Button: (II) device removed
[   128.068] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[   128.068] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   128.068] (II) event1  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   128.068] (II) event1  - (II) Power Button: (II) device is a keyboard
[   128.068] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   128.068] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   128.068] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   128.068] (II) Using input driver 'libinput' for 'Power Button'
[   128.068] (**) Power Button: always reports core events
[   128.068] (**) Option "Device" "/dev/input/event0"
[   128.068] (**) Option "_source" "server/udev"
[   128.069] (II) event0  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   128.069] (II) event0  - (II) Power Button: (II) device is a keyboard
[   128.069] (II) event0  - (II) Power Button: (II) device removed
[   128.084] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[   128.084] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   128.084] (II) event0  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   128.084] (II) event0  - (II) Power Button: (II) device is a keyboard
[   128.084] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event3)
[   128.084] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[   128.084] (**) USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[   128.084] (II) Using input driver 'libinput' for 'USB Optical Mouse'
[   128.084] (**) USB Optical Mouse: always reports core events
[   128.084] (**) Option "Device" "/dev/input/event3"
[   128.085] (**) Option "_source" "server/udev"
[   128.137] (II) event3  - (II) USB Optical Mouse: (II) is tagged by udev as: Mouse
[   128.137] (II) event3  - (II) USB Optical Mouse: (II) device is a pointer
[   128.137] (II) event3  - (II) USB Optical Mouse: (II) device removed
[   128.151] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/0003:192F:0416.0001/input/input5/event3"
[   128.151] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 8)
[   128.151] (**) Option "AccelerationScheme" "none"
[   128.151] (**) USB Optical Mouse: (accel) selected scheme none/0
[   128.151] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[   128.151] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[   128.203] (II) event3  - (II) USB Optical Mouse: (II) is tagged by udev as: Mouse
[   128.203] (II) event3  - (II) USB Optical Mouse: (II) device is a pointer
[   128.203] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[   128.203] (II) No input driver specified, ignoring this device.
[   128.203] (II) This device may have been added with another device file.
[   128.203] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event2)
[   128.203] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   128.203] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   128.203] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   128.203] (**) AT Translated Set 2 keyboard: always reports core events
[   128.203] (**) Option "Device" "/dev/input/event2"
[   128.203] (**) Option "_source" "server/udev"
[   128.204] (II) event2  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[   128.204] (II) event2  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard
[   128.204] (II) event2  - (II) AT Translated Set 2 keyboard: (II) device removed
[   128.221] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input2/event2"
[   128.221] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[   128.221] (II) event2  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[   128.221] (II) event2  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard
[   128.268] (II) intel(0): EDID vendor "XER", prod id 2280
[   128.268] (II) intel(0): Using EDID range info for horizontal sync
[   128.268] (II) intel(0): Using EDID range info for vertical refresh
[   128.268] (II) intel(0): Printing DDC gathered Modelines:
[   128.268] (II) intel(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz eP)
[   128.268] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   128.268] (II) intel(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[   128.268] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   128.268] (II) intel(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   128.268] (II) intel(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[   128.268] (II) intel(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[   128.268] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   128.268] (II) intel(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[   128.268] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   128.268] (II) intel(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[   128.268] (II) intel(0): Modeline "1440x900"x0.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz e)
[   134.279] (II) event1  - (II) Power Button: (II) device removed
[   134.293] (II) event0  - (II) Power Button: (II) device removed
[   134.309] (II) event3  - (II) USB Optical Mouse: (II) device removed
[   134.325] (II) event2  - (II) AT Translated Set 2 keyboard: (II) device removed
[   134.341] (II) AIGLX: Suspending AIGLX clients for VT switch
[   141.622] (II) AIGLX: Resuming AIGLX clients after VT switch
[   141.622] (II) intel(0): switch to mode 1680x1050@60.0 on VGA1 using pipe 0, position (0, 0), rotation normal, reflection none
[   141.686] (II) event1  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   141.686] (II) event1  - (II) Power Button: (II) device is a keyboard
[   141.686] (II) event0  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   141.686] (II) event0  - (II) Power Button: (II) device is a keyboard
[   141.738] (II) event3  - (II) USB Optical Mouse: (II) is tagged by udev as: Mouse
[   141.738] (II) event3  - (II) USB Optical Mouse: (II) device is a pointer
[   141.738] (II) event2  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[   141.738] (II) event2  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard
[   205.423] (II) event1  - (II) Power Button: (II) device removed
[   205.435] (II) event0  - (II) Power Button: (II) device removed
[   205.446] (II) event3  - (II) USB Optical Mouse: (II) device removed
[   205.454] (II) event2  - (II) AT Translated Set 2 keyboard: (II) device removed
[   205.462] (II) AIGLX: Suspending AIGLX clients for VT switch
[   493.229] (II) AIGLX: Resuming AIGLX clients after VT switch
[   493.229] (II) intel(0): switch to mode 1680x1050@60.0 on VGA1 using pipe 0, position (0, 0), rotation normal, reflection none
[   493.280] (II) event1  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   493.280] (II) event1  - (II) Power Button: (II) device is a keyboard
[   493.281] (II) event0  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   493.281] (II) event0  - (II) Power Button: (II) device is a keyboard
[   493.333] (II) event3  - (II) USB Optical Mouse: (II) is tagged by udev as: Mouse
[   493.333] (II) event3  - (II) USB Optical Mouse: (II) device is a pointer
[   493.333] (II) event2  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[   493.333] (II) event2  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard


Make.conf :
Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=core2 -O2 -pipe"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="mjpeg -bindist kde qt3support dbus policykit udev udisks X acpi -systemd -semantic-desktop -pulseaudio -gudev alsa aac bash-completion bidi bzip2 cdr dts dvd dvdr encode ffmpeg flac imagemagick libass lm_sensors lzma mad matroska mp3 mp4 mpeg mplayer ogg qt5 theora v4l vorbis x264 xine xv xvid sdl vnc cups opus vpx truetype jpeg png svg taglib -wayland"


GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
ALSA_CARDS="hda-intel"
VIDEO_CARDS="intel i915"
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6308
Location: /usr/lib64/lv2

PostPosted: Fri Mar 23, 2018 1:42 pm    Post subject: Reply with quote

Do you have USE="gles2" for mesa?
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Ashie
n00b
n00b


Joined: 09 Apr 2016
Posts: 41

PostPosted: Sun Mar 25, 2018 6:12 am    Post subject: Reply with quote

media-libs/mesa xa wayland gles1 gles2
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5592

PostPosted: Sun Mar 25, 2018 7:36 am    Post subject: Reply with quote

Try `eselect mesa set i915 gallium`.
Back to top
View user's profile Send private message
Ashie
n00b
n00b


Joined: 09 Apr 2016
Posts: 41

PostPosted: Sun Mar 25, 2018 9:36 am    Post subject: Reply with quote

Allready set as such. Try classic ?
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2663
Location: Slovenia

PostPosted: Sun Mar 25, 2018 6:52 pm    Post subject: Reply with quote

The gallium driver should be 2.1 already, at least I'm not aware that they downgraded that one to 1.4. Only the classic driver was downgraded (because the hardware doesn't actually support 2.1, some of it is emulated in software, causing certain applications to crawl to a halt, in particular Chromium).

Anyway, explicit version overrides will work for sure:
Code:
export MESA_GL_VERSION_OVERRIDE=2.1 MESA_GLSL_VERSION_OVERRIDE=120
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