Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old October 20th, 2007   #1
oli_
5 Cups of Ubuntu
 
Join Date: Oct 2007
Beans: 18
[SOLVED] Direct Rendering fails on HP G7000 (Intel 965GM graphics)

Hi,
I'm running a clean installation of Gutsy which detected my Intel 965 chipset with its native resolution (1280x800) without any problems.
only direct rendering does not work:

~$ glxinfo | grep rendering
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

I'm kinda noobish with linux so i dont know how to handle this error

heres my xorg.conf, I didnt change anything.

Code:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizEdgeScroll"	"0"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
	Driver		"intel"
	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1280x800"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"

# Uncomment if you have a wacom tablet
#	InputDevice     "stylus"	"SendCoreEvents"
#	InputDevice     "cursor"	"SendCoreEvents"
#	InputDevice     "eraser"	"SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
EndSection
oli_ is offline  
Old October 20th, 2007   #2
Stemp
Dipped in Ubuntu
 
Stemp's Avatar
 
Join Date: Apr 2005
Location: Paris
Beans: 595
Xubuntu 9.10 Karmic Koala
Re: Direct Rendering fails on HP G7000 (Intel 965GM graphics)

Can you look at the xorg logs to search for error messages ?

Code:
cat /var/log/Xorg.0.log | grep EE
__________________
Sorry for my English - Home Page - PPA Webkit - PPA Midori - PPA Liferea - Personal PPA
«Violence never settles anything.» - Genghis Khan, 1162-1227
Stemp is offline  
Old October 20th, 2007   #3
oli_
5 Cups of Ubuntu
 
Join Date: Oct 2007
Beans: 18
Re: Direct Rendering fails on HP G7000 (Intel 965GM graphics)

Code:
$ cat /var/log/Xorg.0.log | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
oli_ is offline  
Old October 20th, 2007   #4
Stemp
Dipped in Ubuntu
 
Stemp's Avatar
 
Join Date: Apr 2005
Location: Paris
Beans: 595
Xubuntu 9.10 Karmic Koala
Re: Direct Rendering fails on HP G7000 (Intel 965GM graphics)

Is the package libgl1-mesa-dri installed ?
If not install it and restart X.
__________________
Sorry for my English - Home Page - PPA Webkit - PPA Midori - PPA Liferea - Personal PPA
«Violence never settles anything.» - Genghis Khan, 1162-1227
Stemp is offline  
Old October 20th, 2007   #5
oli_
5 Cups of Ubuntu
 
Join Date: Oct 2007
Beans: 18
Re: Direct Rendering fails on HP G7000 (Intel 965GM graphics)

worked smoothly, thanks for the tip
oli_ is offline  
Old October 20th, 2007   #6
rsa
First Cup of Ubuntu
 
Join Date: May 2007
Beans: 4
Re: [SOLVED] Direct Rendering fails on HP G7000 (Intel 965GM graphics)

I have the same problem. Except for:
Code:
$ cat /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
My xorg.conf is practically the same.
rsa is offline  
Old October 20th, 2007   #7
Stemp
Dipped in Ubuntu
 
Stemp's Avatar
 
Join Date: Apr 2005
Location: Paris
Beans: 595
Xubuntu 9.10 Karmic Koala
Re: [SOLVED] Direct Rendering fails on HP G7000 (Intel 965GM graphics)

You don't have the same error

try to look at the warnings :

Code:
cat /var/log/Xorg.0.log | grep WW
__________________
Sorry for my English - Home Page - PPA Webkit - PPA Midori - PPA Liferea - Personal PPA
«Violence never settles anything.» - Genghis Khan, 1162-1227
Stemp is offline  
Old October 20th, 2007   #8
rsa
First Cup of Ubuntu
 
Join Date: May 2007
Beans: 4
Re: [SOLVED] Direct Rendering fails on HP G7000 (Intel 965GM graphics)

Here it is:
Code:
$ cat /var/log/Xorg.0.log | grep WW
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) No FontPath specified.  Using compiled-in default.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
I've found an interesting fact. If I delete file /etc/X11/Xsession.d/98xserver-xgl_start-server, I get direct rendering enabled and glxgears works. But than I can't enable compiz.
Here content of that file:
Code:
$ cat /etc/X11/Xsession.d/98xserver-xgl_start-server 
# This file is sourced by Xsession(5), not executed.

XGL_START=/usr/share/xserver-xgl/Xgl-session
XGL_DISPLAY=:1
XGL_OPTS="-nolisten tcp -fullscreen -br +xinerama"

if [ -n $XDG_CONFIG_HOME ] ; then
    KILLSWITCH=$HOME/.config/xserver-xgl/disable
else
    KILLSWITCH=$XDG_CONFIG_HOME/xserver-xgl/disable
fi

if [ -x $XGL_START ] && [ ! -e $KILLSWITCH ]; then
        STARTUP="$XGL_START $XGL_DISPLAY $XGL_OPTS --execute $STARTUP"
fi
rsa is offline  
Old October 20th, 2007   #9
Stemp
Dipped in Ubuntu
 
Stemp's Avatar
 
Join Date: Apr 2005
Location: Paris
Beans: 595
Xubuntu 9.10 Karmic Koala
Re: [SOLVED] Direct Rendering fails on HP G7000 (Intel 965GM graphics)

Ok you don't have anything to install, you have to remove a package.
Just remove xserver-xgl, you don't need xgl anymore with intel drivers.
__________________
Sorry for my English - Home Page - PPA Webkit - PPA Midori - PPA Liferea - Personal PPA
«Violence never settles anything.» - Genghis Khan, 1162-1227
Stemp is offline  
Old October 20th, 2007   #10
rsa
First Cup of Ubuntu
 
Join Date: May 2007
Beans: 4
Re: [SOLVED] Direct Rendering fails on HP G7000 (Intel 965GM graphics)

Yeah. It helps too. And glxgears works now. But compiz fails to start.
Code:
$ compiz --replace
Checking for Xgl: not present. 
Blacklisted PCIID '8086:29a2' found 
aborting and using fallback: /usr/bin/metacity
rsa is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:06 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry