Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOW-TO: ProSavage, SuperSavage DDR and dri-drm 3d drivers
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
AIgor
n00b
n00b


Joined: 27 Apr 2004
Posts: 60
Location: Perugia - Italy

PostPosted: Wed Apr 13, 2005 9:01 am    Post subject: Reply with quote

VIA has released source code of savage and unichrome drivers for linux! Look here:
http://linuxdevices.com/news/NS5778694249.html
http://www.via.com.tw/en/resources/pressroom/2005_archive/pr050412_driversource.jsp
Back to top
View user's profile Send private message
margusl
n00b
n00b


Joined: 11 Jan 2005
Posts: 2
Location: Kuressaare, Estonia

PostPosted: Wed Apr 13, 2005 1:09 pm    Post subject: Reply with quote

yeah.. 20050411 snapshoots are working with my T20 also :D ... but only in pci-mode :?
Code:
x11-base/xorg-x11-6.8.2-r1  -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers +ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv

kernel config:
# CONFIG_DRM is not set
CONFIG_AGP=m
CONFIG_AGP_INTEL=m

sh-3.00# glxinfo | grep -i opengl
OpenGL vendor string: S3 Graphics Inc.
OpenGL renderer string: Mesa DRI Savage/MX/IX 20050305 x86/MMX/SSE
OpenGL version string: 1.2 Mesa 6.3
OpenGL extensions:
sh-3.00# glxgears
789 frames in 5.0 seconds = 157.800 FPS
1004 frames in 5.0 seconds = 200.800 FPS
1002 frames in 5.0 seconds = 200.400 FPS


xorg.0.log:
Code:
(EE) SAVAGE(0): [agp] AGP not available
(WW) SAVAGE(0): [agp] AGP failed to initialize -- falling back to PCI mode.
(WW) SAVAGE(0): [agp] Make sure you have the agpgart kernel module loaded.

actually the agpgart is loaded, but the intel-agp is not. as soon as i modprobe intel-agp also, X will not start - it gives me blank screen and just hangs. i tryed to compile agpgart and intel-agp into the kernel also, but startx still hangs.

wierdest of all - at some point after lot of testing, modprobing and rmmoding, i actually got it to work with 1x agp and fps was around 300. and i can't seem to figure out how i did it :evil: arghh....
it seems that the order of loading the modules have some importance.

dmvianna, firephoto and others, who got it to work with T20, can you post your Device section of xorg.conf and give some information about agpgart and intel-agp?
Back to top
View user's profile Send private message
El Tazar
n00b
n00b


Joined: 06 Nov 2004
Posts: 57

PostPosted: Wed Apr 13, 2005 8:32 pm    Post subject: Reply with quote

Perhaps you still need the "dlloader" useflag as a previous post mentioned?
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Wed Apr 13, 2005 11:02 pm    Post subject: Reply with quote

Code:
# modprobe agpgart
# modprobe intel-agp
$ xinit

This is the order. If you don't get direct rendering when first starting X, try restarting it again. It works for me. Also, don't forget to change xorg.conf, look above for details. My only option is 'Option "AGPMode" "2"'
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro


Last edited by dmvianna on Fri Apr 15, 2005 12:36 am; edited 2 times in total
Back to top
View user's profile Send private message
s0Ma
n00b
n00b


Joined: 09 Mar 2005
Posts: 10

PostPosted: Thu Apr 14, 2005 12:16 pm    Post subject: Reply with quote

hi.

just got DRI on my laptop (S3 Twister) after a few weeks of frustration. fps now are around 260-270, and everything is working fine. if anyone need any logs or anything, just tell me and i'll post them.
Back to top
View user's profile Send private message
koprimer
n00b
n00b


Joined: 29 Feb 2004
Posts: 64

PostPosted: Sat Apr 16, 2005 12:46 am    Post subject: Reply with quote

I see gentoo-portage has hard masked xorg-x11-6.8.2-r2. I have xorg-x11-6.8.2-r1 and a ProSavageDDR card... and the last time I got DRI to work was in xfree. The xorg-x11-6.8.2-r1 has version 1.1.27 savage drivers (shows up as Savage4). I haven't downloaded the cvs version in so long, it seems every time I do, it either doesn't work, or it's very unstable and causes lots of problems with programs.

I don't understand what's taking so long for xorg (or even portage) to come out with the latest and greatest savage drivers along with drm and mesa. If some of you are like me and have been dealing with DRI and savage cards for the past two years, then you're probably as sick as I am updating your X11 and then having DRI broken again. Of course I'm not complaining either, by no means do I expect them to come out with anything... One can only dream :?
Back to top
View user's profile Send private message
Motoi-Sakuraba-Milfeuille
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2004
Posts: 125

PostPosted: Sun Apr 17, 2005 12:16 pm    Post subject: Reply with quote

koprimer, I feel your pain. I spent a week total trying to get this stupid stuff to work on my ProSavage DDR... and months later, xorg is up by 0.0.1, and the situation has not changed, except for VIA releasing their source. Wonder if that's in the 20050416 as I type it.
But these instructions have always worked for me: http://www.linuxquestions.org/questions/showthread.php?postid=1033836#post1033836
They worked so well, once I followed it, I was determined to make it accessible for ever, so here it is on my blog:
http://blog.efx2.com/user/randomshinichi/1782/view/4581/
I changed the site, because it moved since /bin/bash's older post. Hope it works for you guys.
EDIT: it didn't work for me... the top part of the screen was corrupted
_________________
When you are clever, you realize you are stupid; when you are stupid, you realize you are clever.
Back to top
View user's profile Send private message
koprimer
n00b
n00b


Joined: 29 Feb 2004
Posts: 64

PostPosted: Mon Apr 18, 2005 3:55 am    Post subject: Reply with quote

I'm trying out the cvs source atm and if it doesn't work, I think I'm going to wait until xorg includes dri support for savage or get a new laptop with a supported graphics card (which ever comes first in the next year or two). If the cvs source so happens to work, then you can bet I won't update x11-xorg until it's for sure that savage is fully supported.

Just out of curiosity, for those who have it working, did it speed up any 2D rendering? For example, web browsing or on window repaint? It just seems without hardware rendering on a 1GHz laptop, desktoping in linux becomes painful.
Back to top
View user's profile Send private message
Motoi-Sakuraba-Milfeuille
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2004
Posts: 125

PostPosted: Mon Apr 18, 2005 4:35 am    Post subject: Reply with quote

I got it working once. Didn't speed up anything, although I could make glxgears run at 200fps, and Tuxracer was finally playable. But no, nothing else. 2D acceleration doesn't seem to need DRI - if you look at /var/log/Xorg.0.log, it says it enables some XFree86 Acceleration thingy, so those effects in Enlightenment seemed to be running at the fastest possible.
If you get it working, please post! I compiled so many things with X support, links2 refused to work even in the console, because it was missing some kind of X.so. So I'm compiling it again, because I unmerged the botched DRI attempt. It works without DRI, but if you get the CVS....
BTW, as far as I can see, only
http://lists.freedesktop.org/archives/xorg/2005-April/007446.html
and VIA's release of the source code have any hope of improving 2D speed... X somehow always feels slightly slower than a well tuned Windows machine.
_________________
When you are clever, you realize you are stupid; when you are stupid, you realize you are clever.
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1599
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Mon Apr 18, 2005 5:04 am    Post subject: Reply with quote

With a cvs install a few weeks ago (dri-drm X and mesa i think) and my latest ~x86 install on my thinkpad t20 I get 368 fps with glxgears and everything is nice and fast with kde. This was on top of my emerged xorg so after the next xorg update I'll just try it with just the dri-drm modules.

Here's some of my xdpyinfo for what it's worth.
Code:

$ xdpyinfo -display :0 -ext all
name of display:    :0.0
version number:    11.0
vendor string:    Gentoo Linux (The X.Org Foundation 6.8.2, revision r1-0.1.2)
vendor release number:    60802000
X.Org version: 6.8.2
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 0x400007, revert to PointerRoot
number of extensions:    31
    BIG-REQUESTS
    DAMAGE
    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:
  print screen:    no
  dimensions:    1024x768 pixels (289x217 millimeters)
  resolution:    90x90 dots per inch
  depths (7):    16, 1, 4, 8, 15, 24, 32
  root window id:    0x3f
  depth of root window:    16 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    64
  preallocated pixels:    black 0, white 65535
  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:    8
  default visual id:  0x22
  visual:
    visual id:    0x22
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x23
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x24
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x25
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x26
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x27
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x28
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x29
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits

MIT-SHM version 1.1 opcode: 146, base event: 94, base error: 169
  shared pixmaps: yes, format: 2

XKEYBOARD version 1.0 opcode: 149, base event: 110, base error: 175

SHAPE version 1.0 opcode: 128, base event: 64

SYNC version 3.0 opcode: 131, base event: 65, base error: 128
  system counters: 1
    SERVERTIME  id: 0x0000003d  resolution_lo: 4  resolution_hi: 0

XFree86-DGA version 2.0 opcode: 136, base event: 68, base error: 145
  Base address = 0xF0000000, Width = 1024, Bank size = 8388608, RAM size = 8192k

XFree86-VidModeExtension version 2.2 opcode: 134, base error: 130
  Monitor Information:
    Vendor: Monitor Vendor, Model: LCD Panel 1024x768
    Num hsync: 1, Num vsync: 1
    hsync range 0:  31.50 -  48.50
    vsync range 0:  40.00 -  70.00
  Available Video Mode Settings:
     Clock   Hdsp Hbeg Hend Httl   Vdsp Vbeg Vend Vttl  Flags
     65.00   1024 1048 1184 1344    768  771  777  806  -hsync -vsync
     40.00    800  840  968 1056    600  601  605  628  +hsync +vsync
     25.20    640  656  752  800    480  490  492  525  -hsync -vsync
     36.00    800  824  896 1024    600  601  603  625  +hsync +vsync
     32.50    512  524  592  672    384  385  388  403  -hsync -vsync doublescan
     20.00    400  420  484  528    300  300  302  314  +hsync +vsync doublescan
     18.00    400  412  448  512    300  300  301  312  +hsync +vsync doublescan
     12.60    320  328  376  400    240  245  246  262  -hsync -vsync doublescan
  Current Video Mode Setting:
     65.00   1024 1048 1184 1344    768  771  777  806  -hsync -vsync


Xlib:  extension "XINERAMA" missing on display ":0.0".
XINERAMA extension not supported by server

Xlib:  extension "XpExtension" missing on display ":0.0".
XpExtension extension not supported by server

_________________
#gentoo-kde on freenode
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Mon Apr 18, 2005 7:07 am    Post subject: Reply with quote

Well, if it's a contest, I get 404.800 fps on Fluxbox with 6 active dockapps and firefox running at the same time in my T20... :)

