LinuxQuestions.org
Review your favorite Linux distribution.
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 03-28-2010, 07:10 PM   #1
emiretsk
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
DRI2 extension return empty driver name when running gallium3d for i965


Hi,

I am trying to run gallium3d for i965. I compiled i965_dri.so, but when I call glxCreateContext, __glxIntizalize cannot load the proper driver and instead loads the softpipe driver.

I debugged the code and the problem is that the i965 driver is not loaded because __glxIntizalize cannot find a dri2 driver - the reply from the xserver returns an empty driver name string. Here is the code that does that:

XextCheckExtension(dpy, info, dri2ExtensionName, False);

LockDisplay(dpy);
GetReq(DRI2Connect, req);
req->reqType = info->codes->major_opcode;
req->dri2ReqType = X_DRI2Connect;
req->window = window;
req->driverType = DRI2DriverDRI;
if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) {
UnlockDisplay(dpy);
SyncHandle();
return False;
}
// At this point rep.driverNameLength = 0.

Regards,
Eugene
 
  


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
LXer: A New Intel i965 Gallium3D Driver Is Coming LXer Syndicated Linux News 2 03-28-2010 07:23 PM
LXer: Benchmarks Of Nouveau's Gallium3D Driver LXer Syndicated Linux News 0 02-17-2010 08:50 AM
LXer: VMware Releases Its New Gallium3D Driver LXer Syndicated Linux News 0 11-17-2009 10:50 AM
How to return empty char * ? cpthk Programming 16 08-28-2009 11:17 PM
LXer: Testing Out AMD's DRI2 Driver Stack LXer Syndicated Linux News 0 05-13-2009 06:40 PM

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

All times are GMT -5. The time now is 01:04 AM.

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