Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VIDEO_CARDS variable definition for Intel GPU
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
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Tue Aug 23, 2016 1:10 pm    Post subject: VIDEO_CARDS variable definition for Intel GPU Reply with quote

I have an Intel DQ35JO motherboard with integrated GPU. According to the Gentoo wiki Intel article my GPU belongs to the 4th generation (chipset Q35), so I need to set VIDEO_CARDS="intel i965". But if I do that and re-emerge the mesa package X won't start anymore.

/var/log/Xorg.0.log:
Code:
[  1211.260] (--) Log file renamed from "/var/log/Xorg.pid-26767.log" to "/var/log/Xorg.0.log"
[  1211.260]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  1211.260] X Protocol Version 11, Revision 0
[  1211.260] Build Operating System: Linux 4.7.2-gentoo x86_64 Gentoo
[  1211.260] Current Operating System: Linux desktop 4.7.2-gentoo #4 SMP Sun Aug 21 14:51:09 CEST 2016 x86_64
[  1211.260] Kernel command line: BOOT_IMAGE=/vmlinuz-4.7.2-gentoo root=/dev/mapper/Desktop-root ro crypt_root=/dev/sda3 root=/dev/mapper/Desktop-root dolvm init=/usr/lib/systemd/systemd keymap=it resume=/dev/mapper/Desktop-swap
[  1211.260] Build Date: 23 August 2016  01:21:07PM
[  1211.260] 
[  1211.260] Current version of pixman: 0.34.0
[  1211.260]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  1211.260] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1211.260] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 23 13:25:39 2016
[  1211.260] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1211.260] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1211.260] (==) No Layout section.  Using the first Screen section.
[  1211.260] (==) No screen section available. Using defaults.
[  1211.260] (**) |-->Screen "Default Screen Section" (0)
[  1211.260] (**) |   |-->Monitor "<default monitor>"
[  1211.260] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[  1211.260] (==) Automatically adding devices
[  1211.260] (==) Automatically enabling devices
[  1211.260] (==) Automatically adding GPU devices
[  1211.260] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1211.260] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  1211.260]    Entry deleted from font path.
[  1211.260] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1211.260]    Entry deleted from font path.
[  1211.260] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1211.260]    Entry deleted from font path.
[  1211.260] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1211.260]    Entry deleted from font path.
[  1211.261]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1211.261] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1211.261]    Entry deleted from font path.
[  1211.261]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1211.261] (==) FontPath set to:
   /usr/share/fonts/misc/
[  1211.261] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  1211.261] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1211.261] (II) Loader magic: 0x815ce0
[  1211.261] (II) Module ABI versions:
[  1211.261]    X.Org ANSI C Emulation: 0.4
[  1211.261]    X.Org Video Driver: 20.0
[  1211.261]    X.Org XInput driver : 22.1
[  1211.261]    X.Org Server Extension : 9.0
[  1211.261] (++) using VT number 7

