Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Doom 3 ... the bins are out ...
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
oggialli
Guru
Guru


Joined: 27 May 2004
Posts: 389
Location: Finland, near Tampere

PostPosted: Tue Oct 05, 2004 10:02 pm    Post subject: Reply with quote

Oh. Try cat /proc/driver/nvidia/agp/status to see if AGP really works.
_________________
IBM Thinkpad T42P - Gentoo Linux
Back to top
View user's profile Send private message
luckyluke3310
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2004
Posts: 129
Location: Lille (FRANCE)

PostPosted: Tue Oct 05, 2004 10:30 pm    Post subject: Reply with quote

oggialli wrote:
Oh. Try cat /proc/driver/nvidia/agp/status to see if AGP really works.


power64 ~ # cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 8x
Fast Writes: Disabled
SBA: Enabled
Back to top
View user's profile Send private message
StinkingMonkey
Apprentice
Apprentice


Joined: 24 May 2003
Posts: 183
Location: UK

PostPosted: Wed Oct 06, 2004 2:52 am    Post subject: Reply with quote

excellent, installed it using the ebuild works great
_________________
Intel Q6600, Asus P5N32-E SLI, Audigy2 ZS, Gainward 7950
Back to top
View user's profile Send private message
oggialli
Guru
Guru


Joined: 27 May 2004
Posts: 389
Location: Finland, near Tampere

PostPosted: Wed Oct 06, 2004 6:10 am    Post subject: Reply with quote

luckyluke3310 wrote:
oggialli wrote:
Oh. Try cat /proc/driver/nvidia/agp/status to see if AGP really works.


power64 ~ # cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 8x
Fast Writes: Disabled
SBA: Enabled


Hmm. Seems largely OK. Do you have Windows to check the 3D performance there for possible hardware limitations?
_________________
IBM Thinkpad T42P - Gentoo Linux
Back to top
View user's profile Send private message
luckyluke3310
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2004
Posts: 129
Location: Lille (FRANCE)

PostPosted: Wed Oct 06, 2004 7:18 am    Post subject: Reply with quote

oggialli wrote:

Hmm. Seems largely OK. Do you have Windows to check the 3D performance there for possible hardware limitations?


WinWhat ? no, i don't have that install on this machine, just into vmware workstation, but it don't help me to check 3D performance
Back to top
View user's profile Send private message
oggialli
Guru
Guru


Joined: 27 May 2004
Posts: 389
Location: Finland, near Tampere

PostPosted: Wed Oct 06, 2004 8:32 am    Post subject: Reply with quote

Damn. Hmm. Does your glxinfo say "Direct Rendering: Yes" in it ?
_________________
IBM Thinkpad T42P - Gentoo Linux
Back to top
View user's profile Send private message
luckyluke3310
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2004
Posts: 129
Location: Lille (FRANCE)

PostPosted: Wed Oct 06, 2004 9:08 am    Post subject: Reply with quote

yes, all for me seems ok, but 3D is very slow.

just one thing, my xorg.conf Device section is 'mimimal'

Section "Device"
Identifier "NVIDIA"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 0
Option "HWCursor" "off"
Option "RenderAccel" "True"
EndSection
_________________
Athlon 64X2 6000+/ Asus CROSSHAIR / 2GB ram / FX8800GTS 320Mo
Athlon 64 3000+/ Asus A8N sli / 2GB ram / FX7600GT 256Mo
Satellite PRO P100 (PSPA4E) Core2Duo 2Ghz / 2 GB ram
Back to top
View user's profile Send private message
Galahad
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 126

PostPosted: Wed Oct 06, 2004 12:15 pm    Post subject: Reply with quote

nm was a problem with refreshrates, doom tried to go 640x480 and the mode wasn't configured.

However I have weird lighting artifacts, with one side of a person black and the other half much lighter, looks almost as if the lighting was reversed.
Back to top
View user's profile Send private message
luckyluke3310
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2004
Posts: 129
Location: Lille (FRANCE)

PostPosted: Wed Oct 06, 2004 2:01 pm    Post subject: Reply with quote

into nvidia x86_64 faq, we can read:
Code:

You should also check that the correct extensions are present;
   'xdpyinfo' should show the "GLX", "NV-GLX" and "NVIDIA-GLX" extensions
   present.  If these three extensions are not present, then there
   is most likely a problem with the glx module getting loaded or it
   is unable to implicitly load GLcore.  Check your X config file and
   make sure that you are loading glx (see "Editing Your X config File"
   above). If your X config file is correct, then check the X log file
   for warnings/errors pertaining to GLX.  Also check that all of the
   necessary symlinks are in place (refer to Appendix C).


pm@power64 ~ $ xdpyinfo | grep GLX
GLX
NV-GLX

i haven't NVIDIA-GLX reported ! i think i'm on good way ;)

i will check that deeply this evening :)
_________________
Athlon 64X2 6000+/ Asus CROSSHAIR / 2GB ram / FX8800GTS 320Mo
Athlon 64 3000+/ Asus A8N sli / 2GB ram / FX7600GT 256Mo
Satellite PRO P100 (PSPA4E) Core2Duo 2Ghz / 2 GB ram
Back to top
View user's profile Send private message
oggialli
Guru
Guru


Joined: 27 May 2004
Posts: 389
Location: Finland, near Tampere

PostPosted: Wed Oct 06, 2004 2:41 pm    Post subject: Reply with quote

I don't have NVIDIA-GLX either but am getting ~4000 with GF4Ti4200 in glxgears. You might try, but I wouldn't bet for it.
_________________
IBM Thinkpad T42P - Gentoo Linux
Back to top
View user's profile Send private message
luckyluke3310
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2004
Posts: 129
Location: Lille (FRANCE)

PostPosted: Wed Oct 06, 2004 6:07 pm    Post subject: Reply with quote

oggialli wrote:
I don't have NVIDIA-GLX either but am getting ~4000 with GF4Ti4200 in glxgears. You might try, but I wouldn't bet for it.


:? :cry: :x
_________________
Athlon 64X2 6000+/ Asus CROSSHAIR / 2GB ram / FX8800GTS 320Mo
Athlon 64 3000+/ Asus A8N sli / 2GB ram / FX7600GT 256Mo
Satellite PRO P100 (PSPA4E) Core2Duo 2Ghz / 2 GB ram
Back to top
View user's profile Send private message
luckyluke3310
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2004
Posts: 129
Location: Lille (FRANCE)

PostPosted: Wed Oct 06, 2004 7:48 pm    Post subject: Reply with quote

i tried to put the FX5700LE 256Mo at the place of FX5900XT 128Mo and glxgears give me the same result ~1800fps

i think this PC will leave home by the window (not m$ :lol: )
_________________
Athlon 64X2 6000+/ Asus CROSSHAIR / 2GB ram / FX8800GTS 320Mo
Athlon 64 3000+/ Asus A8N sli / 2GB ram / FX7600GT 256Mo
Satellite PRO P100 (PSPA4E) Core2Duo 2Ghz / 2 GB ram
Back to top
View user's profile Send private message
luckyluke3310
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2004
Posts: 129
Location: Lille (FRANCE)

PostPosted: Wed Oct 06, 2004 8:04 pm    Post subject: Reply with quote

i re-put the 5900 into the PC, and now i have 6200fps with glxgears, i can't understand anything :roll:

now i will try doom
_________________
Athlon 64X2 6000+/ Asus CROSSHAIR / 2GB ram / FX8800GTS 320Mo
Athlon 64 3000+/ Asus A8N sli / 2GB ram / FX7600GT 256Mo
Satellite PRO P100 (PSPA4E) Core2Duo 2Ghz / 2 GB ram
Back to top
View user's profile Send private message
luckyluke3310
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2004
Posts: 129
Location: Lille (FRANCE)

PostPosted: Wed Oct 06, 2004 8:08 pm    Post subject: Reply with quote

42.7 fps into doom3 (default video conf.)
_________________
Athlon 64X2 6000+/ Asus CROSSHAIR / 2GB ram / FX8800GTS 320Mo
Athlon 64 3000+/ Asus A8N sli / 2GB ram / FX7600GT 256Mo
Satellite PRO P100 (PSPA4E) Core2Duo 2Ghz / 2 GB ram
Back to top
View user's profile Send private message
jurrie
Apprentice
Apprentice


Joined: 14 Mar 2004
Posts: 177
Location: Netherlands

PostPosted: Wed Oct 06, 2004 9:12 pm    Post subject: Reply with quote

Hiya! I'm thinking I'm doing something wrong here -_-;

Geforce FX5900 XT
AMD64 3200+
1GB Kingston
S-ATA

Running doom3 at 1024x768, Medium detail, default settings gives me 29.0 fps while running demo1. I know this can be higher (windows gave me 37.3 fps with high detail).

I run nvidia driver 6111 and symlinked to my own (64-bit) .so files. GlxGears gives me 7640fps.

The only thing i can think of is my driver in cat /proc/driver/nvidia/agp/status being AGPGART and Fast writes being off.

Or is this just the max i can get at this time? Is the linux version really that much slower?
Back to top
View user's profile Send private message
Zzoot
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2003
Posts: 98
Location: Iowa.

PostPosted: Wed Oct 06, 2004 9:13 pm    Post subject: Reply with quote

Okay...Just got Doom3 Installed. The standard how-tos at the top didn't work for me, but maybe I did something screwy. So I went the easy route and emerged the ebuild. It works anyway, and hopefully, when a patch comes out it can auto-upgrade it.

Anyway...lets see here...
AMD 3500 on Abit AV8 (via)
Geforce 6800GT 256 (woo-hoo!)
Audigy2
Pure Gentoo.

GLXgears = 12854.600 FPS
Doom3 -- timedemo demo1 = 48.8 fps. 1280x1024 and all details upped to High (but not ultra) This looks quite beautiful....if a bit dark...now where's my flashlight...

'cat /proc/driver/nvidia/agp/status'
Status: Enabled
Driver: AGPGART
AGP Rate: 8x
Fast Writes: Enabled
SBA: Enabled
(If you don't have Fast writes or SBA enabled, but want to and should be able to, edit the file /etc/modules.conf near the end...)

From what I understand, nvAGP doesn't quite work on the via chipsets (yet)... its been a while since I did the research, though. AGPGART is what-ya-got. but it does seem to work pretty well. Any hints on upping the framerate above 48?

Anyway, that's been my experience so far... I'm fairly happy. :D
Back to top
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Thu Oct 07, 2004 1:05 am    Post subject: Reply with quote

Zzoot wrote:
From what I understand, nvAGP doesn't quite work on the via chipsets (yet)...

I have the nForce3 250 chipset and nvAGP doesn't work. I can't build an AMD64 2.6 kernel without agpgart.
Back to top
View user's profile Send private message
Quximoz
n00b
n00b


Joined: 10 Apr 2004
Posts: 12
Location: Tucson AZ

PostPosted: Thu Oct 07, 2004 2:15 am    Post subject: win/lin client comparisons Reply with quote

Ok, I've done some Windows/Linux comparisons here.
I've got an Athlon 64 3000+, 1G of RAM, GeForce FX 5700 with 256M RAM. I'm using the 1.0-6111 drivers, fast writes and SBA are enabled.

I ran "timedemo demo1 usecache" for 3 different resolutions in each OS, with the "high" detail setting selected, and everything default except sync to vblank disabled. I ran two trials for every resolution, and they were the same usually. They differed twice in Win.

Res. Linux Windows
640x480 28.5 39.2/39.5
800x600 20.6 29.1/29.2
1024x768 14.1 20.6

Disappointing... I don't know if its the client or the drivers.
Back to top
View user's profile Send private message
Zzoot
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2003
Posts: 98
Location: Iowa.

PostPosted: Thu Oct 07, 2004 2:51 am    Post subject: Reply with quote

There's one difference between the 2 platforms that I've heard linux is a bit lacking on...Sound.
Is there any kind of sound-benchmark for linux?
Or at least you could try turning OFF sound (can we do that?) in Doom and benchmark that for comparisons...

Hmmm.... :?
Back to top
View user's profile Send private message
Corp.Nobbs
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2003
Posts: 112
Location: Reading, UK

PostPosted: Thu Oct 07, 2004 7:09 pm    Post subject: Reply with quote

Corp.Nobbs wrote:
Ditto problem as with paulisdead,

this time with a Realtek ALC850 on an ASUS A8V (snd-via82xx)
First mmap error, then if you use the quake3 trick, you get it complaining about a freqency of 48k rather than 44.1k.
I also tried adding the following to my /etc/modules.d/alsa to try to force it to 44.1k but no change.
Code:
options snd_via82xx ac97_clock=44100


*sigh* back to XP :roll:


Got a solution to my problem from LinuxGames. Used this in combination with:
Code:
echo "doom.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "doomx86 0 0 disable" > /proc/asound/card0/pcm0p/oss


From Linuxgames:
Quote:
Solution for no sound (SNDCTL_DSP_SPEED error) - Posted by Anonymous -
Reply | Reply with History | Oct 06 2004 17:19:43 | 62.212.121.77
I see I'm not the only one to get this error:

WARNING: ioctl SNDCTL_DSP_SPEED failed to get the requested frequency 44100, got 44101



I don't have a sound server, and use pure OSS (no alsa emulation). Apparently it is caused by low-quality sound chipset, or bad drivers, that are not able to provide the requested frequency (due to limitations or round-off errors), and return the closest frequency they can handle. It should not be really an error, but Doom3 decides that for 1Hz of difference, it won't play sound :/

I propose a... radical fix: patch the doom3 binary so that it doesn't compare the returned value with the expected one, and act as if it was OK.

I don't assume any problem this could cause to your system !!

You will need a hexadecimal editor for that; I used "hexcurse" (text-mode).
- You should know where you installed doom3, and go to this directory.
- DO A BACKUP of the original "doom.x86" binary in a safe place elsewhere.
- You may need to be root to modify the file. In this case you should better do a copy of the file as a normal user, edit it as described with this user, and overwrite it back as root when you are done.Less chance to do errors as root...
- open the file with "hexcurse doom.x86"
- Go to the byte to modify by typing "Ctrl-G" and entering the address ; for doom3, it is address 001BED1B ; for doom3-demo, it is 001BE3FB.
- Modifiy the "74" under the cursor to "EB".
- Save (Ctrl-S) and quit (Ctrl-Q)
The md5sum of the modified binary is now:
a4b9c37eef2ad5142b9c88f0447bb52a for the complete version
3cb21789bd262ef6f4b451cce8559239 for the demo version.
If not, you made an error; restore the backup file and start again.

Now doom3 should ignore any difference in the frequency settings. It worked OK for me because I have only a 1Hz difference; if you have more, I don't know how it will behave...


For those interested/who want to be sure I didn't just install a virus in their binary :) here is the explanation:

I used "objdump -d doom.x86 > doom_disassembled.txt" to get the disassembled (machine instructions) version of the program. the SNDCTL_DSP_SPEED ioctl has for value 0xc0045002. There is only 1 occurence of this value in the code. Reading the disassembled output around leads to:


8206ce5: bf 02 50 04 c0 _______ mov $0xc0045002,%edi <-- SNDCTL_DSP_SPEED ioctl code
[... some more parameter passing ...]
8206d05: e8 1a 42 e4 ff _______ call 0x804af24 <-- call the ioctl function
8206d0a: 40 ________________ inc %eax
8206d0b: 0f 84 7e 02 00 00 ____ je 0x8206f8f <-- test if return value is -1 (error)
8206d11: 8b 4e 10 _______________ mov 0x10(%esi),%ecx
8206d14: 3b 8c 24 a4 00 00 00 _____ cmp 0xa4(%esp),%ecx <-- compare a passed parameter to a returned value (the 44100 Hz)
8206d1b: 74 24 __________________ je 0x8206d41 <-- if equal, continue code somewhere
[... else fall through the warning code and sound disabling ...]


My patch replace the test by an unconditionnal jump:

8206d1b: eb 24 _____ jmp 0x8206d41


which never cares about the comparison.

(Disclaimer: this "reverse-engineering" was done purely for interoperability purpose, so should be legal (at least here in Europe) )



Now works like a dream.. And much faster and slicker than XP :lol:
_________________
Asus A8V
AMD64 3500+
1GB XMS3200C2 Pro
120GB Barracuda SATA
Geforce 3
Back to top
View user's profile Send private message
Cr0t
l33t
l33t


Joined: 27 Apr 2002
Posts: 944
Location: USA

PostPosted: Thu Oct 07, 2004 7:36 pm    Post subject: Reply with quote

The Kernel downgrade fixed the problem for me too... overall the game runs just prfect on my machine.
I am just a little bit pissed about the Kernel downgrade, because several people, that includes me too had floppy drive problems. The device just doesn't exist.
_________________
cya
    ©®0t
Back to top
View user's profile Send private message
lightvhawk0
Guru
Guru


Joined: 07 Nov 2003
Posts: 388

PostPosted: Fri Oct 08, 2004 8:23 am    Post subject: Reply with quote

yay I can't play doom3 and I'm sad
Code:
richard@Zion richard $ doom3
DOOM 1.1.1282 linux-x86 Oct  4 2004 08:21:14
Hostname: www.SkyNet
Alias: Zion
IP: 127.0.0.1
TODO: Sys_SetClipboardData
********************
ERROR: gethostbyname localhost failed

********************
Unknown command 'vid_restart'
idRenderSystem::Shutdown()
Sys_Error: gethostbyname localhost failed

richard@Zion richard $ ls /opt/doom3/base/
game00.pk4  pak000.pk4  pak002.pk4  pak004.pk4
game01.pk4  pak001.pk4  pak003.pk4  pak005.pk4

_________________
If God has made us in his image, we have returned him the favor. - Voltaire
Back to top
View user's profile Send private message
Quximoz
n00b
n00b


Joined: 10 Apr 2004
Posts: 12
Location: Tucson AZ

PostPosted: Fri Oct 08, 2004 2:28 pm    Post subject: Reply with quote

You need to have something like
Code:
127.0.0.1       localhost
in your /etc/hosts, not "www.SkyNet"
Back to top
View user's profile Send private message
Zzoot
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2003
Posts: 98
Location: Iowa.

PostPosted: Sat Oct 09, 2004 12:35 am    Post subject: Reply with quote

HA-- Found the sound disable... It's
Code:
s_noSound 1

Of course, that really only raised my fps by about 1. Woop.
Code:
2148 frames rendered in 43.4 seconds = 49.5 fps

This is all with pretty high end hardware, and this would seem to indicate its still GPU limited, rather than sound. Or at least that Sound processing is taking a pretty darn small hit on my system. At any rate, This just looks too pretty to turn down any of the cool detail settings... Like I'm gonna run 640x480 in Pac-Manistropic filtering just to pop over 100 fps...SHEESH...

Ah well... Anyone know how to get surround sound functioning in Doom3?
Or does the OSS-emulation from ALSA even support it?
Back to top
View user's profile Send private message
oggialli
Guru
Guru


Joined: 27 May 2004
Posts: 389
Location: Finland, near Tampere

PostPosted: Sat Oct 09, 2004 9:19 am    Post subject: Reply with quote

Quximoz wrote:
You need to have something like
Code:
127.0.0.1       localhost
in your /etc/hosts, not "www.SkyNet"


Actually, you should have

127.0.0.1 hostname.domain.name localhost hostname

if you want to get domainname working correctly. Most of us do have a dyn IP too with an abstract hostname that changes from time to time. (i don't :P)
_________________
IBM Thinkpad T42P - Gentoo Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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