Intel video problem

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
xnostradamusx
Level 3
Level 3
Posts: 167
Joined: Thu Jul 24, 2008 1:04 am
Location: qatar

Intel video problem

Post by xnostradamusx »

husse can you assist me with this http://intellinuxgraphics.org/download.html its dedicated for our intel graphics but it requires building which im not familiar with it might give a great help with our problems
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
~cheers~

xnostradamusx
Husse

Re: Intel video problem

Post by Husse »

I split off your post so I can keep some kind of order (You did not do anything wrong posting were you originally posted)
I downloaded the mesa driver from this link
http://intellinuxgraphics.org/download/ ... esa.tar.gz
If you unpack the archive and go into the folder docs and open the index.html page you find all the info you need
A few remarks though
You need to install build essential - you can do it from the software portal
You would want the linux-dri-x86 driver
When you start the make process you need sudo
This is the mesa driver not specifically but well suited for intel
Do you need to use it?
Unless I'm mistaken the driver should be "mesa" in xorg.conf after this
User avatar
xnostradamusx
Level 3
Level 3
Posts: 167
Joined: Thu Jul 24, 2008 1:04 am
Location: qatar

Re: Intel video problem

Post by xnostradamusx »

ok downloaded the file and right click on it and chose run in terminal

then i type sudo make linux-dri-x86 then this whole error comes

Code: Select all

