Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unreal tournament help!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
new2lin
n00b
n00b


Joined: 11 Jun 2002
Posts: 33

PostPosted: Thu Jul 04, 2002 9:15 pm    Post subject: unreal tournament help! Reply with quote

I installed UT per the howto but whenever I try to run it I get the following error:

Code:

dirname: too few arguments
Try `dirname --help' for more information.
Couldn't run Unreal Tournament (ut-bin). Is UT_DATA_PATH set?

I assume I need to set UT_DATA_PATH but I dont know how to do this. Can someone help me out?

Thanks
Dustin
Back to top
View user's profile Send private message
TheMole
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2002
Posts: 76
Location: Belgium

PostPosted: Sun Jul 07, 2002 1:16 pm    Post subject: Reply with quote

bash#: export UT_DATA_PATH=/usr/local/games/ut/System
bash#: ut

Assuming you used the default installation path... but you get the idea
_________________
"Nevermore" - The Raven
Back to top
View user's profile Send private message
new2lin
n00b
n00b


Joined: 11 Jun 2002
Posts: 33

PostPosted: Mon Jul 08, 2002 11:07 pm    Post subject: Great, but new problem now.. Reply with quote

I got it running with your tip, thanks! Unreal runs, but extremely slowly in a 640x480 screen. I have a radeon 7200 agp, X runs fine. When I run glxinfo I get this
Code:

libGL: XF86DRIQueryDirectRenderingCapable failed
libGL error: XF86DRIQueryDirectRenderingCapable returned false
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 Mesa 3.4.2
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

If I run glxgears I get ~50-60fps. I have searched countless how-to sites, and tutorials to no avail. can anyone help me?
Back to top
View user's profile Send private message
skweegie
n00b
n00b


Joined: 18 Jun 2002
Posts: 9

PostPosted: Tue Jul 09, 2002 2:16 am    Post subject: Re: Great, but new problem now.. Reply with quote

new2lin wrote:

direct rendering: No


hihi, that is your problem. i have the same card so here is a quick and dirty quide to get 3d accelration going...

1) make sure correct drivers are running (agpgart, drm, radeon)
the correct way to set these drivers up are to have agpgart and drm
compiled directly into your kernel and the radeon driver compiled
as a module...
so first check to see if they are running in your kernel already:

# dmesg | grep agpgart
# dmesg | grep drm
# dmesg | grep radeon

doing it this way allows you to bypass checking if they were
modularized via lsmod...
if these are all running goto item #2
if not, you will have to reconfigure your kernel OR insert the
appropriate kernel modules if you choose to modularize these drivers...

2) setup your XF86Config file

#nano -w /etc/X11/XF86Config

use the Ctrl W combination to search for glx or scroll down and find it
yourself if you prefer. by default, glx is commented out but for
our card this should be uncommented. also, while you are there,
you might as well load up the dri module. this is what i edited
that section to become:

# This loads the GLX/DRI module
Load "glx"
Load "dri"

ok, right below this section you will see "EndSection"
right BELOW/after the EndSection add this new section:

# Allow universal DRI
Section "DRI"
Mode 0666
EndSection

ok now scroll down to where your video card device is set up:
make sure yours looks like my entry for that section:

Section "Device"
Identifier "Radeon"
Driver "ati"
Option "AGPMode" "4"
EndSection

note that i read that under Driver you can use "radeon" but the
xfree docs says to use ati so that is what i choose and it works
perfectly this way for me. also, if you prefer, you can start AGPMode
at 1 as a safeguard. my motherboard support 4x AGP so 4 is ok
for my coniguration ...

right below this section is where you configure your screen(s).
this is a snippet for my entry for that section:

Section "Screen"
Identifier "Screen 1"
Device "Radeon"
Monitor "MyCRT"
DefaultDepth 24

note: you DefaultDepth maybe different depending on how you
setup X

3) save the XF86Config file

Basically, that is all you need to do. Your only real hiccup you may run into is if you messed up something in #1. Other than that, you can log into X as your normal user and run glxinfo and you should see that direct rendering should be now yes.

feel free to contact me if you need any further help...

cheers
Back to top
View user's profile Send private message
new2lin
n00b
n00b


Joined: 11 Jun 2002
Posts: 33

PostPosted: Tue Jul 09, 2002 3:33 pm    Post subject: thanks! Reply with quote

I'm at work, so I'll try this later, but thanks for the help. Another quick question, when building the kernel do I enable DRI & DRM support (for xfree 4.0, or 4.1?)

- Dustin
Back to top
View user's profile Send private message
skweegie
n00b
n00b


Joined: 18 Jun 2002
Posts: 9

PostPosted: Thu Jul 11, 2002 5:32 pm    Post subject: sorry for late reply Reply with quote

sorry for the late reply...rl busy :/

neways, only those 3 items i layed out in item #1 have to be configured in your kernel to have baseline 3d acceleration...

when configuring the kernel you only have to worry about these for the radeon:

1. Have the gentoo minimums for kernel configuration:
under section:
* Code maturity level options -->
[*]Prompt for development and/or incomplete code/drivers" should be set to 'Y'

under section
File systems -->
[*] Device File System should be set to 'Y'
(note you don't need to enable the "/dev/pts file system support")
[*]Virtual Memory Filesystem should be set to 'Y'
** Enable the filesystems you choose to use (Resiser,ext2,xfs etc)

** If you have IDE HD,
under section:
ATA/IDE/MFM/RLL support --->
[*]ATA/IDE/MFM/RLL support should be set to 'Y'

right below this enter into section:
IDE, ATA and ATAPI Block devices --->
** Defaults are ok here but MAKE SURE you choose support for your motherboards chipset AND have
<*>Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
<*>Include IDE/ATA-2 DISK support
[*]Use multi-mode by default
<*>Include IDE/ATAPI CDROM support
[*]Generic PCI IDE chipset support
[*]Sharing PCI IDE interrupts support
[*]Generic PCI bus-master DMA support
[*]Use PCI DMA by default when available
all enabled (by default they should be enabled already)

*** Now for the Radeon stuff ***

2. Make sure loadable modules are configured
under section:
Loadable module support --->
[*]Enable loadable module support should be set to 'Y'
[*]Kernel module loader should be set to 'Y'
[*]Set version information on all module symbols should be set to 'Y'
note: version info can be set to 'N' but set to Y may help any compilation errors.

3. Make sure frame buffer ok with Radeon
under section:
Console Drivers -> Frame-buffer support
[*orM]Support for frame buffer devices (EXPERIMENTAL) should be set 'Y' or 'M'
[ ]ATI Radeon display support (EXPERIMENTAL) should be set to 'N'
(this avoids a conflict with the km video capture tool)

4. Finally configure Radeon for 3d acceleration:
under section:
Character Devices --->
[*]/dev/agpgart should be set to 'Y'
*** below this, also make sure you choose the correct chipset for your motherboard
[*]Direct Rendering Manager should be set to 'Y'
[*]ATI Radeon should be set to 'M'

for the Radeon 3d acceleration of course...#4 is most important...
also, make sure that radeon is listed in your /etc/modules.autoload file.

lastly PLEASE note that there is way more to configure in you kernel besides the ones I listed. item 1 is just baseline guidelines as stated by gentoo. but items 2-4 are essential to get your radeon going...

lemme know if you need more help

cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
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