LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2008, 07:41 AM   #1
ywwow
LQ Newbie
 
Registered: Nov 2008
Location: China
Distribution: Gentoo
Posts: 6

Rep: Reputation: 0
How to solve "AIGLX: Screen 0 is not DRI capable "


I have installed Xorg-11.After runing the command “startx” ,it showed some windows which could be moved. on the top-right there was a clock.Is it the "twm"? I typed "exit" and it turned back to the commandline mode. And it showed a error::"(EE) AIGLX: Screen 0 is not DRI capable". I do not know what it means. How to solve it?
 
Old 11-21-2008, 07:48 AM   #2
ptemmerman
Member
 
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
Ywwow,

You're question doesn't have a simple answer.
I mean, you will need to investigate several stuff in order to get it working, as it depends on different factors, for example the video card that you have.

1. Make sure that your video card supports DRI. Most actual Nvidia and ATI cards do.

2. Make sure you have the driver (opensource or proprietary) enabled for your video card. A search on the forum might help in order to figure this out.

A good place to start is looking at /etc/X11/xorg.conf which should state the driver your video card is using. I have an ATI card, so I can only tell you that it should either be fglrx or radeon.
Also look whether you have the following enabled:

Quote:
Section "Module"
Load "dri"
Load "glx"
Load "extmod"
EndSection
Although the above options might differ. I'm not an expert at this, but I have seen people using other configurations.

I hope this already gets you started.
 
Old 11-22-2008, 01:06 AM   #3
ywwow
LQ Newbie
 
Registered: Nov 2008
Location: China
Distribution: Gentoo
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks!
This is my xorg.conf. Would you mind having a look at it and pointing out where the key is?
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice	"XWorkAround"
	InputDevice	"VMware Keyboard"	"CoreKeyboard"
	InputDevice "VMware Mouse"	"CorePointer"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "record"
	Load  "dri"
	Load  "GLcore"
	Load  "dbe"
	Load  "glx"
	Load  "extmod"
	Load  "xtrap"
	Load  "type1"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "VMware Keyboard"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "VMware Mouse"
	Driver      "vmmouse"
	Option	    "Protocol" "ps/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
	Option		"Emulate3Buttons"	"true"
EndSection


Section "Device"
    Identifier  "VMware SVGA"
    Driver      "vmware"
EndSection

Section "Screen"
	Identifier "Screen0"
    Device      "VMware SVGA"
    Monitor     "vmware"
    # Don't specify DefaultColorDepth unless you know what you're
    # doing. It will override the driver's preferences which can
    # cause the X server not to run if the host doesn't support the
    # depth.
    Subsection "Display"
        # VGA mode: better left untouched
        Depth       4
        Modes       "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       8
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       15
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Monitor"
    Identifier      "vmware"
    VendorName      "VMware, Inc"
    HorizSync       1-10000
    VertRefresh     1-10000
EndSection

Section "InputDevice"
	Identifier  "XWorkAround"
	Driver      "void"
EndSection
 
Old 11-24-2008, 02:35 AM   #4
ptemmerman
Member
 
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
Hi.

From your xorg configuration I can derive that you are using VMWare.
As far as I know it is currently not possible to have 3D desktops working in a virtualized environment.
A thread about all this, here:
http://www.linuxquestions.org/questi...server-614657/
 
Old 11-25-2008, 04:15 AM   #5
ywwow
LQ Newbie
 
Registered: Nov 2008
Location: China
Distribution: Gentoo
Posts: 6

Original Poster
Rep: Reputation: 0
My VMWare is VMWare workstation 6.5, not VMWare Server. And I am puzzled that does GUI have someting to do whith 3D acceleration? I thought X was a programme enabled both 2D and 3D graphics.

I installed Unbuntu with Gnome at a virtual machine. It worked well. If 3D desktops could not be run in a virtualized environment, that would not be explained.
 
Old 11-25-2008, 07:18 AM   #6
ptemmerman
Member
 
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
Quote:
Originally Posted by ywwow View Post
My VMWare is VMWare workstation 6.5, not VMWare Server. And I am puzzled that does GUI have someting to do whith 3D acceleration? I thought X was a programme enabled both 2D and 3D graphics.

I installed Unbuntu with Gnome at a virtual machine. It worked well. If 3D desktops could not be run in a virtualized environment, that would not be explained.
What are you referring to by GUI?
At the end X isn't really the one who is providing 3d acceleration, it's the graphics card. And that's where the problem is. The emulated VMWare graphics card does not have support for 3d acceleration. Maybe your real graphics card does, but your Linux has no access to that, since it's running in a virtualized environment.
 
Old 11-25-2008, 07:31 AM   #7
ptemmerman
Member
 
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
To prove what I mean, execute "lspci" in your Linux box.
There should be a line like below:

00:0f.0 VGA compatible controller: VMware Inc Abstract SVGA II Adapter

Note that this is not the graphics card of your host system.
Do a Google search "VMware Inc Abstract SVGA II Adapter 3d acceleration"

From what I see, it is not supported.
 
Old 11-26-2008, 01:50 AM   #8
ywwow
LQ Newbie
 
Registered: Nov 2008
Location: China
Distribution: Gentoo
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks a lot!

In fact I do not understand the meaning of "AIGLX: Screen 0 is not DRI capable ". What would be coursed by this problem? So still I am puzzled with what you say. I thought X was a service to enable graphics. Besides 3D, there is 2D graphics. Could you tell me someting about the real meaning of this sentence and the relation to 3D acceleration?


I apologize for my poor English which even could not help to state my meaning clearly. Searching for words to form a passage...
 
Old 11-26-2008, 02:34 AM   #9
ptemmerman
Member
 
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
And I am sorry that I don't speak any Chinese :-)

Some info about AIGLX:
http://en.wikipedia.org/wiki/AIGLX

Some info about DRI:
http://en.wikipedia.org/wiki/Direct_...Infrastructure

I'm sure those articles will also be available in Chinese.

Hope that helps.

In order to get your X server working without 3D support, I assume you will need to remove the following lines from /etc/X11/xorg.conf:

Quote:
Load "dri"
Load "GLcore"
Load "glx"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem with geraphic card :"(EE) AIGLX:screen 0 is not dri capable" a.dehqan Linux - Desktop 3 09-22-2008 04:53 PM
AIGLX: Screen 0 is not DRI capable lord_didger Debian 10 08-12-2008 02:07 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
how to solve missing "XFree86-DRI" on display ":0.0" digitX Linux - Software 13 03-05-2005 04:46 AM
bash-2.05b# Xlib: extension "XFree86-DRI" missing on display ":0.0". citrus Linux - General 8 02-22-2004 11:43 AM


All times are GMT -5. The time now is 05:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration