Bug 8384

Summary: glxgears fails on G965
Product: xorg Reporter: Avi Kivity <avi>
Component: Driver/intelAssignee: Alan Hourihane <alanh>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: high CC: erik.andren
Version: 7.1 (2006.05)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log none

Description Avi Kivity 2006-09-21 10:14:20 UTC
glxgears fails immediately:

[avi@firebolt ~]$ strace -e trace=ioctl glxgears
ioctl(4, DECODER_SET_PICTURE, 0xbf8b4680) = -1 EACCES (Permission denied)
ioctl(4, DECODER_GET_CAPABILITIES, 0xbf8b4684) = 0
ioctl(4, DECODER_GET_CAPABILITIES, 0xbf8b4684) = 0
ioctl(4, DECODER_GET_STATUS or DEVFSDIOC_SET_EVENT_MASK, 0xbf8b49ac) = 0
ioctl(4, DEVFSDIOC_GET_PROTO_REV, 0x8052090) = 0
ioctl(4, DEVFSDIOC_GET_PROTO_REV, 0x8052090) = 0
ioctl(4, 0xc0086446, 0xbf8b4914)        = 0
ioctl(4, 0xc0086446, 0xbf8b4914)        = 0
libGL warning: 3D driver claims to not support visual 0x5a
ioctl(4, 0x4008642a, 0xbf8b4b34)        = 0
ioctl(4, 0x4008642b, 0xbf8b4b5c)        = 0

[...]

ioctl(4, 0x40186443, 0xbf8b43b4)        = 0
ioctl(4, 0x4008642b, 0xbf8b43ec)        = 0
ioctl(4, 0x4008642a, 0xbf8b4b44)        = 0
ioctl(4, 0x4018644b, 0xbf8b4b24)        = -1 EINVAL (Invalid argument)
DRM_I830_CMDBUFFER: -22

This is on a G965 chipset:

00:02.0 VGA compatible controller: Intel Corporation G965 Integrated Graphics 
Controller (rev 02)
Comment 1 Alan Hourihane 2006-09-25 13:48:09 UTC
please post your Xorg logfile and let us know the kernel versions you are using.
Comment 2 Avi Kivity 2006-10-02 09:07:56 UTC
Created attachment 7233 [details]
Xorg.0.log

Xorg.0.log
Comment 3 Avi Kivity 2006-10-02 09:08:25 UTC
The bug went away when I recompiled (with the intent of adding debug code to) 
i965_dri.so from mesa.  Note I didn't change anything yet - just a plain 
recompile.

This is mesa from fedora rawhide: mesa-libGL-6.5.1-3.fc6

I'm now using kernel-PAE-2.6.18-1.2708.fc6
Comment 4 Alan Hourihane 2006-10-02 09:10:59 UTC
O.k. if it's working now, closing this.
Comment 5 Michel Dänzer 2006-11-14 02:46:45 UTC
*** Bug 9007 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.