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 - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2008, 08:44 AM   #1
moob8
Member
 
Registered: Sep 2006
Distribution: slackware
Posts: 132

Rep: Reputation: 15
xorg failes with intel's video driver


Just put linux on a new machine. It has a "Intel G33/G21 Express Family" video on the motherboard. Windows runs it fine (even in games). Xorg on Linux can run it only as vesa but then the screen is sized funny and off to one side and it insists on running in 16 bit mode.

I downloaded the driver from intel. ./configure --prefix/usr and the usual make make install. Edited xorg.conf. Ran startx. Fail.

log from running startx:
Code:
xauth:  creating new authority file /home/bob/.serverauth.8135

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Slackware 12.0 Slackware Linux Project
Current Operating System: Linux darkstar 2.6.21.5-smp #2 SMP Tue Jun 19 14:58:11 CDT 2007 i686
Build Date: 09 May 2007
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 15 09:22:00 2008
(==) Using config file: "/etc/X11/xorg.conf"

(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(EE) GARTInit: Unable to open /dev/agpgart (No such device)
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) intel(0): Failed to allocate framebuffer. Is your VideoRAM set too low?
(EE) intel(0): Couldn't allocate video memory

Fatal server error:
AddScreen/ScreenInit failed for driver 0

giving up.
xinit:  Connection reset by peer (errno 104):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
With regard to the existance of that file:
Code:
root@darkstar root # ls -l /dev/agpgart 
crw-rw-rw- 1 root root 10, 175 2001-03-25 16:04 /dev/agpgart
root@darkstar root #
The file exists.

Odd that the error output mentions agpgart, as this is not an agp video card: it is a video "card" on the motherboard.

and, of course, the xorg.conf in question:
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
    FontPath   "/usr/X11R6/lib/X11/fonts/pcc_artwiz/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/pcc_ttf"
    FontPath   "/usr/X11R6/lib/X11/fonts/pcc"
EndSection




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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
 
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   31.5-69.0

#    HorizSync  30-64         # multisync
#    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 40-90

EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "DefaultRefresh"     	# [<bool>]
        #Option     "ModeSetClearScreen" 	# [<bool>]
	Identifier  "Card0"
        Driver "intel"
#	Driver      "vesa"
#	Driver      "vesa" works but sized oddly and shoved to one side
#	Driver      "intel_drv" FAIL
#	Driver      "i810_drv" FAIL
#	Driver      "i810" FAIL
#	Driver      "i740_drv" FAIL
#	Driver      "i740" FAIL
#	Driver      "i128_drv" FAIL
#	Driver      "i128" FAIL

	VendorName  "Intel Corporation"
	BoardName   "Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
#	SubSection "Display"
#		Viewport   0 0
#                Modes       "1024x768" "800x600" "640x480"
#		Depth     1
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#               Modes       "1024x768" "800x600" "640x480"
#		Depth     4
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#                Modes       "1024x768" "800x600" "640x480"
#		Depth     8
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#                Modes       "1024x768" "800x600" "640x480"
#		Depth     15
#	EndSubSection
	SubSection "Display"
		Viewport   0 0
               Modes       "1024x768" "800x600" "640x480"
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
                Modes       "1024x768" "800x600" "640x480"
		Depth     24
	EndSubSection
	SubSection "Display"
		Viewport   0 0
                Modes       "1024x768" "800x600" "640x480"
		Depth     32
	EndSubSection
EndSection

Any ideas?
 
Old 10-16-2008, 05:12 AM   #2
sachinaxn
LQ Newbie
 
Registered: Apr 2008
Location: India
Posts: 20

Rep: Reputation: 0
Intel Driver related pro

Have u checked
system-config-display



then u can adjust ur screen size in 800*600


try that


sachin
 
Old 10-16-2008, 07:42 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I believe support for that graphics chipset wasn't added until 2.6.22 ( you have 2.6.21-5)
You will need to update your kernel in order to get things working properly.

ref: http://www.linuxquestions.org/questi...7/#post3308759

Last edited by farslayer; 10-16-2008 at 07:43 AM.
 
Old 10-16-2008, 09:24 AM   #4
moob8
Member
 
Registered: Sep 2006
Distribution: slackware
Posts: 132

Original Poster
Rep: Reputation: 15
farslayer:
Wouldn't a kernel module get around that? The thing I downloaded includes a kernel module which is getting loaded at boot time. I'd really like to avoid compiling the kernel if I can. I did that wayyyyyy too much back in my gentoo days.

sachinaxn:
Code:
root@darkstar root # system-config-display
bash: system-config-display: command not found
root@darkstar root # locate system-config-display
root@darkstar root # find / | grep system-config-display
root@darkstar root #
I don't understand.
 
Old 10-16-2008, 10:18 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
it's apparently a combination of the intel xorg driver and the intel_agp module (2.6.22 to support your chip, ), and something related to agpgart

Quote:
(EE) GARTInit: Unable to open /dev/agpgart (No such device)
http://intellinuxgraphics.org/install.html
Quote:
4.1 Agpgart

To compile agpgart, you must recompile kernel.

Note: from kernel 2.6.20, agpgart can only build into kernel rather than building as modules.

When you execute "make menuconfig", you should:
-- Go to Device Driver -> Character devices
-- Go to /dev/agpgart (AGP Support)
-- Hit SPACE to build AGP support as Module
-- Enable Intel chipsets' support for AGP as Module
There is no newer pre-compiled kernel for your distro ? I believe a newer kernel would most likely solve all your graphics issues.
 
Old 10-17-2008, 09:29 AM   #6
moob8
Member
 
Registered: Sep 2006
Distribution: slackware
Posts: 132

Original Poster
Rep: Reputation: 15
edit -

OK ... I am starting to understand. Some things have got to be in kernel space and thus can't be "moduled around". Thanks for the info, everyone.

Last edited by moob8; 10-17-2008 at 05:34 PM. Reason: the voices in my head told me to :D
 
  


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
Is there a way to use S-VIDEO out without changing xorg? M$ISBS Linux - Hardware 2 03-25-2006 08:56 PM
Sapphire ATI Radeon X700 Pro video card driver for Xorg ..plz help asilentmurmur *BSD 0 03-17-2006 07:24 AM
Mandrake 10.1(Xorg) hangs on video driver (ATI Radeon mobility 9800) michielmertens Mandriva 33 02-21-2005 08:10 AM
Mandrake 10.1(Xorg) hangs on video driver (ATI Radeon mobility 9800) michielmertens Linux - Hardware 1 10-13-2004 10:49 AM
Video Driver Poblems with Red Hat 8.0 (trident video driver) AstroJim Linux - Newbie 1 05-20-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:05 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