[  1211.263] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c6
[  1211.263] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1211.263] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[  1211.264] (--) PCI:*(0:0:2:0) 8086:29b2:8086:4f4a rev 2, Mem @ 0xe0380000/524288, 0xd0000000/268435456, 0xe0200000/1048576, I/O @ 0x00002430/8, BIOS @ 0x????????/131072
[  1211.264] (--) PCI: (0:0:2:1) 8086:29b3:8086:4f4a rev 2, Mem @ 0xe0300000/524288
[  1211.264] (II) LoadModule: "glx"
[  1211.265] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  1211.266] (II) Module glx: vendor="X.Org Foundation"
[  1211.266]    compiled for 1.18.4, module version = 1.0.0
[  1211.266]    ABI class: X.Org Server Extension, version 9.0
[  1211.266] (==) AIGLX enabled
[  1211.266] (==) Matched intel as autoconfigured driver 0
[  1211.266] (==) Matched intel as autoconfigured driver 1
[  1211.266] (==) Matched modesetting as autoconfigured driver 2
[  1211.266] (==) Matched fbdev as autoconfigured driver 3
[  1211.266] (==) Matched vesa as autoconfigured driver 4
[  1211.266] (==) Assigned the driver to the xf86ConfigLayout
[  1211.266] (II) LoadModule: "intel"
[  1211.266] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  1211.266] (II) Module intel: vendor="X.Org Foundation"
[  1211.266]    compiled for 1.18.4, module version = 2.99.917
[  1211.266]    Module class: X.Org Video Driver
[  1211.266]    ABI class: X.Org Video Driver, version 20.0
[  1211.266] (II) LoadModule: "modesetting"
[  1211.266] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  1211.266] (II) Module modesetting: vendor="X.Org Foundation"
[  1211.266]    compiled for 1.18.4, module version = 1.18.4
[  1211.266]    Module class: X.Org Video Driver
[  1211.266]    ABI class: X.Org Video Driver, version 20.0
[  1211.266] (II) LoadModule: "fbdev"
[  1211.266] (WW) Warning, couldn't open module fbdev
[  1211.266] (II) UnloadModule: "fbdev"
[  1211.266] (II) Unloading fbdev
[  1211.266] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1211.266] (II) LoadModule: "vesa"
[  1211.266] (WW) Warning, couldn't open module vesa
[  1211.267] (II) UnloadModule: "vesa"
[  1211.267] (II) Unloading vesa
[  1211.267] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1211.267] (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
[  1211.267] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[  1211.267] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[  1211.267] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[  1211.267] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1211.267] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160425
[  1211.268] (WW) Falling back to old probe method for modesetting
[  1211.268] (--) intel(0): Integrated Graphics Chipset: Intel(R) Q35
[  1211.268] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1; using a maximum of 2 threads
[  1211.268] (II) intel(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[  1211.268] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  1211.268] (==) intel(0): RGB weight 888
[  1211.268] (==) intel(0): Default visual is TrueColor
[  1211.268] (II) intel(0): Output VGA1 has no monitor section
[  1211.268] (II) intel(0): Enabled output VGA1
[  1211.268] (II) intel(0): Output DVI1 has no monitor section
[  1211.268] (II) intel(0): Enabled output DVI1
[  1211.268] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[  1211.268] (II) intel(0): Output VIRTUAL1 has no monitor section
[  1211.268] (II) intel(0): Enabled output VIRTUAL1
[  1211.268] (--) intel(0): Output DVI1 using initial mode 1280x1024 on pipe 0
[  1211.268] (==) intel(0): TearFree disabled
[  1211.268] (==) intel(0): DPI set to (96, 96)
[  1211.268] (II) Loading sub module "dri2"
[  1211.268] (II) LoadModule: "dri2"
[  1211.268] (II) Module "dri2" already built-in
[  1211.268] (II) Loading sub module "present"
[  1211.268] (II) LoadModule: "present"
[  1211.268] (II) Module "present" already built-in
[  1211.268] (II) UnloadModule: "modesetting"
[  1211.268] (II) Unloading modesetting
[  1211.268] (==) Depth 24 pixmap format is 32 bpp
[  1211.268] (II) intel(0): SNA initialized with Alviso (gen3) backend
[  1211.268] (==) intel(0): Backing store enabled
[  1211.269] (==) intel(0): Silken mouse enabled
[  1211.269] (II) intel(0): HW Cursor enabled
[  1211.269] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  1211.269] (==) intel(0): DPMS enabled
[  1211.269] (==) intel(0): Display hotplug detection enabled
[  1211.269] (II) intel(0): [DRI2] Setup complete
[  1211.269] (II) intel(0): [DRI2]   DRI driver: i915
[  1211.269] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[  1211.269] (II) intel(0): direct rendering: DRI2 enabled
[  1211.269] (II) intel(0): hardware support for Present enabled
[  1211.269] (--) RandR disabled
[  1211.269] (EE) AIGLX error: dlopen of /usr/lib64/dri/i915_dri.so failed (/usr/lib64/dri/i915_dri.so: cannot open shared object file: No such file or directory)
[  1211.269] (EE) AIGLX: reverting to software rendering
[  1211.273] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  1211.273] (II) AIGLX: Loaded and initialized swrast
[  1211.273] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  1211.280] (II) intel(0): switch to mode 1280x1024@60.0 on DVI1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1211.280] (II) intel(0): Setting screen physical size to 338 x 270
[  1211.311] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[  1211.311] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  1211.312] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  1211.312] (**) Power Button: Applying InputClass "system-keyboard"
[  1211.312] (II) LoadModule: "libinput"
[  1211.312] (II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so
[  1211.313] (II) Module libinput: vendor="X.Org Foundation"
[  1211.313]    compiled for 1.18.4, module version = 0.19.0
[  1211.313]    Module class: X.Org XInput Driver
[  1211.313]    ABI class: X.Org XInput driver, version 22.1
[  1211.314] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 15 paused 0
[  1211.314] (II) Using input driver 'libinput' for 'Power Button'
[  1211.314] (**) Power Button: always reports core events
[  1211.314] (**) Option "Device" "/dev/input/event1"
[  1211.314] (**) Option "_source" "server/udev"
[  1211.314] (II) input device 'Power Button', /dev/input/event1 is tagged by udev as: Keyboard
[  1211.314] (II) input device 'Power Button', /dev/input/event1 is a keyboard
[  1211.314] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[  1211.314] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  1211.314] (**) Option "xkb_layout" "it"
[  1211.336] (II) input device 'Power Button', /dev/input/event1 is tagged by udev as: Keyboard
[  1211.336] (II) input device 'Power Button', /dev/input/event1 is a keyboard
[  1211.337] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[  1211.337] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  1211.337] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[  1211.337] (**) Sleep Button: Applying InputClass "system-keyboard"
[  1211.337] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 18 paused 0
[  1211.337] (II) Using input driver 'libinput' for 'Sleep Button'
[  1211.337] (**) Sleep Button: always reports core events
[  1211.337] (**) Option "Device" "/dev/input/event0"
[  1211.337] (**) Option "_source" "server/udev"
[  1211.338] (II) input device 'Sleep Button', /dev/input/event0 is tagged by udev as: Keyboard
[  1211.338] (II) input device 'Sleep Button', /dev/input/event0 is a keyboard
[  1211.338] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[  1211.338] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[  1211.338] (**) Option "xkb_layout" "it"
[  1211.338] (II) input device 'Sleep Button', /dev/input/event0 is tagged by udev as: Keyboard
[  1211.338] (II) input device 'Sleep Button', /dev/input/event0 is a keyboard
[  1211.339] (II) config/udev: Adding input device HDA Intel Rear Mic (/dev/input/event3)
[  1211.339] (II) No input driver specified, ignoring this device.
[  1211.339] (II) This device may have been added with another device file.
[  1211.339] (II) config/udev: Adding input device HDA Intel Front Mic (/dev/input/event4)
[  1211.339] (II) No input driver specified, ignoring this device.
[  1211.339] (II) This device may have been added with another device file.
[  1211.339] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event5)
[  1211.339] (II) No input driver specified, ignoring this device.
[  1211.339] (II) This device may have been added with another device file.
[  1211.339] (II) config/udev: Adding input device HDA Intel Line Out (/dev/input/event6)
[  1211.339] (II) No input driver specified, ignoring this device.
[  1211.339] (II) This device may have been added with another device file.
[  1211.340] (II) config/udev: Adding input device HDA Intel Front Headphone (/dev/input/event7)
[  1211.340] (II) No input driver specified, ignoring this device.
[  1211.340] (II) This device may have been added with another device file.
[  1211.340] (II) config/udev: Adding input device LITEON Technology USB Multimedia Keyboard (/dev/input/event8)
[  1211.340] (**) LITEON Technology USB Multimedia Keyboard: Applying InputClass "evdev keyboard catchall"
[  1211.340] (**) LITEON Technology USB Multimedia Keyboard: Applying InputClass "libinput keyboard catchall"
[  1211.340] (**) LITEON Technology USB Multimedia Keyboard: Applying InputClass "system-keyboard"
[  1211.341] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 19 paused 0
[  1211.341] (II) Using input driver 'libinput' for 'LITEON Technology USB Multimedia Keyboard'
[  1211.341] (**) LITEON Technology USB Multimedia Keyboard: always reports core events
[  1211.341] (**) Option "Device" "/dev/input/event8"
[  1211.341] (**) Option "_source" "server/udev"
[  1211.341] (II) input device 'LITEON Technology USB Multimedia Keyboard', /dev/input/event8 is tagged by udev as: Keyboard
[  1211.341] (II) input device 'LITEON Technology USB Multimedia Keyboard', /dev/input/event8 is a keyboard
[  1211.341] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/0003:046D:C312.0001/input/input11/event8"
[  1211.341] (II) XINPUT: Adding extended input device "LITEON Technology USB Multimedia Keyboard" (type: KEYBOARD, id 8)
[  1211.341] (**) Option "xkb_layout" "it"
[  1211.341] (II) input device 'LITEON Technology USB Multimedia Keyboard', /dev/input/event8 is tagged by udev as: Keyboard
[  1211.341] (II) input device 'LITEON Technology USB Multimedia Keyboard', /dev/input/event8 is a keyboard
[  1211.342] (II) config/udev: Adding input device Microsoft  Microsoft Basic Optical Mouse v2.0  (/dev/input/event9)
[  1211.342] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : Applying InputClass "evdev pointer catchall"
[  1211.342] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : Applying InputClass "libinput pointer catchall"
[  1211.393] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 20 paused 0
[  1211.393] (II) Using input driver 'libinput' for 'Microsoft  Microsoft Basic Optical Mouse v2.0 '
[  1211.393] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : always reports core events
[  1211.393] (**) Option "Device" "/dev/input/event9"
[  1211.393] (**) Option "_source" "server/udev"
[  1211.393] (II) input device 'Microsoft  Microsoft Basic Optical Mouse v2.0 ', /dev/input/event9 is tagged by udev as: Mouse
[  1211.393] (II) input device 'Microsoft  Microsoft Basic Optical Mouse v2.0 ', /dev/input/event9 is a pointer caps
[  1211.393] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0/0003:045E:00CB.0006/input/input15/event9"
[  1211.394] (II) XINPUT: Adding extended input device "Microsoft  Microsoft Basic Optical Mouse v2.0 " (type: MOUSE, id 9)
[  1211.394] (**) Option "AccelerationScheme" "none"
[  1211.394] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : (accel) selected scheme none/0
[  1211.394] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : (accel) acceleration factor: 2.000
[  1211.394] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : (accel) acceleration threshold: 4
[  1211.394] (II) input device 'Microsoft  Microsoft Basic Optical Mouse v2.0 ', /dev/input/event9 is tagged by udev as: Mouse
[  1211.394] (II) input device 'Microsoft  Microsoft Basic Optical Mouse v2.0 ', /dev/input/event9 is a pointer caps
[  1211.395] (II) config/udev: Adding input device Microsoft  Microsoft Basic Optical Mouse v2.0  (/dev/input/mouse0)
[  1211.395] (II) No input driver specified, ignoring this device.
[  1211.395] (II) This device may have been added with another device file.
[  1211.395] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
[  1211.395] (II) No input driver specified, ignoring this device.
[  1211.395] (II) This device may have been added with another device file.
[  1212.290] (**) Option "fd" "15"
[  1212.290] (**) Option "fd" "18"
[  1212.290] (**) Option "fd" "19"
[  1212.290] (**) Option "fd" "20"
[  1212.343] (II) systemd-logind: got pause for 13:65
[  1212.343] (II) systemd-logind: got pause for 226:0
[  1212.343] (II) systemd-logind: got pause for 13:72
[  1212.343] (II) systemd-logind: got pause for 13:64
[  1212.343] (II) systemd-logind: got pause for 13:73
[  2933.601] (II) UnloadModule: "libinput"
[  2933.601] (II) systemd-logind: releasing fd for 13:73
[  2933.612] (II) UnloadModule: "libinput"
[  2933.612] (II) systemd-logind: releasing fd for 13:72
[  2933.621] (II) UnloadModule: "libinput"
[  2933.621] (II) systemd-logind: releasing fd for 13:64
[  2933.625] (II) UnloadModule: "libinput"
[  2933.625] (II) systemd-logind: releasing fd for 13:65
[  2933.637] (II) Server terminated successfully (0). Closing log file.


In particular:

Code:
$ grep "(EE)" Xorg.0.log.old
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1211.266] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1211.267] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1211.269] (EE) AIGLX error: dlopen of /usr/lib64/dri/i915_dri.so failed (/usr/lib64/dri/i915_dri.so: cannot open shared object file: No such file or directory)
[  1211.269] (EE) AIGLX: reverting to software rendering


It seems Xorg wants i915 instead of i965. Indeed if I set VIDEO_CARDS="intel i915" and re-emerge the mesa package I can successfully start X.org.

Does my Intel GPU belong to the 3rd generation rather than to the 4th one? Is the Intel Gentoo wiki article wrong?

Edit #1:

Code:
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)


Edit #2: Found an old topic on this forum created by me about the same problem: https://forums.gentoo.org/viewtopic-p-7520662.html
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 Aug 23, 2016 1:37 pm    Post subject: Reply with quote

It is 3rd gen according to Wikipedia, so i915 is correct.

https://en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units#Third_generation

Dang forgot they did that, 3100 is less than 3000 - I had a G31 board that was definitely slower than my G965. I guess the Gentoo Wiki might be incorrect...
_________________
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
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Tue Aug 23, 2016 8:12 pm    Post subject: Reply with quote

Thank you for your input, eccerr0r. I added a comment on the talk page of the Intel Gentoo Wiki article, just to be sure before editing the feature support table myself.
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