LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   xorg failes with intel's video driver (http://www.linuxquestions.org/questions/linux-software-2/xorg-failes-with-intels-video-driver-676492/)

moob8 10-15-2008 08:44 AM

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?

sachinaxn 10-16-2008 05:12 AM

Intel Driver related pro
 
Have u checked
system-config-display



then u can adjust ur screen size in 800*600


try that


sachin

farslayer 10-16-2008 07:42 AM

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

moob8 10-16-2008 09:24 AM

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.

farslayer 10-16-2008 10:18 PM

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.

moob8 10-17-2008 09:29 AM

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.


All times are GMT -5. The time now is 11:34 PM.