LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Closed Thread
 
Search this Thread
Old 12-29-2006, 04:39 AM   #406
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Rep: Reputation: 35

Sure - here's my full xorg.conf and misc other useful stuff.
WARNING: Long post :-)

Code:
Section "ServerLayout"
  Identifier  "X.org Configured"
  Screen   0  "Screen0" 0 0
  InputDevice "Mouse0" "CorePointer"
  InputDevice "TouchPad" "AlwaysCore"
  InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  RgbPath     "/usr/X11R6/lib/X11/rgb"
  ModulePath  "/usr/X11R6/lib/modules"
  FontPath    "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
  FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
  FontPath    "/usr/X11R6/lib/X11/fonts/TTF/"
  FontPath    "/usr/X11R6/lib/X11/fonts/OTF/"
  FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
  FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
  FontPath    "/opt/openoffice.org/share/fonts/truetype/"
EndSection

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

Section "InputDevice"
  Identifier  "Keyboard0"
  Driver      "kbd"
  Option      "XkbLayout"        "no"
EndSection

Section "InputDevice"
  Identifier  "Mouse0"
  Driver      "mouse"
# Option      "CorePointer"
  Option      "Protocol"         "ExplorerPS/2"
  Option      "Device"           "/dev/input/mice"
  Option      "Emulate3Buttons"
  Option      "Buttons"          "7"
  Option      "ZAxisMapping"     "6 7"
EndSection

Section "InputDevice"
  Identifier  "TouchPad"
  Driver      "synaptics"
  Option      "Device"           "/dev/psaux"
  Option      "Protocol"         "auto-dev"
  Option      "LeftEdge"         "1700"
  Option      "RightEdge"        "5300"
  Option      "TopEdge"          "1700"
  Option      "BottomEdge"       "4200"
  Option      "FingerLow"        "25"
  Option      "FingerHigh"       "30"
  Option      "MaxTapTime"       "180"
  Option      "MaxTapMove"       "220"
  Option      "VertScrollDelta"  "100"
  Option      "MinSpeed"         "0.09"
  Option      "MaxSpeed"         "0.18"
  Option      "AccelFactor"      "0.0015"
  Option      "SHMConfig"        "on"
#  Option     "Repeater"         "/dev/ps2mouse"
EndSection

Section "Monitor"
  Identifier  "Monitor0"
  VendorName  "Monitor Vendor"
  ModelName   "Monitor Model"
  HorizSync   30-92
  VertRefresh 50-85
  DisplaySize 260.096 195.072
  Option      "DPMS"
EndSection

Section "Device"
  Identifier  "Card0"
  Driver      "radeon"
  VendorName  "ATI Technologies Inc"
  BoardName   "Radeon IGP 340M"
  BusID       "PCI:1:5:0"
  Option      "AGPMode"          "4"
  Option      "AGPFastWrite"     "yes"
  Option      "ColorTiling"      "on"
  Option      "EnablePageFlip"   "yes"
  Option      "MergedFB"         "true"
  Option      "MetaModes"        "1024x768"
  Option      "MonitorLayout"    "LVDS, CRT"
  Option      "DynamicClocks"    "true"
  Option      "BIOSHotkeys"      "true"
EndSection

Section "dri"
  Mode        0666
EndSection

Section "Screen"
  Identifier  "Screen0"
  Device      "Card0"
  Monitor     "Monitor0"
  DefaultDepth 24
  SubSection  "Display"
    #Viewport 0 0
    Depth     24
    Modes     "1024x768"
  EndSubSection
EndSection
I'm running 100DPI fonts, and thus have made a few other changes as well - most notably to .fonts.conf, picked up kevin williams' website at http://www.isolationism.com/2006-12-...ring-on-linux/ :

Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Replaces 'sans' with a specific font preference -->
<match target="pattern" name="family" >
  <test name="family" qual="any" >
   <string>sans</string>
  </test>
  <edit mode="assign" name="family" >
   <string>Tahoma</string>
  </edit>
 </match>