carlos@ambqatar-pc ~/Desktop/mesa $ sudo make linux-dri-x86
(cd configs && rm -f current && ln -s linux-dri-x86 current)
make default
make[1]: Entering directory `/home/carlos/Desktop/mesa'
make[2]: Entering directory `/home/carlos/Desktop/mesa/src'
Making sources for linux-dri-x86
make[3]: Entering directory `/home/carlos/Desktop/mesa/src/glx/x11'
touch depend
makedepend -fdepend -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi `pkg-config --cflags libdrm` -I/usr/X11R6/include glcontextmodes.c clientattrib.c compsize.c eval.c glxcmds.c glxcurrent.c glxext.c glxextensions.c indirect.c indirect_init.c indirect_size.c indirect_window_pos.c indirect_texture_compression.c indirect_transpose_matrix.c indirect_vertex_array.c indirect_vertex_program.c pixel.c pixelstore.c render2.c renderpix.c single2.c singlepix.c vertarr.c xfont.c glx_pbuffer.c glx_query.c drisw_glx.c dri_common.c dri_glx.c XF86dri.c glxhash.c \
		../../../src/mesa/main/dispatch.c ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../../src/mesa/x86/glapi_x86.S 
Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm' found
makedepend: warning:  glcontextmodes.c (reading /usr/include/sys/types.h, line 147): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  glcontextmodes.c (reading /usr/include/X11/Xlib.h, line 75): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  glcontextmodes.c (reading ../../../include/GL/glext.h, line 3702): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  glcontextmodes.c (reading /usr/include/inttypes.h, line 38): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  glcontextmodes.c, line 42: cannot find include file "GL/glxint.h"
	not in GL/glxint.h
	not in GL/glxint.h
	not in ./GL/glxint.h
	not in ../../../include/GL/glxint.h
	not in ../../../include/GL/internal/GL/glxint.h
	not in ../../../src/mesa/main/GL/glxint.h
	not in ../../../src/mesa/glapi/GL/glxint.h
	not in /usr/X11R6/include/GL/glxint.h
	not in /usr/include/GL/glxint.h
makedepend: warning:  glcontextmodes.c (reading /usr/include/string.h, line 33): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  glcontextmodes.c (reading /usr/include/stdlib.h, line 33): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  glcontextmodes.c (reading /usr/include/alloca.h, line 25): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  glcontextmodes.c (reading /usr/include/X11/Xlibint.h, line 347): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  clientattrib.c (reading /usr/include/stdio.h, line 34): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  clientattrib.c (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  clientattrib.c (reading /usr/include/wchar.h, line 52): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../../../include/stddef.h
	not in ../../../include/GL/internal/stddef.h
	not in ../../../src/mesa/main/stddef.h
	not in ../../../src/mesa/glapi/stddef.h
	not in /usr/X11R6/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  clientattrib.c (reading /usr/include/libio.h, line 53): cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../../../include/stdarg.h
	not in ../../../include/GL/internal/stdarg.h
	not in ../../../src/mesa/main/stdarg.h
	not in ../../../src/mesa/glapi/stdarg.h
	not in /usr/X11R6/include/stdarg.h
	not in /usr/include/stdarg.h
makedepend: warning:  clientattrib.c (reading glxclient.h, line 53): cannot find include file "GL/glxint.h"
	not in GL/glxint.h
	not in GL/glxint.h
	not in ./GL/glxint.h
	not in ../../../include/GL/glxint.h
	not in ../../../include/GL/internal/GL/glxint.h
	not in ../../../src/mesa/main/GL/glxint.h
	not in ../../../src/mesa/glapi/GL/glxint.h
	not in /usr/X11R6/include/GL/glxint.h
	not in /usr/include/GL/glxint.h
makedepend: warning:  clientattrib.c (reading glxclient.h, line 54): cannot find include file "GL/glxproto.h"
	not in GL/glxproto.h
	not in GL/glxproto.h
	not in ./GL/glxproto.h
	not in ../../../include/GL/glxproto.h
	not in ../../../include/GL/internal/GL/glxproto.h
	not in ../../../src/mesa/main/GL/glxproto.h
	not in ../../../src/mesa/glapi/GL/glxproto.h
	not in /usr/X11R6/include/GL/glxproto.h
	not in /usr/include/GL/glxproto.h
makedepend: warning:  glxcmds.c (reading /usr/include/limits.h, line 125): cannot find include file "limits.h"
makedepend: warning:  glxcmds.c (reading ../../../src/mesa/main/glheader.h, line 63): cannot find include file "float.h"
	not in ./float.h
	not in ../../../include/float.h
	not in ../../../include/GL/internal/float.h
	not in ../../../src/mesa/main/float.h
	not in ../../../src/mesa/glapi/float.h
	not in /usr/X11R6/include/float.h
	not in /usr/include/float.h
makedepend: warning:  glxcmds.c (reading ../../../src/mesa/main/glheader.h, line 64): cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../../../include/stdarg.h
	not in ../../../include/GL/internal/stdarg.h
	not in ../../../src/mesa/main/stdarg.h
	not in ../../../src/mesa/glapi/stdarg.h
	not in /usr/X11R6/include/stdarg.h
	not in /usr/include/stdarg.h
makedepend: warning:  glxext.c, line 41: cannot find include file "X11/extensions/Xext.h"
	not in ./X11/extensions/Xext.h
	not in ../../../include/X11/extensions/Xext.h
	not in ../../../include/GL/internal/X11/extensions/Xext.h
	not in ../../../src/mesa/main/X11/extensions/Xext.h
	not in ../../../src/mesa/glapi/X11/extensions/Xext.h
	not in /usr/X11R6/include/X11/extensions/Xext.h
	not in /usr/include/X11/extensions/Xext.h
makedepend: warning:  glxext.c, line 42: cannot find include file "X11/extensions/extutil.h"
	not in ./X11/extensions/extutil.h
	not in ../../../include/X11/extensions/extutil.h
	not in ../../../include/GL/internal/X11/extensions/extutil.h
	not in ../../../src/mesa/main/X11/extensions/extutil.h
	not in ../../../src/mesa/glapi/X11/extensions/extutil.h
	not in /usr/X11R6/include/X11/extensions/extutil.h
	not in /usr/include/X11/extensions/extutil.h
makedepend: warning:  glxextensions.c, line 32: cannot find include file "X11/extensions/extutil.h"
	not in ./X11/extensions/extutil.h
	not in ../../../include/X11/extensions/extutil.h
	not in ../../../include/GL/internal/X11/extensions/extutil.h
	not in ../../../src/mesa/main/X11/extensions/extutil.h
	not in ../../../src/mesa/glapi/X11/extensions/extutil.h
	not in /usr/X11R6/include/X11/extensions/extutil.h
	not in /usr/include/X11/extensions/extutil.h
makedepend: warning:  glxextensions.c, line 33: cannot find include file "X11/extensions/Xext.h"
	not in ./X11/extensions/Xext.h
	not in ../../../include/X11/extensions/Xext.h
	not in ../../../include/GL/internal/X11/extensions/Xext.h
	not in ../../../src/mesa/main/X11/extensions/Xext.h
	not in ../../../src/mesa/glapi/X11/extensions/Xext.h
	not in /usr/X11R6/include/X11/extensions/Xext.h
	not in /usr/include/X11/extensions/Xext.h
makedepend: warning:  indirect.c, line 36: cannot find include file "GL/glxproto.h"
	not in ./GL/glxproto.h
	not in ../../../include/GL/glxproto.h
	not in ../../../include/GL/internal/GL/glxproto.h
	not in ../../../src/mesa/main/GL/glxproto.h
	not in ../../../src/mesa/glapi/GL/glxproto.h
	not in /usr/X11R6/include/GL/glxproto.h
	not in /usr/include/GL/glxproto.h
makedepend: warning:  indirect_vertex_array.c, line 32: cannot find include file "GL/glxproto.h"
	not in ./GL/glxproto.h
	not in ../../../include/GL/glxproto.h
	not in ../../../include/GL/internal/GL/glxproto.h
	not in ../../../src/mesa/main/GL/glxproto.h
	not in ../../../src/mesa/glapi/GL/glxproto.h
	not in /usr/X11R6/include/GL/glxproto.h
	not in /usr/include/GL/glxproto.h
makedepend: warning:  indirect_vertex_array.c (reading indirect_vertex_array_priv.h, line 39): cannot find include file "GL/glxproto.h"
	not in ./GL/glxproto.h
	not in ../../../include/GL/glxproto.h
	not in ../../../include/GL/internal/GL/glxproto.h
	not in ../../../src/mesa/main/GL/glxproto.h
	not in ../../../src/mesa/glapi/GL/glxproto.h
	not in /usr/X11R6/include/GL/glxproto.h
	not in /usr/include/GL/glxproto.h
makedepend: warning:  indirect_vertex_program.c, line 32: cannot find include file "GL/glxproto.h"
	not in ./GL/glxproto.h
	not in ../../../include/GL/glxproto.h
	not in ../../../include/GL/internal/GL/glxproto.h
	not in ../../../src/mesa/main/GL/glxproto.h
	not in ../../../src/mesa/glapi/GL/glxproto.h
	not in /usr/X11R6/include/GL/glxproto.h
	not in /usr/include/GL/glxproto.h
makedepend: warning:  singlepix.c, line 38: cannot find include file "GL/glxproto.h"
	not in ./GL/glxproto.h
	not in ../../../include/GL/glxproto.h
	not in ../../../include/GL/internal/GL/glxproto.h
	not in ../../../src/mesa/main/GL/glxproto.h
	not in ../../../src/mesa/glapi/GL/glxproto.h
	not in /usr/X11R6/include/GL/glxproto.h
	not in /usr/include/GL/glxproto.h
makedepend: warning:  glx_pbuffer.c, line 34: cannot find include file "X11/extensions/extutil.h"
	not in ./X11/extensions/extutil.h
	not in ../../../include/X11/extensions/extutil.h
	not in ../../../include/GL/internal/X11/extensions/extutil.h
	not in ../../../src/mesa/main/X11/extensions/extutil.h
	not in ../../../src/mesa/glapi/X11/extensions/extutil.h
	not in /usr/X11R6/include/X11/extensions/extutil.h
	not in /usr/include/X11/extensions/extutil.h
makedepend: warning:  glx_pbuffer.c, line 35: cannot find include file "X11/extensions/Xext.h"
	not in ./X11/extensions/Xext.h
	not in ../../../include/X11/extensions/Xext.h
	not in ../../../include/GL/internal/X11/extensions/Xext.h
	not in ../../../src/mesa/main/X11/extensions/Xext.h
	not in ../../../src/mesa/glapi/X11/extensions/Xext.h
	not in /usr/X11R6/include/X11/extensions/Xext.h
	not in /usr/include/X11/extensions/Xext.h
make[3]: Leaving directory `/home/carlos/Desktop/mesa/src/glx/x11'
make[3]: Entering directory `/home/carlos/Desktop/mesa/src/glx/x11'
gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi `pkg-config --cflags libdrm` -I/usr/X11R6/include -Wall -Wmissing-prototypes -std=c99 -ffast-math -O -g -fPIC -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -fno-strict-aliasing -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glcontextmodes.c -o glcontextmodes.o
Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm' found
glcontextmodes.c:42:23: error: GL/glxint.h: No such file or directory
In file included from glcontextmodes.c:67:
glcontextmodes.h:39: warning: type defaults to ‘int’ in declaration of ‘__GLXvisualConfig’
glcontextmodes.h:39: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
glcontextmodes.c:132: warning: type defaults to ‘int’ in declaration of ‘__GLXvisualConfig’
glcontextmodes.c:132: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
make[3]: *** [glcontextmodes.o] Error 1
make[3]: Leaving directory `/home/carlos/Desktop/mesa/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/carlos/Desktop/mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/carlos/Desktop/mesa'
make: *** [linux-dri-x86] Error 2
~cheers~

