g45 opengl support for xbmc
Hello,
I use the trisquel-mini_6.0_i686.iso as a live USB, 2D graphics are OK.
I installed xbmc with apt-get but when I launch it I get the error
"XBMC needs hardware accelerated OpenGL rendering. Install an appropriate graphics driver." and a link to http://wiki.xbmc.org/index.php?title=Supported_hardware
The G45 Chipset is in the supported list
My /etc/X11/xorg.conf has only those lines by default :
trisquel@trisquel:~$ cat /etc/X11/Xorg.conf
cat: /etc/X11/Xorg.conf: No such file or directory
trisquel@trisquel:~$ cat /etc/X11/xorg.conf
Section "Device"
Identifier "Device0"
Driver "intel"
VendorName "INTEL Corporation"
EndSection
when I launch glxinfo I get :
trisquel@trisquel:~$ glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
lspci :
trisquel@trisquel:~$ lspci | grep -i VGA | awk '{print "sudo lspci -kvnn -s "$1}' | bash
00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e22] (rev 03) (prog-if 00 [VGA controller])
Subsystem: Foxconn International, Inc. Device [105b:0de3]
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at fe400000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at cc00 [size=8]
Expansion ROM at [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
Kernel modules: i915
Part of /var/log/Xorg.0.log :
trisquel@trisquel:~$ cat /var/log/Xorg.0.log
[ 28417.391]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 28417.391] X Protocol Version 11, Revision 0
[ 28417.391] Build Operating System: Linux 2.6.42-37-generic i686 Ubuntu
[ 28417.391] Current Operating System: Linux trisquel 3.2.0-38-generic-pae #0trisquel1 SMP Wed Feb 27 18:10:11 UTC 2013 i686
[ 28417.391] Kernel command line: initrd=/ubninit cdrom-detect/try-usb=true persistent file=/cdrom/preseed/trisquel.seed boot=casper splash quiet noprompt -- BOOT_IMAGE=/ubnkern
[ 28417.391] Build Date: 27 February 2013 02:12:16AM
[ 28417.391] xorg-server 2:1.11.4-0ubuntu10.12 (For technical support please see http://www.ubuntu.com/support)
[ 28417.391] Current version of pixman: 0.24.4
[ 28417.391] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 28417.391] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 28417.391] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar 24 22:28:56 2013
[ 28417.391] (==) Using config file: "/etc/X11/xorg.conf"
[ 28417.391] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 28417.391] (==) No Layout section. Using the first Screen section.
[ 28417.392] (==) No screen section available. Using defaults.
[ 28417.392] (**) |-->Screen "Default Screen Section" (0)
[ 28417.392] (**) | |-->Monitor ""
[ 28417.392] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 28417.392] (**) | |-->Device "Device0"
[ 28417.392] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 28417.392] (==) Automatically adding devices
[ 28417.392] (==) Automatically enabling devices
[ 28417.392] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[ 28417.392] Entry deleted from font path.
[ 28417.392] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 28417.392] Entry deleted from font path.
[ 28417.392] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 28417.392] Entry deleted from font path.
[ 28417.392] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 28417.392] Entry deleted from font path.
[ 28417.392] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 28417.392] Entry deleted from font path.
[ 28417.392] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 28417.392] Entry deleted from font path.
[ 28417.392] (WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
[ 28417.392] Entry deleted from font path.
[ 28417.392] (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
[ 28417.392] (==) FontPath set to:
/usr/share/fonts/X11/Type1,
built-ins
[ 28417.392] (==) ModulePath set to "/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 28417.392] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 28417.392] (II) Loader magic: 0xb77905a0
[ 28417.392] (II) Module ABI versions:
[ 28417.392] X.Org ANSI C Emulation: 0.4
[ 28417.392] X.Org Video Driver: 11.0
[ 28417.392] X.Org XInput driver : 16.0
[ 28417.392] X.Org Server Extension : 6.0
[ 28417.393] (--) PCI:*(0:0:2:0) 8086:2e22:105b:0de3 rev 3, Mem @ 0xfe400000/4194304, 0xd0000000/268435456, I/O @ 0x0000cc00/8
[ 28417.393] (--) PCI: (0:0:2:1) 8086:2e23:105b:0de3 rev 3, Mem @ 0xfe900000/1048576
[ 28417.393] (II) Open ACPI successful (/var/run/acpid.socket)
[ 28417.393] (II) LoadModule: "extmod"
[ 28417.393] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 28417.393] (II) Module extmod: vendor="X.Org Foundation"
[ 28417.393] compiled for 1.11.3, module version = 1.0.0
[ 28417.393] Module class: X.Org Server Extension
[ 28417.393] ABI class: X.Org Server Extension, version 6.0
[ 28417.393] (II) Loading extension MIT-SCREEN-SAVER
[ 28417.393] (II) Loading extension XFree86-VidModeExtension
[ 28417.393] (II) Loading extension XFree86-DGA
[ 28417.393] (II) Loading extension DPMS
[ 28417.393] (II) Loading extension XVideo
[ 28417.393] (II) Loading extension XVideo-MotionCompensation
[ 28417.393] (II) Loading extension X-Resource
[ 28417.393] (II) LoadModule: "dbe"
[ 28417.394] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 28417.394] (II) Module dbe: vendor="X.Org Foundation"
[ 28417.394] compiled for 1.11.3, module version = 1.0.0
[ 28417.394] Module class: X.Org Server Extension
[ 28417.394] ABI class: X.Org Server Extension, version 6.0
[ 28417.394] (II) Loading extension DOUBLE-BUFFER
[ 28417.394] (II) LoadModule: "glx"
[ 28417.394] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 28417.394] (II) Module glx: vendor="X.Org Foundation"
[ 28417.394] compiled for 1.11.3, module version = 1.0.0
[ 28417.394] ABI class: X.Org Server Extension, version 6.0
[ 28417.394] (==) AIGLX enabled
[ 28417.394] (II) Loading extension GLX
[ 28417.394] (II) LoadModule: "record"
[ 28417.394] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 28417.394] (II) Module record: vendor="X.Org Foundation"
[ 28417.394] compiled for 1.11.3, module version = 1.13.0
[ 28417.394] Module class: X.Org Server Extension
[ 28417.394] ABI class: X.Org Server Extension, version 6.0
[ 28417.394] (II) Loading extension RECORD
[ 28417.394] (II) LoadModule: "dri"
[ 28417.395] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 28417.395] (II) Module dri: vendor="X.Org Foundation"
[ 28417.395] compiled for 1.11.3, module version = 1.0.0
[ 28417.395] ABI class: X.Org Server Extension, version 6.0
[ 28417.395] (II) Loading extension XFree86-DRI
[ 28417.395] (II) LoadModule: "dri2"
[ 28417.395] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 28417.395] (II) Module dri2: vendor="X.Org Foundation"
[ 28417.395] compiled for 1.11.3, module version = 1.2.0
[ 28417.395] ABI class: X.Org Server Extension, version 6.0
[ 28417.395] (II) Loading extension DRI2
[ 28417.395] (II) LoadModule: "intel"
[ 28417.395] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 28417.395] (II) Module intel: vendor="X.Org Foundation"
[ 28417.395] compiled for 1.11.3, module version = 2.17.0
[ 28417.395] Module class: X.Org Video Driver
[ 28417.395] ABI class: X.Org Video Driver, version 11.0
[ 28417.395] (II) intel: Driver for Intel 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, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
Ivybridge Server (GT2)
[ 28417.395] (++) using VT number 7
[ 28417.397] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 28417.397] drmOpenDevice: node name is /dev/dri/card0
[ 28417.397] drmOpenDevice: open result is 12, (OK)
[ 28417.397] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[ 28417.397] drmOpenDevice: node name is /dev/dri/card0
[ 28417.397] drmOpenDevice: open result is 12, (OK)
[ 28417.397] drmOpenByBusid: drmOpenMinor returns 12
[ 28417.397] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[ 28417.397] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 28417.397] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 28417.397] (==) intel(0): RGB weight 888
[ 28417.397] (==) intel(0): Default visual is TrueColor
[ 28417.397] (II) intel(0): Integrated Graphics Chipset: Intel(R) G45/G43
[ 28417.397] (--) intel(0): Chipset: "G45/G43"
[ 28417.397] (**) intel(0): Relaxed fencing enabled
[ 28417.397] (**) intel(0): Wait on SwapBuffers? enabled
[ 28417.397] (**) intel(0): Triple buffering? enabled
[ 28417.397] (**) intel(0): Framebuffer tiled
[ 28417.397] (**) intel(0): Pixmaps tiled
[ 28417.397] (**) intel(0): 3D buffers tiled
[ 28417.397] (**) intel(0): SwapBuffers wait enabled
[ 28417.397] (==) intel(0): video overlay key set to 0x101fe
[ 28417.478] (II) intel(0): Output VGA1 has no monitor section
[ 28417.678] (II) intel(0): Output HDMI1 has no monitor section
[ 28417.724] (II) intel(0): Output DP1 has no monitor section
[ 28417.852] (II) intel(0): Output HDMI2 has no monitor section
[ 28417.852] (II) intel(0): Output DP2 has no monitor section
[ 28417.934] (II) intel(0): EDID for output VGA1
[ 28417.934] (II) intel(0): Manufacturer: SAM Model: 11f Serial#: 1296707897
[ 28417.934] (II) intel(0): Year: 2005 Week: 43
[ 28417.934] (II) intel(0): EDID Version: 1.3
[ 28417.934] (II) intel(0): Analog Display Input, Input Voltage Level: 0.700/0.700 V
In addition, when I execute the "intel-linux-graphics-installer" installer with dpkg -i intel-linux-graphics-installer_1.0_i386.deb
I get "Distribution not supported" that seems logic if the installer looks for ubuntu.
Please tell me what I have to do, install a new kernel, add xorg.conf sections?
Thanks in advance
This is probably what's happening http://askubuntu.com/questions/220271/no-glx-on-intel-card-with-multiseat-with-additional-nvidia-card
Hello,
Thanks for your answer but it didn't solve the problem.
Adding this section :
Section "Files"
ModulePath "/usr/lib/xorg/extra-modules"
ModulePath "/usr/lib/xorg/modules"
EndSection
to the xorg.conf doesn't change anything because /usr/lib/i386-linux-gnu/xorg/extra-modules doesn't contain any file.
This command did solve the problem :
apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri
source = http://debianforum.de/forum/viewtopic.php?p=912902#p912902
Glad you got it sorted. Thanks for posting the solution!