LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-31-2009, 07:43 AM   #1
Samael
Member
 
Registered: Oct 2008
Location: England
Distribution: Ubuntu and Fedora (64-bit)
Posts: 81

Rep: Reputation: 16
Help Please - Shared Intel Graphics issue with Ubuntu 9.10


I've done a little google searching and and it seems that my issue is that Ubuntu is not able to use my GPU. Here is the CLI output:

root@ubuntu:/home/me# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Software Rasterizer

root@ubuntu:/home/me# egrep "(GLX|DRI)" /var/log/Xorg.0.log
(==) AIGLX enabled
(II) Loading extension GLX
(II) Loading extension XFree86-DRI
(II) Loading extension DRI2
(WW) intel(0): DRI2: failed to open drm device
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0

So the line "failed to open drm device" seems to be issue, but I don't know linux enough to know how to sort that. If you know, please share the knowledge. An explanation about how to prevent this in future would be helpful too, as I've done various Linux installs over the last few years and never had a problem like this.
 
Old 01-01-2010, 12:10 AM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,885
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
It should show something along the line of:
$ egrep "(GLX|DRI)" /var/log/Xorg.0.log
(II) Loading extension XFree86-DRI
(==) AIGLX enabled
(II) Loading extension GLX
(II) Loading extension DRI2
(II) intel(0): [DRI2] Setup complete
(II) intel(0): direct rendering: DRI2 Enabled
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so
(II) GLX: Initialized DRI2 GL provider for screen 0

glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 915G GEM 20090712 2009Q2 RC3 x86/MMX/SSE2

My xorg.conf:
Code:
Section "ServerFlags"
         Option		 "AllowMouseOpenFail"	"true"
         Option          "DontZap"              "off"
EndSection


Section "Device"
	Identifier	"Configured Video Device"
        Driver          "intel"
        Option "AccelMethod" "UXA"
        Option "MigrationHeuristic" "smart"
EndSection

Section "Module"
   Load   "dbe"
   Load   "dri"
   Load   "extmod"
   Load   "glx"
   Load   "bitmap"
   Load   "record"
   EndSection

Section "DRI"
   Mode   0666
EndSection
$ apt-cache policy xserver-xorg-video-intel
xserver-xorg-video-intel:
Installed: 2:2.9.1-1
Candidate: 2:2.9.1-1

make sure you have libgl1-mesa-dri, libgl1-mesa-glx, libdrm-intel1 all installed.

Graphics: Card Intel 82915G/GV/910GL Integrated Graphics Controller X.Org 1.6.5 Res: 1280x1024@60.0hz
GLX Renderer Mesa DRI Intel 915G GEM 20090712 2009Q2 RC3 x86/MMX/SSE2 GLX Version 1.4 Mesa 7.6.1 Direct Rendering Yes
 
Old 01-01-2010, 07:40 AM   #3
Samael
Member
 
Registered: Oct 2008
Location: England
Distribution: Ubuntu and Fedora (64-bit)
Posts: 81

Original Poster
Rep: Reputation: 16
It's not the same exactly. I got:

# apt-cache policy xserver-xorg-video-intel

xserver-xorg-video-intel:
Installed: 2:2.9.0-1ubuntu2
Candidate: 2:2.9.0-1ubuntu2
Version table:
*** 2:2.9.0-1ubuntu2 0
500 http://gb.archive.ubuntu.com karmic/main Packages
100 /var/lib/dpkg/status

I don't know how to check if I have those libraries you mentioned.
 
Old 01-17-2010, 12:30 PM   #4
Samael
Member
 
Registered: Oct 2008
Location: England
Distribution: Ubuntu and Fedora (64-bit)
Posts: 81

Original Poster
Rep: Reputation: 16
I'm still having issues with this. I've tried numerous things that have been in other related forum posts here and on other sites but nothing seems to solve the issue. I tried reinstalling the Intel driver, editing xorg.conf, and reconfiguring xserver - none of which helped.

Anyone that knows how to sort this then please let me know.
 
Old 01-25-2010, 03:19 AM   #5
Samael
Member
 
Registered: Oct 2008
Location: England
Distribution: Ubuntu and Fedora (64-bit)
Posts: 81

Original Poster
Rep: Reputation: 16
I've been trying to get help for this on UbuntuForums as well. It seems that the problem is due to the fact that I only have entries on Grub for the old install for 9.04

I know this can be edited on /boot/grub/menu.lst, but I have no idea what should be put there to load into 9.10 correctly. Anyone able to help?
 
Old 01-25-2010, 09:08 AM   #6
Samael
Member
 
Registered: Oct 2008
Location: England
Distribution: Ubuntu and Fedora (64-bit)
Posts: 81

Original Poster
Rep: Reputation: 16
Amazingly I now have this sorted - thanks to a post on ubuntuforums.org by 'hetx'. Basically /boot/grub/menu.lst still had the entry for 9.04 instead of 9.10 and there was no entry for vga:
Code:
title           Ubuntu 9.04, kernel 2.6.28-15-generic
uuid            d538a749-06c9-4d15-b2c0-1778c423994f
kernel          /boot/vmlinuz-2.6.28-15-generic root=UUID=d538a749-06c9-4d15-b2c0-1778c423994f ro quiet splash
initrd          /boot/initrd.img-2.6.28-15-generic
quiet
I changed this to:
Code:
title       Ubuntu 9.10, kernel 2.6.31-14-generic
uuid        d538a749-06c9-4d15-b2c0-1778c423994f
kernel      /boot/vmlinuz-2.6.31-14-generic root=UUID=d538a749-06c9-4d15-b2c0-1778c423994f ro vga=318 splash quiet
initrd      /boot/initrd.img-2.6.31-14-generic
quiet
Which seems to have sorted it out. Now if I enter:
glxinfo | grep render

The output is:
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090712 2009Q2 RC3 x86/MMX/SSE2
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine emulation issue on a FC 6 variant using an Intel 856 Graphics card. quietstoryteller2009 Linux - Games 4 05-15-2008 12:35 PM
Intel 945 graphics issue on Slack 10.2 brooky9999 Slackware 12 03-29-2008 11:19 AM
I need help with Intel graphics problem on Ubuntu lookforlohith Linux - Software 1 03-20-2008 06:00 PM
Intel i810 on-board graphics card bug, with Ubuntu server 7.04 running Ubuntu-Desktop calebf Linux - Server 2 05-14-2007 11:53 PM
Dell Inspiron 6400/Intel Graphics Media Accelerator 950 issue nexuslogik Linux - Laptop and Netbook 1 01-05-2007 02:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration