[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wolfenstein: E-T on debian amd64 with ATI X800 Pro gfx?



On Sat, Aug 12, 2006 at 12:01:01PM +0100, Jo Shields wrote:
> Jesper Nyholm Jensen wrote:
> >On Sat, Aug 12, 2006 at 10:33:15AM +0100, Jo Shields wrote:
> > 
> >>Jo Shields wrote:
> >>   
> >>>Jesper Nyholm Jensen wrote:
> >>>     
> >>>>Hi,
> >>>>I would like to run Wolfenstein: Enemy Territory on my amd64 system,
> >>>>as I had it running on my 32-bit debian before I upgraded to amd64. 
> >>>>Is it at all possible?
> >>>>
> >>>>Some words about my setup:
> >>>>
> >>>> o HW:     - AMD64 3200+,
> >>>>   - ATI X800 Pro gfx card.
> >>>> o SW:
> >>>>   - OS: debian amd64 unstable/sid,
> >>>>   - Linux kernel: 2.6.15.7,
> >>>>   - X: Xorg 7.0,
> >>>>   - gfx driver: proprietary ATI binary driver v. 8.27.10 (kernel 
> >>>>module compiled and loaded),
> >>>>   - a 32-bit debian sid chroot,
> >>>>   - Wolfenstein: E-T v. 2.60.
> >>>>
> >>>>chroot:
> >>>>is working. I installed mplayer and some codecs and was able to 
> >>>>view a .wmv-file.
> >>>>Also, I installed firefox and a flash plugin and was able to view 
> >>>>flash in firefox.
> >>>>
> >>>>3D-acceleration:
> >>>>is working on amd64. I tried running 'ppracer' (on amd64, i.e. not 
> >>>>in chroot) with and without
> >>>>the driver loaded - it runs fast with and slow without. I also tried
> >>>>installing and running 'ppracer' in my chroot, but it was slow, so it
> >>>>seems 3D-acceleration is not working for my chroot.
> >>>>
> >>>>Wolfenstein: Enemy Territory:
> >>>>is not working, neither in amd64 nor in the 32-bit chroot. Here is the
> >>>>output when run in chroot:
> >>>>============================== ET output begin 
> >>>>===================== W: Failed to change to directory 
> >>>>'/pack/fglrx/ati': No such file or
> >>>>directory
> >>>>W: Falling back to directory '/'
> >>>>I: [sid386 chroot] Running command: "et"
> >>>>ET 2.60 linux-i386 Mar 10 2005
> >>>>----- FS_Startup -----
> >>>>Current search path:
> >>>>/home/nyholm/.etwolf/etmain
> >>>>/usr/local/games/enemy-territory/etmain/pak2.pk3 (22 files)
> >>>>/usr/local/games/enemy-territory/etmain/pak1.pk3 (10 files)
> >>>>/usr/local/games/enemy-territory/etmain/pak0.pk3 (3725 files)
> >>>>/usr/local/games/enemy-territory/etmain/mp_bin.pk3 (6 files)
> >>>>/usr/local/games/enemy-territory/etmain
> >>>>
> >>>>----------------------
> >>>>3763 files in pk3 files
> >>>>execing default.cfg
> >>>>couldn't exec language.cfg
> >>>>couldn't exec autoexec.cfg
> >>>>Hunk_Clear: reset the hunk ok
> >>>>
> >>>>------- Input Initialization -------
> >>>>Joystick is not active.
> >>>>------------------------------------
> >>>>Bypassing CD checks
> >>>>----- Client Initialization -----
> >>>>----- Initializing Renderer ----
> >>>>-------------------------------
> >>>>----- Client Initialization Complete -----
> >>>>----- R_Init -----
> >>>>...loading libGL.so.1: Initializing OpenGL display
> >>>>...setting mode 4: 800 600
> >>>>Using XFree86-VidModeExtension Version 2.2
> >>>>XF86DGA Mouse (Version 2.0) initialized
> >>>>XFree86-VidModeExtension Activated at 800x600
> >>>>Using 8/8/8 Color bits, 24 depth, 0 stencil display.
> >>>>GL_RENDERER: Mesa GLX Indirect
> >>>>
> >>>>***********************************************************
> >>>>You are using software Mesa (no hardware acceleration)!   Driver 
> >>>>DLL used: libGL.so.1
> >>>>If this is intentional, add
> >>>>"+set r_allowSoftwareGL 1"
> >>>>to the command line when starting the game.
> >>>>***********************************************************
> >>>>...WARNING: could not set the given mode (4)
> >>>>Initializing OpenGL display
> >>>>...setting mode 3: 640 480
> >>>>Using XFree86-VidModeExtension Version 2.2
> >>>>XF86DGA Mouse (Version 2.0) initialized
> >>>>XFree86-VidModeExtension Activated at 640x480
> >>>>Received signal 11, exiting...
> >>>>
> >>>>============================== ET output end =====================
> >>>>Except for the first 3 lines the output is exactly the same in amd64.
> >>>>
> >>>>Any ideas?
> >>>> 
> >>>>        
> >>>1) You need the ATI driver installed inside the chroot as well as 
> >>>outside it (as it provides replacement libGL files)
> >>>
> >>>2) What does "ls -l /usr/lib/libGL.so.1" say?
> >>>
> >>>3) what does "glxinfo | grep vendor" say?
> >>>      
> >>Oh, and do 2 & 3 outside the chroot - I personally would avoid using 
> >>a chroot unless absolutely neccessary, and I know that for games, a 
> >>chroot isn't absolutely neccessary
> >>
> >>    
> >
> >No chroot for ET you say; how would one go about that?
> >  
> 
> Um... just run the ET installer?
> 

Tried that; installer runs with no problems, but running 'et' gives same result as in the chroot.

> 
> >1)
> >I was thinking I might have to, but hoping I wouldn't, because
> >how do I build the ATI driver kernel module? I mean, what kernel
> >source do I use; the source from amd64 or do I need to install a
> >kernel source package for the chroot?
> >  
> 
> You will need to build a dummy package which will satisfy the 
> dependancy, using "equivs"
> 

Oh, I will have to look into that.

> >2)
> >Outside chroot:
> >$ ls -l /usr/lib/libGL.so.1
> >lrwxrwxrwx 1 root root 12 Aug 10 18:47 /usr/lib/libGL.so.1 -> 
> >libGL.so.1.2
> >  
> 
> Thinking about it, more relevant outside a chroot is 
> "/emul/ia32-linux/usr/lib/libGL.so*" - but generally, I'm pretty sure 
> libGL.so.1.2 is from Mesa, indicating a wider library problem - where 
> precisely did you get your fglrx-driver package from?
> 

$ find / -name libGL.so\* -exec ls -al '{}' \;
-rw-r--r-- 1 root root 447560 May 29 04:56 /var/sid-386-chroot/usr/lib/libGL.so.1.2
lrwxrwxrwx 1 root root 12 Aug 11 22:38 /var/sid-386-chroot/usr/lib/libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 772272 Aug 10 18:45 /usr/lib/libGL.so.1.2
-rw-r--r-- 1 root root 601096 May 30 08:56 /usr/lib/fglrx/diversions/libGL.so.1.2
lrwxrwxrwx 1 root root 12 May 31 19:46 /usr/lib/fglrx/diversions/libGL.so.1 -> libGL.so.1.2
lrwxrwxrwx 1 root root 12 Aug 10 18:47 /usr/lib/libGL.so.1 -> libGL.so.1.2
lrwxrwxrwx 1 root root 10 Aug 10 22:15 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 29 Apr  8 14:44 /usr/X11R6/lib64/libGL.so -> /usr/X11R6/lib64/libGL.so.1.2
lrwxrwxrwx 1 root root 29 Apr  8 14:44 /usr/X11R6/lib64/libGL.so.1 -> /usr/X11R6/lib64/libGL.so.1.2
-rw-r--r-- 1 root root 447560 May 29 04:56 /emul/ia32-linux/usr/lib/fglrx/diversions/libGL.so.1.2
lrwxrwxrwx 1 root root 12 Aug 10 17:28 /emul/ia32-linux/usr/lib/fglrx/diversions/libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 642476 Aug 10 18:45 /emul/ia32-linux/usr/lib/libGL.so.1.2
lrwxrwxrwx 1 root root 12 Aug 10 18:47 /emul/ia32-linux/usr/lib/libGL.so.1 -> libGL.so.1.2

I'm not sure about which shared libraries are used when; what about
/usr/lib/fglrx/diversions/libGL.so.1.2? At least I notice that it's 
not the same size as /usr/lib/libGL.so.1.2.

I got the ATI driver installer from

https://support.ati.com/ics/support/KBAnswer.asp?questionID=1177

and used it to generate the packages

-rw-r--r-- 1 root   root       5624 Aug 10 18:46 fglrx-control_8.27.10-1_amd64.deb
-rw-r--r-- 1 root   root     105678 Aug 10 18:46 fglrx-driver-dev_8.27.10-1_amd64.deb
-rw-r--r-- 1 root   root   15966792 Aug 10 18:46 fglrx-driver_8.27.10-1_amd64.deb
-rw-rw-r-- 1 root   root       1297 Aug 10 18:46 fglrx-installer_8.27.10-1_amd64.changes
-rw-r--r-- 1 root   root     399432 Aug 10 18:46 fglrx-kernel-src_8.27.10-1_amd64.deb
-rw-r--r-- 1 root   root      77256 Aug 10 18:46 fglrx-sources_8.27.10-1_amd64.deb

and installed fglrx-driver_8.27.10-1_amd64.deb and
fglrx-kernel-src_8.27.10-1_amd64.deb.

Maybe this helps: 

$ dpkg -L fglrx-driver
/.
/usr
/usr/lib
/usr/lib/xorg
/usr/lib/xorg/modules
/usr/lib/xorg/modules/linux
/usr/lib/xorg/modules/linux/libfglrxdrm.so
/usr/lib/xorg/modules/drivers
/usr/lib/xorg/modules/drivers/fglrx_drv.so
/usr/lib/dri
/usr/lib/dri/fglrx_dri.so
/usr/lib/dri/atiogl_a_dri.so
/usr/lib/libfglrx_dm.so.1.0
/usr/lib/libfglrx_gamma.so.1.0
/usr/lib/libfglrx_pp.so.1.0
/usr/lib/libfglrx_tvout.so.1.0
/usr/lib/libGL.so.1.2
package diverts others to: /usr/lib/fglrx/diversions/libGL.so.1.2
/usr/bin
/usr/bin/fgl_glxgears
/usr/bin/fglrx_xgamma
/usr/bin/fglrxinfo
/usr/bin/aticonfig
/usr/sbin
/usr/sbin/atieventsd
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/atieventsd.8.gz
/usr/share/doc
/usr/share/doc/fglrx-driver
/usr/share/doc/fglrx-driver/README.Debian
/usr/share/doc/fglrx-driver/copyright
/usr/share/doc/fglrx-driver/LICENSE.GPL.gz
/usr/share/doc/fglrx-driver/LICENSE.expat
/usr/share/doc/fglrx-driver/LICENSE.xmlconfig
/usr/share/doc/fglrx-driver/articles
/usr/share/doc/fglrx-driver/articles/1gbhang.html
/usr/share/doc/fglrx-driver/articles/4461.html
/usr/share/doc/fglrx-driver/articles/4462.html
/usr/share/doc/fglrx-driver/articles/4463.html
/usr/share/doc/fglrx-driver/articles/4464.html
/usr/share/doc/fglrx-driver/articles/4469.html
/usr/share/doc/fglrx-driver/articles/4470.html
/usr/share/doc/fglrx-driver/articles/4475.html
/usr/share/doc/fglrx-driver/articles/4478.html
/usr/share/doc/fglrx-driver/articles/4479.html
/usr/share/doc/fglrx-driver/articles/4480.html
/usr/share/doc/fglrx-driver/articles/4481.html
/usr/share/doc/fglrx-driver/articles/4482.html
/usr/share/doc/fglrx-driver/articles/4483.html
/usr/share/doc/fglrx-driver/articles/4484.html
/usr/share/doc/fglrx-driver/articles/4485.html
/usr/share/doc/fglrx-driver/articles/corruptstereo.html
/usr/share/doc/fglrx-driver/articles/corruptvtswitch.html
/usr/share/doc/fglrx-driver/articles/devshm.html
/usr/share/doc/fglrx-driver/articles/dga3dhang.html
/usr/share/doc/fglrx-driver/articles/doom3corrupt.html
/usr/share/doc/fglrx-driver/articles/dualheadvideo.html
/usr/share/doc/fglrx-driver/articles/laptopsuspend.html
/usr/share/doc/fglrx-driver/articles/missingdrmheaders.html
/usr/share/doc/fglrx-driver/articles/mousecursorhang.html
/usr/share/doc/fglrx-driver/articles/no3d-aiw8500dv.html
/usr/share/doc/fglrx-driver/articles/no3d-kt400.html
/usr/share/doc/fglrx-driver/articles/nomembercount.html
/usr/share/doc/fglrx-driver/articles/pcie3dmemoryleak.html
/usr/share/doc/fglrx-driver/articles/r420blankdisplay.html
/usr/share/doc/fglrx-driver/articles/rv280dviblankdisplay.html
/usr/share/doc/fglrx-driver/articles/rv350springdale.html
/usr/share/doc/fglrx-driver/articles/secondheadcorruption.html
/usr/share/doc/fglrx-driver/articles/xf86_enodev.html
/usr/share/doc/fglrx-driver/articles/xrestartpcie.html
/usr/share/doc/fglrx-driver/articles/xvsatshift.html
/usr/share/doc/fglrx-driver/configure.html
/usr/share/doc/fglrx-driver/driverfaq.html
/usr/share/doc/fglrx-driver/examples
/usr/share/doc/fglrx-driver/examples/etc
/usr/share/doc/fglrx-driver/examples/etc/acpi
/usr/share/doc/fglrx-driver/examples/etc/acpi/ati-powermode.sh
/usr/share/doc/fglrx-driver/examples/etc/acpi/events
/usr/share/doc/fglrx-driver/examples/etc/acpi/events/a-ac-aticonfig
/usr/share/doc/fglrx-driver/examples/etc/acpi/events/a-lid-aticonfig
/usr/share/doc/fglrx-driver/examples/etc/init.d
/usr/share/doc/fglrx-driver/examples/etc/init.d/atieventsd.sh
/usr/share/doc/fglrx-driver/index.html
/usr/share/doc/fglrx-driver/installer.html
/usr/share/doc/fglrx-driver/issues.html
/usr/share/doc/fglrx-driver/linuxfaq.html
/usr/share/doc/fglrx-driver/release-notes
/usr/share/doc/fglrx-driver/release-notes/images
/usr/share/doc/fglrx-driver/release-notes/images/backgrnd.gif
/usr/share/doc/fglrx-driver/release-notes/images/caution.gif
/usr/share/doc/fglrx-driver/release-notes/images/clipbrd.gif
/usr/share/doc/fglrx-driver/release-notes/images/linux_10.gif
/usr/share/doc/fglrx-driver/release-notes/images/linux_82.gif
/usr/share/doc/fglrx-driver/release-notes/images/linux_83.gif
/usr/share/doc/fglrx-driver/release-notes/images/linux_84.gif
/usr/share/doc/fglrx-driver/release-notes/images/linux_85.gif
/usr/share/doc/fglrx-driver/release-notes/images/linux_86.gif
/usr/share/doc/fglrx-driver/release-notes/images/linux_87.gif
/usr/share/doc/fglrx-driver/release-notes/images/linux_88.gif
/usr/share/doc/fglrx-driver/release-notes/images/linux_89.gif
/usr/share/doc/fglrx-driver/release-notes/images/linux_8a.gif
/usr/share/doc/fglrx-driver/release-notes/images/noboarder.gif
/usr/share/doc/fglrx-driver/release-notes/index.html
/usr/share/doc/fglrx-driver/tips-linux.html
/usr/share/doc/fglrx-driver/user-manual
/usr/share/doc/fglrx-driver/user-manual/index.html
/usr/share/doc/fglrx-driver/ATI_LICENSE.TXT.gz
/usr/share/doc/fglrx-driver/LICENSE.QPL.gz
/etc
/etc/acpi
/etc/acpi/events
/etc/acpi/events/fglrx-ac-aticonfig
/etc/acpi/events/fglrx-lid-aticonfig
/etc/acpi/fglrx-powermode.sh
/etc/default
/etc/default/fglrx
/etc/X11
/etc/X11/Xsession.d
/etc/X11/Xsession.d/70fglrx
/etc/fglrxprofiles.csv
/etc/fglrxrc
/etc/ati
/etc/ati/logo.xbm.example
/etc/ati/logo_mask.xbm.example
/etc/ati/authatieventsd.sh
/etc/init.d
/etc/init.d/atieventsd
/emul
/emul/ia32-linux
/emul/ia32-linux/usr
/emul/ia32-linux/usr/lib
/emul/ia32-linux/usr/lib/xorg
/emul/ia32-linux/usr/lib/xorg/modules
/emul/ia32-linux/usr/lib/dri
/emul/ia32-linux/usr/lib/dri/fglrx_dri.so
/emul/ia32-linux/usr/lib/dri/atiogl_a_dri.so
/emul/ia32-linux/usr/lib/libGL.so.1.2
package diverts others to:
/emul/ia32-linux/usr/lib/fglrx/diversions/libGL.so.1.2
/usr/lib/libGL.so.1
package diverts others to: /usr/lib/fglrx/diversions/libGL.so.1
/usr/lib/libfglrx_tvout.so.1
/usr/lib/libfglrx_gamma.so.1
/emul/ia32-linux/usr/lib/libGL.so.1
package diverts others to:
/emul/ia32-linux/usr/lib/fglrx/diversions/libGL.so.1

> >3)
> >Outside chroot:
> >$ glxinfo |grep vendor
> >server glx vendor string: SGI
> >client glx vendor string: ATI
> >OpenGL vendor string: ATI Technologies Inc.
> 
> I'm not happy about the top entry
> 

No...:-/



Reply to: