config Ubuntu Lucid for Intel GM965/GL960 video hardware
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Under Ubuntu Lucid, all of the X11 configuration happens dynamically during system start and user login. Whatever happens by magic mostly works, but I want to make sure that I'm using all of the hardware available and not simple a set of midddle-of-road settings.
Q1: How do I as X11 to report which driver parameter are currently used?
Q2: How do I set alternate driver paramters so that X11 will use them?
Q3: The lshwoutput shows two displays, display:0 and display:1. Can someone tell me why two and how to make use of both of these?
NOTE -- The existing forum entries are mostly from April 2009 or talk about Compiz issues. While Compiz will squeeze video hardware pretty well, I use a tablet-PC and so far, Compiz features do not play well with tablet features.
Last edited by SaintDanBert; 07-14-2010 at 07:22 PM.
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 10600000
X.Org version: 1.6.0
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x7c00059, revert to PointerRoot
number of extensions: 27
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
DRI2
GLX
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-DGA
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1400x1050 pixels (245x184 millimeters)
resolution: 145x145 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0xdf
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xfac033
KeyPressMask KeyReleaseMask EnterWindowMask
LeaveWindowMask KeymapStateMask ExposureMask
StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask
FocusChangeMask PropertyChangeMask ColormapChangeMask
number of visuals: 36
default visual id: 0x21
visual:
visual id: 0x21
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
...
... a long list of other "visual" entries
...
Also, svinfo reports:
Code:
X-Video Extension version 2.2
screen #0
Adaptor #0: "Intel(R) Textured Video"
number of ports: 16
port base: 96
operations supported: PutImage
supported visuals:
depth 24, visualID 0x21
number of attributes: 3
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 0)
"XV_SYNC_TO_VBLANK" (range -1 to 1)
client settable attribute
client gettable attribute (current value is 1)
maximum XvImage size: 2048 x 2048
Number of image formats: 5
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x434d5658 (XVMC)
guid: 58564d43-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
Adaptor #1: "Intel(R) Video Overlay"
number of ports: 1
port base: 112
operations supported: PutImage
supported visuals:
depth 24, visualID 0x21
number of attributes: 12
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is -19)
"XV_CONTRAST" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 75)
"XV_SATURATION" (range 0 to 1023)
client settable attribute
client gettable attribute (current value is 146)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_PIPE" (range -1 to 1)
client settable attribute
client gettable attribute (current value is -1)
"XV_GAMMA0" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 526344)
"XV_GAMMA1" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 1052688)
"XV_GAMMA2" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 2105376)
"XV_GAMMA3" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 4210752)
"XV_GAMMA4" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 8421504)
"XV_GAMMA5" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 12632256)
maximum XvImage size: 2048 x 2048
Number of image formats: 5
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x434d5658 (XVMC)
guid: 58564d43-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
I have almost no idea what most of this means and how it might be useful.
Last edited by SaintDanBert; 07-14-2010 at 07:32 PM.
Q1: How do I as X11 to report which driver parameter are currently used?
According to the xvinfo, you are using the correct "intel" driver for your GPU.
Quote:
Q2: How do I set alternate driver paramters so that X11 will use them?
And what parameters might you be talking about?
Quote:
Q3: The lshwoutput shows two displays, display:0 and display:1. Can someone tell me why two and how to make use of both of these?
You probably have more than an one output on our machine (perhaps an internal LVDS display and an external DVI or VGA, for example). You can use xrandr to activate them both.
You say that xvinfo tells you that I'm running the correct driver. Which details tell you that because I don't see them?
Where do I find docs or similar so that I might learn {a lot} more about contemporary X11?
Specifically, are any docs available that describe the dynamic configuration processing?
Quote:
Originally Posted by adamk75
...
You probably have more than an one output on our machine (perhaps an internal LVDS display and an external DVI or VGA, for example). You can use xrandr to activate them both.
Adam
(blush) I completely forgot about the external monitor port.
You say that xvinfo tells you that I'm running the correct driver. Which details tell you that because I don't see them?
Code:
Adaptor #0: "Intel(R) Textured Video"
Only the intel video driver provides the intel textured video adaptor.
Code:
Where do I find docs or similar so that I might learn {a lot} more about contemporary X11?
Specifically, are any docs available that describe the dynamic configuration processing?
I was looking for something specific like driver="nameString" and driverVersion="versionString". If I understand, the driver is a kernel module so I'd expect to find "mumble.so" or "mumble.ko".
Where would I discover that sort of thing.
Using lsmod I see the following:
Code:
video 25872 0
output 11008 1 video
intel_agp 34108 1
agpgart 42696 3 drm,intel_agp
When I talk about dynamic configuration processing I'm talking about the combination of "device detection", "events", "per-event scripts" and related smoke-and-mirrors that move the workstation from power-on to running X-server with display and various input devices.
The X-server continues to require "configuration" but that happens automatically, somehow, without administrator intervention. Only if the admin wants to tinker is the /etc/X11/xorg.conf file used.
I've been slinging bits long enough in various ways and so I believe that I can speculate about what is happening with a small circular, error-probability. I've looked but been unable to find blueprints or similar documents. Since the hardware detection must take place as part of system start-up, SOMETHING tells the kernel to load a device driver module. When loaded, the module must throw events. Something then catches those events and runs the corresponding jobs and scripts and things. I know that upstart is part of this solution. I believe that X11 is doing its own things...
There are actually three parts to the video driver. There's the 2D Xorg driver. You can see what version of that you are using by running 'grep -A 2 intel_drv.so /var/log/Xorg.0.log'.
There's the kernel driver (part of the DRM, or the direct rendering manager). You can check that version with 'dmesg | grep drm' though the version numbers and dates don't get bumped there very often.
There's also the 3D Mesa driver. You can find that out with 'glxinfo | grep version'.
I'm not sure there's much documentation on how either the kernel or Xorg knows which drivers to load automatically outside of the source code to those two projects, so if this is something you're interested in, that's probably where you should start looking.
Your "three part" details are really very helpful. Thanks, heaps.
Quote:
Originally Posted by adamk75
There are actually three parts to the video driver.
...
Is this true for all video or for specifically Intel drivers?
Where was I supposed to read to learn all of this on my own?
One hopes that there is a thread one can pull and follow to find information. A follow-the-thread approach is preferred to the hunt-for-eggs approach where one stumbles over facts in a mostly random way.
It's true for all the open source drivers that use the direct rendering infrastructure.
In fact, I think it's true for nvidia, though instead of their 3D driver being part of Mesa, they use their own infrastructure, replacing the systems libGL.so and Xorg's glx module, too.
Generally speaking, most people don't read to learn all of this. As end users, they wouldn't care :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.