xnostradamusx
Husse

Re: Intel video problem

Post by Husse »

Ouch - I did not explain that part - I'm getting a bit too used to the whole thing so I did not explain it all
You extract the file - a folder by the same name as the file will be created
Inside that folder will be a folder named mesa - move into that right click and open a terminal
then move into Docs and open index.html
In the left hand menu there is a link to Compilation/Installation and that page has a description of what to do
You would want linux-dri-x86 so issue this in that terminal

Code: Select all

sudo make linux-dri-x86
It'll take a while to compile but then you are done
User avatar
xnostradamusx
Level 3
Level 3
Posts: 167
Joined: Thu Jul 24, 2008 1:04 am
Location: qatar

Re: Intel video problem

Post by xnostradamusx »

husse thanks for the reply, but before you answered i already booted mandriva 2009 it seems it detects and configure my intel graphics very accurately it even offers 3d acceleration in the option, i read something about they dont use xorg for their hardware detection because it is not dependable. but i want to use mint and im still finding solutions for my video card problem. regarding the one above. i bump on ubuntu forums that it isnt recomendable to build from the source but its much better to use what is in the repositories because it would be more stable.. :(

by the way by looking at what mandriva configured for my intel card heres the info

Identification
Vendor: ‎Intel Corporation

Description: ‎Mobile GM965/GL960 Integrated Graphics Controller

Media class: ‎VGA compatible controller

Connection
Bus: ‎PCI

PCI domain: ‎0

Bus PCI #: ‎0

PCI device #: ‎2

PCI function #: ‎0

Vendor ID: ‎0x8086

Device ID: ‎0x2a02

Sub vendor ID: ‎0x103c

Sub device ID: ‎0x30d9

Misc
Module: ‎Card:Intel 810 and later
~cheers~

xnostradamusx
Locked

Return to “Beginner Questions”