<!-- Replaces 'Courier' with a better-looking font -->
 <match target="pattern" name="family" >
  <test name="family" qual="any" >
   <string>Courier</string>
  </test>
  <edit mode="assign" name="family" >
   <string>Bitstream Vera Sans Mono</string>
  </edit>
 </match>
<!-- These are the base settings for all rendered fonts.
 We modify them for specific fonts later. -->
<match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
  <edit mode="assign" name="autohint" >
   <bool>false</bool>
  </edit>
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="hintstyle" >
   <const>hintslight</const>
  </edit>
 </match>

<!-- Disable autohint for bold fonts, otherwise they look *too* bold -->
<match target="font" >
  <test compare="more" name="weight" >
   <const>medium</const>
  </test>
  <edit mode="assign" name="autohint" >
   <bool>false</bool>
  </edit>
 </match>

<!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
<selectfont>
  <rejectfont>
   <pattern>
    <patelt name="scalable" >
     <bool>false</bool>
    </patelt>
   </pattern>
  </rejectfont>
 </selectfont>

<!-- Set no hinting for the Times New Roman font set, it generally looks nicer (
if a little blurry) without. -->
<match target="font" >
  <test name="family" qual="any" >
   <string>Times New Roman</string>
  </test>
  <edit mode="assign" name="hintstyle" >
   <const>hintnone</const>
  </edit>
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
 </match>

<!-- Make Lucida Grande render like in OSX -->
<match target="font" >
  <test name="family" qual="any" >
   <string>Lucida Grande</string>
  </test>
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="hinting" >
   <bool>false</bool>
  </edit>
 </match>

 <!-- Make Apple Garamond render like in OSX -->
 <match target="font" >
  <test name="family" qual="any" >
   <string>Apple Garamond</string>
  </test>
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="hinting" >
   <bool>false</bool>
  </edit>
 </match>

 <!-- Make Hard Gothic render like in OSX -->
 <match target="font" >
  <test name="family" qual="any" >
   <string>Hard Gothic</string>
  </test>
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="hinting" >
   <bool>false</bool>
  </edit>
 </match>

<!-- Set no hinting for fonts below 11 pixels in size for legibility. -->
<match target="font" >
  <test compare="less" name="pixelsize" >
   <!-- 10.5 seems like a weird number but it works
 better than the integer 10, especially for some sites like /. -->
   <double>10.5</double>
  </test>
  <edit mode="assign" name="hintstyle" >
   <const>hintslight</const>
  </edit>
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="hinting" >
   <bool>false</bool>
  </edit>
 </match>

<!-- Set no hinting for fonts above 16 pixels in size; they don't need it. -->
<match target="font" >
  <test compare="more" name="pixelsize" >
   <double>13.5</double>
  </test>
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
  <edit mode="assign" name="hinting" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintmedium</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>
This in turn gives the following output from xdpyinfo:

Code:
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    60900000
X.Org version: 6.9.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 0x2a00007, revert to PointerRoot
number of extensions:    32
    BIG-REQUESTS
    DAMAGE
    DEC-XTRAP
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    GLX
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RANDR
    RECORD
    RENDER
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XC-APPGROUP
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XFree86-DGA
    XFree86-DRI
    XFree86-Misc
    XFree86-VidModeExtension
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (260x195 millimeters)
  resolution:    100x100 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x4c
  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:    0xfa4031
    KeyPressMask             EnterWindowMask          LeaveWindowMask
    KeymapStateMask          StructureNotifyMask      SubstructureNotifyMask
    SubstructureRedirectMask FocusChangeMask          PropertyChangeMask
    ColormapChangeMask
  number of visuals:    16
  default visual id:  0x23
  visual:
    visual id:    0x23
    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
  visual:
    visual id:    0x24
    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
  visual:
    visual id:    0x25
    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
  visual:
    visual id:    0x26
    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
  visual:
    visual id:    0x27
    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
  visual:
    visual id:    0x28
    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
  visual:
    visual id:    0x29
    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
  visual:
    visual id:    0x2a
    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
  visual:
    visual id:    0x2b
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2c
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2d
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2e
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2f
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x30
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x31
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x32
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
Hope this helps. My experience is that X works pretty well now, both with display, the synaptics on my laptop and speed. It's a rather old computer though, an HP nc4000 with quite limited graphics hardware.

The only problem I am currently having is while in Konsole, I get some small dots to the far left margin of the terminal window. Each line gives two small one pixel dots, just as if it started with a microscopic colon: . No big deal though, so I haven't investigated further.

If anyone have feedback to the above setup I'd be very happy to learn improvements

-Y1
 
Old 12-31-2006, 10:59 AM   #407
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Rep: Reputation: 35
Fixing the DRI permission problem

Heads up!

Vanilla Slackware 11.0/current has an udev rule that sets /dev/dri/card* to Mode 0660 User/group root/video, and this setting overrides the Section "DRI" part in xorg.conf. As a result, DRI doesn't work for other than root if you boot directly into runlevel 4, as udev sets /dev/dri/card0 to mode 0660 root/video. However, a Ctrl-Alt-Backspace restart of X or starting X later than boot causes the Section "DRI" part to be utilized, giving the right permissions for /dev/dri/card0.

Thus you might want to edit /etc/udev/rules.d/udev.rules searching for this line:

Code:
KERNEL=="card*",    NAME="dri/card%n", GROUP="video"
and change it to

Code:
KERNEL=="card*",    NAME="dri/card%n", GROUP="video", MODE="0666"
If you don't want to change the system default udev.rules file as described above, you can create a custom /etc/udev/rules.d/10-local.rules file with the same line as above (including MODE=0666).

-Y1
 
Old 01-07-2007, 02:38 PM   #408
dcyfer
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Rep: Reputation: 0
I'm running the included 2.6.17.13-smp kernel on slack 11 and have downloaded and ran the 32bit ati installer and aticonfig --intial. however the proper driver does not seem to exist as i get FATAL: Module fglrx not found. is there something i have forgotten to do? i've been searching the forums but i haven't seem to come across anything yet.

EDIT: Just to update, i reinstalled this time using the test26 kernel and the ati installer worked perfectly .

Last edited by dcyfer; 01-09-2007 at 10:30 PM.
 
Old 01-17-2007, 10:15 PM   #409
Nimdock
LQ Newbie
 
Registered: Jun 2006
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
Quote:
nVidia is the lazy man's best friend in this respect.
That's exactly right, I just downloaded from nVidia website, ran the script, and everything worked perfectly without editing anything.
 
Old 01-19-2007, 01:56 PM   #410
fil.krohnengold
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Rep: Reputation: 15
having trouble with i830

Hi folks - maybe someone can help me. (have an i830M in a thinkpadx30 - running slackware 11 2.4.33.3 (stock))

one problem i'm having is that when i specify the i830 module in the device section of xorg.conf, startx complains that it can't find the module. but no problems loading the i810 module. however both reside in the same directory and have the same perms.

so with the 810 driver, i haven't been able to enable direct rendering. i thought this might be a clue - from Xorg.log
Quote:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "i915"
(II) I810(0): [drm] drmOpen failed
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
I hadn't specified i915 anywhere - can't find any other reference to it outside this log file.

recommendations on where i should go from here?
 
Old 01-19-2007, 09:46 PM   #411
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
You DO NOT use the i830 module, it's crap/broke/deserted/gone to Microsoft...\Use the i810 as I do (I have a 830m also)

If you follow my guide for Intel , just do eactly as it says, since its written for a i830m chipset
 
Old 01-20-2007, 01:05 AM   #412
fil.krohnengold
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Rep: Reputation: 15
ok - i've stopped chasing the i830.o ghost. that's actually a relief.

though having followed your guide, I still haven't had success. the log excerpt in my previous post persists. the Xorg.log file is also essentially identical when i run X logged in as root.

the stock kernel seems to have all the appropriate options/modules enabled - CONFIG_DRM=y, CONFIG_DRM_NEW=y, CONFIG_DRM_I810=m, CONFIG_AGP=m, CONFIG_AGP_INTEL=y, CONFIG_AGP_I810=y. and i've essentially cut and pasted your example of the "Device" section of xorg.conf.

any idea where else i should be looking?
 
Old 01-24-2007, 03:57 AM   #413
fil.krohnengold
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Rep: Reputation: 15
well - i tried things out with 2.6.17 - glxinfo shows direct rendering enabled now. glxgears wasn't reporting frame rates near what others seem to have experienced. around 300. maybe my hardware is just slow...
 
Old 01-26-2007, 10:00 PM   #414
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Rep: Reputation: 15
Can't get my 3d working.

lspci info:
Code:
root@noteslack:/home/mike# lspci | grep "VGA"
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
xorg.conf:

Code:
root@noteslack:/home/mike# cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option       "XkbModel"  "pc101"
        Option       "XkbLayout"  "us"
EndSection

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

Section "Monitor"
        #DisplaySize      330   210     # mm
        Identifier   "Monitor0"
        VendorName   "SEC"
        ModelName    "3345"
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     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Needless to say, when I try glxinfo, direct rendering is set to no. Any ideas what I could be doing wrong?
 
Old 01-26-2007, 11:12 PM   #415
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Is it "No" for user? or root? Because I'll just about gaurantee that it will work for root, but not user (You don't have the "dri" section for mode 666)

Read the ENTIRE Inbtel section in post #1.
 
Old 01-27-2007, 01:59 AM   #416
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Why is it necessary to have agpgart as MODULE?

Why not just include them in the kernel config? i.e do Y instead of M !

Thanks
 
Old 01-27-2007, 08:05 AM   #417
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Rep: Reputation: 15
Direct Rendering for root says no as well.

If it matters, I'm using the default huge26.s kernel.
 
Old 01-27-2007, 08:11 AM   #418
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Rep: Reputation: 15
Oh, I also noticed that I was using an i915, so I tried to update the driver piece to i915, but X wouldn't start. Here's the errors from my Xorg.log when I tried this.

Code:
(II) LoadModule: "i915"
(WW) Warning, couldn't open module i915
(II) UnloadModule: "i915"
(EE) Failed to load module "i915" (module does not exist, 0)
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 6.9.0, module version = 1.0.3
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.5
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 6.9.0, module version = 1.0.1
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.5
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
lsmod results:

Code:
mike@noteslack:~$ lsmod | grep "915"
i915                   16512  1
drm                    59796  2 i915
 
Old 01-27-2007, 09:17 AM   #419
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
duryodhan- Because it won't work as included.

Crobat- i915 won't work, as you found out..lol
 
Old 01-27-2007, 09:51 AM   #420
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Rep: Reputation: 15
ok..this looks pretty weird.

Code:
mike@noteslack:~$ cat /var/log/Xorg.0.log | grep "direct rendering"
(II) I810(0): direct rendering: Enabled
however...

Code:
mike@noteslack:~$ glxinfo | grep "direct rendering"
direct rendering: No
my updated xorg.conf:

Code:
mike@noteslack:~$ cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option       "XkbModel"  "pc101"
        Option       "XkbLayout"  "us"
EndSection

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

Section "Monitor"
        #DisplaySize      330   210     # mm
        Identifier   "Monitor0"
        VendorName   "SEC"
        ModelName    "3345"
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     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        Option      "DRI" "True"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 16
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection


Section "DRI"
        mode 0666
EndSection
 
  


Closed Thread

Tags
3d, acceleration, ati, enabling, fglrx, glx, intel, nvidia, s3, savage, slackware, via, video, x11, xorg


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
enabling hardware acceleration PennyroyalFrog Linux - Newbie 5 02-26-2010 11:21 AM
xorg-x11 7.0 and exa acceleration jtshaw Linux - Software 0 12-19-2005 07:42 AM
3d acceleration and X11 bspus Linux - Newbie 3 09-06-2005 06:05 AM
Problem Enabling 3D Hardware acceleration. mir_sheely Linux - Hardware 0 06-14-2004 12:37 PM
Audigy Sound card and enabling 3D acceleration for GeoForce3 ti 500 heavyarmor4ever Linux - Newbie 1 01-03-2003 09:27 PM


All times are GMT -5. The time now is 07:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration