Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
quake III arena
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
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Sat May 15, 2010 7:36 pm    Post subject: quake III arena Reply with quote

Ola,

I am new to gentoo, it took me a while to make it work (some stiff still pending), but...

I just emerged my first game quake III arena.
"emerge games-fps/quake3"
The emerging was fast, like 5 minutes...
I use xfce desktop. In main menu I got Games and inside it Quake III arena.

But when I click on it, nothing happens...

I did usermod -G games <user>
but that did not help, in fact, I do not have the permission to go "su -" anymore!!!

Thank you.
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sat May 15, 2010 8:51 pm    Post subject: Reply with quote

If you can't "su -" anymore then you have more to worry about than Quake 3. You need to be in the wheel group to do that. Log in as root directory from the console if you have to. If you're still having problems, it could be OpenGL related. Does other 3D stuff work?
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Sat May 15, 2010 9:27 pm    Post subject: Reply with quote

Ola Chewi,

yes, I figured that I should log as root and add wheel and all other stuff, games also, kheh.
Now it is working. It seems that I can not add just one group to user with usermod -G games <user>, since it cancels all others...

Right now I emerged open arena, but... it is quite slower that it used to be...
When I say 'used to be' I mean when I had ubuntu. There it was running ok, bit here on Gentoo it is a bit slow, I think it is the frames, but I am no expert and I am saying frames just so it sound that I know what I am talking about...

So mouse is slower, pictures are slower.

Quake still no response.

How do I check if I have OpenGL? From here it looks like I have it:
Code:
grom@C6820s ~ $ emerge -pv opengl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] virtual/opengl-7.0  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
grom@C6820s ~ $


Thank you.
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sat May 15, 2010 9:39 pm    Post subject: Reply with quote

I didn't realise you'd literally typed that. I think there is a command for adding users to groups but I can never remember what it is. I usually edit /etc/groups directly. Probably shouldn't recommend that. :D

It's not as simple as merely "having" OpenGL. Tell us what graphics card you have and post the output of glxinfo so we can see what drivers you're using.
Back to top
View user's profile Send private message
crazymonito
n00b
n00b


Joined: 01 Feb 2010
Posts: 68
Location: Boulder, CO

PostPosted: Sat May 15, 2010 10:35 pm    Post subject: Reply with quote

To add the user to a specific group without removing all of the other ones use this command:
Code:

gpasswd -a username group


I made that same mistake when I started using Gentoo, lol. I might have mixed up the order of 'username' and 'group' (I'm not at home to verify), but it gives you a confirmation message after it completes.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sat May 15, 2010 10:40 pm    Post subject: Reply with quote

That's the one! I knew it had some totally non-obvious name.
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Sun May 16, 2010 12:36 am    Post subject: Reply with quote

What's the output of "glxinfo |grep enGL" ?

What is the output if you try to start the game from a terminal? Any error messages?
Back to top
View user's profile Send private message
antonlacon
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 257

PostPosted: Sun May 16, 2010 2:35 am    Post subject: Reply with quote

You need to copy Quake's datafiles off the CD before it will run. The ebuild message tells you where (somewhere in /opt I think). You've only emerged the engine to run it.
Back to top
View user's profile Send private message
crazymonito
n00b
n00b


Joined: 01 Feb 2010
Posts: 68
Location: Boulder, CO

PostPosted: Sun May 16, 2010 2:47 am    Post subject: Reply with quote

antonlacon wrote:
You need to copy Quake's datafiles off the CD before it will run. The ebuild message tells you where (somewhere in /opt I think). You've only emerged the engine to run it.


He has it running already, but it's running slowly. He's probably missing the drivers for his graphics card, but we need him to post what he has to let him know what to do next.

Edit: Nevermind, I read that wrong.


Last edited by crazymonito on Sun May 16, 2010 7:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Sun May 16, 2010 9:18 am    Post subject: Reply with quote

Ola,

Thanks for tips how to add group to existing user, I will have to remember that, kheh.

About the game,
First I searched for Open Arena in Gentoo portage web site.
And I saw Quake, and I said I should try something different that Open Arena.
So I did like so:
"emerge games-fps/quake3"
And running it does nothing.


But, since I had no game to play yesterday (I had the urge to shut something)
I also installed Open Arena, That is different game, I think...
And this one is running slow. On same machine when ubuntu was on, it played nicely.


On GL (as root):
Code:
C6820s ~ # glxinfo
-su: glxinfo: command not found
C6820s ~ # glxinfo | grep enGL
-su: glxinfo: command not found
C6820s ~ #


As here suggested I ran it in terminal just now:
Code:
grom@C6820s ~ $ quake3
quake3      quake3-smp
grom@C6820s ~ $ quake3
ioQ3 1.34-rc3 linux-x86_64 May 15 2010
----- FS_Startup -----
Current search path:
/home/grom/.q3a/baseq3
/usr/share/games/quake3/baseq3/pak8.pk3 (9 files)
/usr/share/games/quake3/baseq3/pak7.pk3 (4 files)
/usr/share/games/quake3/baseq3/pak6.pk3 (64 files)
/usr/share/games/quake3/baseq3/pak5.pk3 (7 files)
/usr/share/games/quake3/baseq3/pak4.pk3 (272 files)
/usr/share/games/quake3/baseq3/pak3.pk3 (4 files)
/usr/share/games/quake3/baseq3/pak2.pk3 (148 files)
/usr/share/games/quake3/baseq3/pak1.pk3 (26 files)
/usr/share/games/quake3/baseq3
/usr/games/bin/baseq3

----------------------
534 files in pk3 files
Sys_Error: Couldn't find pak0.pk3. Check that your Q3
executable is in the correct place and that every file
in the baseq3 directory is present and readable.
grom@C6820s ~ $


lspci -vv:
Code:
01:00.0 VGA compatible controller: ATI Technologies Inc RV516 [Mobility Radeon X1350] (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device 30d7
   Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Interrupt: pin A routed to IRQ 16
   Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
   Region 1: I/O ports at 4000 [size=256]
   Region 2: Memory at dc400000 (32-bit, non-prefetchable) [size=64K]
   [virtual] Expansion ROM at dc420000 [disabled] [size=128K]
   Capabilities: [50] Power Management version 2
      Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [58] Express (v1) Legacy Endpoint, MSI 00
      DevCap:   MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
         ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
      DevCtl:   Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
         RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
         MaxPayload 128 bytes, MaxReadReq 128 bytes
      DevSta:   CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
      LnkCap:   Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
         ClockPM- Surprise- LLActRep- BwNot-
      LnkCtl:   ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
      LnkSta:   Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
   Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit+
      Address: 0000000000000000  Data: 0000


And last question, Is Quake proprietary? I need CD? In that case, I'll drop it...
I was kind of hoping to play for free (not as in free beer, but as not to have to buy, ...
I'm not sure what the author wanted to say, but it sounds great)
In that case I would turn to Open Arena, to get it working...
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sun May 16, 2010 9:53 am    Post subject: Reply with quote

You do need the CD, only the engine is free. There are plenty of free (and arguably better) games that use the engine though. Also, glxinfo is part of mesa-progs, forgot to mention you need to emerge that first.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sun May 16, 2010 2:00 pm    Post subject: Reply with quote

If you really want quake, one option is to play quakelive. :)
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Sun May 16, 2010 3:07 pm    Post subject: Reply with quote

Yes, Quake3 is a commercial game, only the engine was open-sourced. You need the original CD in order to make use of the quake3 ebuild in portage. That's exactly what the game is telling you (pak0.pk3 holds the game data).

OpenArena is a decent reimplementation with all-free content and exactly the same gameplay. Otherwise, you can try QuakeLive -- it works in Firefox (but not in Webkit-based browsers atm). OpenArena feels and plays almost exactly the same as Quake3Arena, and has enough servers during most hours, though not as many as QuakeLive.

Install mesa-progs and report the output of "glxinfo |grep enGL".
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Sun May 16, 2010 9:00 pm    Post subject: Reply with quote

Ola,

glxinfo |grep enGL:
Code:
grom@C6820s ~ $ glxinfo |grep enGL
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.7.1
OpenGL shading language version string: 1.20
OpenGL extensions:
grom@C6820s ~ $


ok, so I am not interested in quake anymore, but in Open arena, since it is free.
(I am not good at all, I just like to shoot here and there, mostly when I am irritaded,
but never the less, I want it to work ... not to be another thing that irritates me)

Open arena is still in 'frames'... not smooth picture.

Thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sun May 16, 2010 9:08 pm    Post subject: Reply with quote

while true wrote:
Open arena is still in 'frames'... not smooth picture.
From your glxinfo: either you haven't got a good enough graphics card, or you haven't enabled drivers specific to your graphics card. So, your opengl is being rendered by the CPU.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sun May 16, 2010 9:25 pm    Post subject: Reply with quote

Add VIDEO_CARDS="radeon" to your make.conf and remerge mesa. Also switch to xf86-video-ati if you're not using it already. You also need Radeon DRM enabled in your kernel.
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Mon May 17, 2010 9:06 am    Post subject: Reply with quote

What Chewi said. The "Software Rasterizer" part of the glxinfo output means that you don't have any 3d acceleration enabled, which makes any 3d game too slow to be playable.

Your chipset is supported by the open source radeon driver, and you need to build it properly. Try doing what Chewi said, and then we'll see where to take it from there.
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Tue May 18, 2010 2:15 pm    Post subject: Reply with quote

Ola guys,

I already had VIDEO_CARDS="radeon" in my make.conf file.

How can I switch to xf86-video-ati? Is this for emerging?
I have this, with emerge:
Code:

C6820s linux # emerge -pv xf86-video-ati

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-drivers/xf86-video-ati-6.12.6  USE="-debug" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
C6820s linux #


In kernel, I searched for 'radeon' and found this with DRM:


in menuconfig:

Code:
Symbol: DRM_RADEON_KMS [=n]                                             │ 
  │ Prompt: Enable modesetting on radeon by default                         │ 
  │   Defined at drivers/gpu/drm/radeon/Kconfig:1                           │ 
  │   Depends on: STAGING [=n] && !STAGING_EXCLUDE_BUILD [=n] && DRM_RADEON │ 
  │   Location:                                                             │ 
  │     -> Device Drivers                                                   │ 
  │       -> Staging drivers (STAGING [=n])                                 │ 
  │         -> Exclude Staging drivers from being built (STAGING_EXCLUDE_BU │ 
  │                                                                         
...
...
Symbol: DRM_RADEON [=n]                                                 │ 
  │ Prompt: ATI Radeon                                                      │ 
  │   Defined at drivers/gpu/drm/Kconfig:53                                 │ 
  │   Depends on: HAS_IOMEM [=y] && DRM [=y] && PCI [=y]                    │ 
  │   Location:                                                             │ 
  │     -> Device Drivers                                                   │ 
  │       -> Graphics support                                               │ 
  │         -> Direct Rendering Manager (XFree86 4.1.0 and higher DRI suppo │ 
  │   Selects: FB_CFB_FILLRECT [=y] && FB_CFB_COPYAREA [=y] && FB_CFB_IMAGE │ 
  │                                                                         


I went inside
-> Device Drivers
-> Graphics support
-> Direct Rendering Manager ...
and added * to ATI radeon, which was blank.
Nowhere could I found exact DRM...
make && make modules install, copy new kernel to boot,


now, my menuconfig looks like this:
Code:
Symbol: DRM_RADEON [=y]                                                 │ 
  │ Prompt: ATI Radeon                                                      │ 
  │   Defined at drivers/gpu/drm/Kconfig:53                                 │ 
  │   Depends on: HAS_IOMEM [=y] && DRM [=y] && PCI [=y]                    │ 
  │   Location:                                                             │ 
  │     -> Device Drivers                                                   │ 
  │       -> Graphics support                                               │ 
  │         -> Direct Rendering Manager (XFree86 4.1.0 and higher DRI suppo │ 
  │   Selects: FB_CFB_FILLRECT [=y] && FB_CFB_COPYAREA [=y] && FB_CFB_IMAGE



reboot, and IT WORKS!!!!!!!!!!!!!!!!!!!!!!

Thank you guys so very much!!!

Now I can blow some steam off, kheh heh

also:
Code:
grom@C6820s ~ $ glxinfo |grep enGL
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RV515 7196) 20090101  TCL
OpenGL version string: 1.5 Mesa 7.7.1
OpenGL extensions:
grom@C6820s ~ $




By the way, I was looking for some similar games, that are free.
Which do you recommend?

Thank you.
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Tue May 18, 2010 2:25 pm    Post subject: Reply with quote

That's great! Thought you might have to do a little more, glad it was so easy. I would recommend some of the free ones but I've never really played any of them. Don't have enough time to play!
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Tue May 18, 2010 10:32 pm    Post subject: Reply with quote

Quote:
By the way, I was looking for some similar games, that are free.
Which do you recommend?

Well, OpenArena is my favourite :)

But you might want to try Nexuiz and Warsow. Warsow is a bit 1337, but Nexuiz has impressive graphics and a bit of the Unreal Tournament vibe.

Also QuakeLive, which is a free download, but not Free Software. You can download it from quakelive.com, it works as a firefox plugin.

Also -- if you pass radeon.modeset=1 to the kernel in grub, you will have 3d in Compiz too, and will have OpenGL 2 instead lf 1.5. But it might be slightly slower. Alternatively, choose to build the staging drivers and enable kernel modesetting by default -- does the same thing.
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