As I should have said before, I have Xorg 6.8.2-r1 and 20050411 binary drivers. There are just minor issues to be fixed, really, like I have to restart X after I boot (because it doesn't work the first time X starts), and xscreensaver seems to hang when working overnight with aMule. It does not happen if I leave xscreensaver or aMule working alone. Weird.
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
koprimer
n00b
n00b


Joined: 29 Feb 2004
Posts: 64

PostPosted: Tue Apr 19, 2005 3:08 am    Post subject: Reply with quote

CVS didn't work for me, I'm sure there's lots of reasons why but for right now, it's not worth investigating since there's too many variables that depend whether it works or not.

My Findings:
SAVAGE: driver keeps saying it's loading 1.1.26 in Xorg.0.log
[drm] says it initiated savage 2.4.1 in dmesg
every module that Xorg loads has an extension ".a"...

My suggestions:
Don't include DRM in your kernel. I added it back a long time ago thinking the x11-drm ebuild would work...
Don't include Option "ShadowStatus" "true" unless you know you have dri working.... including this crashed my comp every time I started X

I'm open to any suggestions that anyone has that doesn't require me to recompile X (it's just not worth it atm). Thanks.
Back to top
View user's profile Send private message
margusl
n00b
n00b


Joined: 11 Jan 2005
Posts: 2
Location: Kuressaare, Estonia

PostPosted: Tue Apr 19, 2005 3:39 pm    Post subject: Reply with quote

i recompiled xorg with dloader, but still no luck. actually it got worse - no dri at all. Xorg.0.log tells me, that dri, drm, glx are loaded, but that's it - no errors, no more information, nothing. but i noticed that i have insecure_drivers flag, maybe this is my troublemaker.

there's something else - after modprobing intel-agp (which also loads agpgart) and savage, dmesg shows me:
Code:
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 64M @ 0xf8000000
[drm] Initialized drm 1.0.0 20040925
PCI: Unable to reserve mem region #1:8000000@f0000000 for device 0000:01:00.0
mtrr: 0xf0000000,0x1000000 overlaps existing 0xf0000000,0x800000
mtrr: 0xf4000000,0x4000000 overlaps existing 0xf6000000,0x1000000
mtrr: 0xf0000000,0x1000000 overlaps existing 0xf0000000,0x800000
mtrr: base(0xf2000000) is not aligned on a size(0x5000000) boundary
[drm] Initialized savage 2.4.1 20050313 on minor 0: S3 Inc. 86C270-294 Savage/IX-MV
[drm] Used old pci detect: framebuffer loaded

is this normal?
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Tue Apr 19, 2005 11:29 pm    Post subject: Reply with quote

Code:

Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 64M @ 0xf8000000
---snip---
[drm] Initialized savage 2.4.1 20050313 on minor 0: S3 Inc. 86C270-294 Savage/IX-MV
[drm] Used old pci detect: framebuffer loaded
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode

Mine works, and I have insecure drivers.

Also, all kernel dri-related stuff I have are modules, and I've compiled i2c stuff as well.
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
koprimer
n00b
n00b


Joined: 29 Feb 2004
Posts: 64

PostPosted: Wed Apr 20, 2005 1:29 am    Post subject: Reply with quote

when I modprobed savage and via-agp, this is what I got *EDIT* and I did do this before starting X
dmesg
Code:

Linux agpgart interface v0.100 (c) Dave Jones
[drm] Initialized drm 1.0.0 20040925
PCI: Unable to reserve mem region #2:8000000@900000000 for device 0000:01:00.0
mtrr: base(0x92000000) is not aligned on a size(0x5000000) boundary
[drm] Initialized savage 2.4.1 20050313 on minor 0: S3 Inc. 86C380 [ProSavageDDR K4M266]
[drm] Used old pci detect: framebuffer loaded
agpgart: Detected VIA ProSavage PM133/PL133/PN133 chipset
agpgart: Maximum main memory to use for agp memory: 424M
agpgart: AGP aperture is 64M @ 0xa0000000

cat /var/log/Xorg.0.log | grep -i rendering
Code:

(nothing)

glxinfo | grep -i rendering
Code:

direct rendering: No

*EDIT* I'm convinced now that X11 isn't using my DRM... I just have no clue where to go from here
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Wed Apr 20, 2005 1:49 am    Post subject: Reply with quote

Sorry, koprimer... but I would either rebuild or use dri.freedesktop.org's Xorg server. That's my results for equery u xorg-x11:
Code:
-3dfx -3dnow +bitmap-fonts -cjk -debug +dlloader -dmx -doc +font-server -hardened +insecure-drivers +ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts -uclibc -xprint +xv -debug


*edit* Do you get any error message when running glxgears?
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
koprimer
n00b
n00b


Joined: 29 Feb 2004
Posts: 64

PostPosted: Wed Apr 20, 2005 2:27 am    Post subject: Reply with quote

dmvianna: I build xorg from http://dri.freedesktop.org/wiki/Building
*edit* and no, I didn't get any errors when running glxgears, just a nice 50 FPS!

I posted my VIA Savage specific build in a nice little script... I don't think it'll work for anyone else unless they too have a via savage card and run the 2.6 kernel... (besides I wouldn't even try it if you have it already running)... but, you can see the steps I took which didn't work... and maybe spot something out that I should have done.

My script can be found here (again, this did not work for me):
http://www.rootshell.be/~coprime/code/tools/dri/savage/install.sh

*edit* I usualy run this script by doing the same thing as you would for an X make
./install.sh &> World.log &


Cheers!


Last edited by koprimer on Wed Apr 20, 2005 2:53 am; edited 1 time in total
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Wed Apr 20, 2005 2:53 am    Post subject: Reply with quote

koprimer: I've never been able to make CVS dri work. I've compiled the portage xorg-x11 and added just the dri.freedesktop.net's binary driver modules (not the /usr/bin/Xorg server). Mine is the 20050411 snapshot. Maybe you would like to try it instead, after a good emerge -C xorg-x11 && emerge xorg-x11? Because otherwise, you wouldn't clean up what you've had before. Trust me.
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
koprimer
n00b
n00b


Joined: 29 Feb 2004
Posts: 64

PostPosted: Wed Apr 20, 2005 2:56 am    Post subject: Reply with quote

dmvianna: thanks for the replies and the good advice, from reading all the many successes from this forum when building from the snapshots... I guess it wouldn't hurt to give it a try.

*EDIT* unemerged and remerged xorg, then installed the savage snapshot... had no success. No errors, nothing, doesn't load the drm module nor the savage module. even modprobing didn't work... just looks as if xorg isn't using the modules.
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Fri Apr 22, 2005 2:36 am    Post subject: Reply with quote

:oops: Just tried modprobing savage before executing Xorg for the first time after a bootup. Got direct rendering. So forget about previous claims that the savage drive *HAS* to be added by Xorg, and not manually. I've just added it to my /etc/modules.autoload.d/kernel-2.6 file.

koprimer: Sorry, I've ran out of ideas with you. Rest a bit, the ideas will come to you. That's how it worked for me.
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
koprimer
n00b
n00b


Joined: 29 Feb 2004
Posts: 64

PostPosted: Fri Apr 22, 2005 3:49 am    Post subject: Reply with quote

unfortunately, I can't give up... after unemerging and re-emerging xorg (with dlloader)... and installing the common+savage snapshots, my X server won't start any more...

errors: (reported by X)
Code:

Skipping "/usr/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No symbol found
Skipping "/usr/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No symbol found
Skipping "/usr/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No symbol found
/usr/X11R6/bin/X: symbol lookup error: /usr/lib/modules/extensions/libglx.so: undefined symbol: __glXglDDXExtensionInfo


/var/log/Xorg.0.log
Code:

(II) Module GLcore: vendor="X.Org Foundation"
         compiled for 6.8.99.3, module version = 1.0.0
         ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
[EOF]


I think my Xorg install is FUBAR. Can't find a single thread or forum about this error.

*EDIT*
I deleted /usr/lib/modules/extensions/libglx.so, now it loads libglx.a without errors... still no DRI
Back to top
View user's profile Send private message
Mystilleef
Guru
Guru


Joined: 27 Apr 2003
Posts: 561
Location: Earth

PostPosted: Fri Apr 22, 2005 11:53 am    Post subject: Yay! Reply with quote

Add me to the list of users who successfully got DRI working. Algor's walk through on page 6 was immensely helpful. Thanks to everyone! :-)

Code:

[07:38 PM goldenmyst(~)]$ glxinfo|grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI ProSavageDDR 20050305 AGP 4x x86/MMX+/3DNow!+/SSE


Code:

[07:49 PM goldenmyst(~)]$ dmesg | grep drm
[drm] Initialized drm 1.0.0 20040925
[drm] Initialized savage 2.4.1 20050313 on minor 0:


Thank you once again! :-)
_________________
simple, sleek and sexy text editor for gnome

"My logic is undeniable."
Back to top
View user's profile Send private message
Motoi-Sakuraba-Milfeuille
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2004
Posts: 125

PostPosted: Sat Apr 23, 2005 11:20 am    Post subject: Reply with quote

I followed Algor's steps on the 6th page, but it just fails in make install.
cannot create regular file '/usr/X11R6/lib/modules/extensions/libextmod.so' : No such file or directory.
This kind of BS has been popping up lately.... I'll cvs the xorg CVS again and see if it works today.
_________________
When you are clever, you realize you are stupid; when you are stupid, you realize you are clever.
Back to top
View user's profile Send private message
Motoi-Sakuraba-Milfeuille
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2004
Posts: 125

PostPosted: Sat Apr 23, 2005 3:47 pm    Post subject: Reply with quote

no luck, this time it says
install -c -m 0444 fi1236_drv.so /usr/X11R6/lib/modules/multimedia
cannot create regular file '/usr/X11R6/lib/modules/multimedia/fi1236_drv.so' : No such file or directory.
I think I should leave host.def as it is this time around. ARRRGGGHH!!!!!!!
_________________
When you are clever, you realize you are stupid; when you are stupid, you realize you are clever.
Back to top
View user's profile Send private message
Motoi-Sakuraba-Milfeuille
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2004
Posts: 125

PostPosted: Sat Apr 23, 2005 6:06 pm    Post subject: Reply with quote

Oops.
It installed enough this time that it got past the Savage driver, so now the thing says that driscreeninit failed disabling dri and all that stuff.
Problem is, it seems to be a problem with the DRM module! It keeps on saying Error inserting Savage Unnown symbol in module, or unknown parameter (see dmesg).
I'm getting tired of doing this, but I'll cvs the thing again. If it doesn't work, I'll upgrade the gentoo-dev-sources. Sheesh. Why are there so many errors!
EDIT: gentoo-dev-sources has vanished. And it's not like my kernel is out of date (2.6.11-gentoo-r2), so I guess I won't upgrade the kernel sources. I've reached the point where it only fails because the drm and savage module aren't loaded. Both cause problems with my kernel... why!?
EDIT2: X with a desktop environment crashed, even when DRI wasn't enabled. Screw this. You guys can play with your Savage chipsets, and I'm gonna live with my Geforce 4 Ti4200 on the main computer. :p I'm leaving this topic once and for all, and I'll be damned if I come across another program that requires Direct Rendering... I don't have time for this. I'll never be able to get Tuxracer playable now......
_________________
When you are clever, you realize you are stupid; when you are stupid, you realize you are clever.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 7 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum