Re: [SLUG] Two problems - any CLUE/LART accepted

2005-07-28 Thread Felix Sheldon

James Gray wrote:


Hi All,

From the coercion of a colleague (hi Mike), I've done the "Quake3 thing" - 
something I've always resisted.  I'm not a big FPS fan, RTS is more my thing, 
but anyway.


The hardware:
My system is a K8VSE-Deluxe AMD64-3000+ machine with an NVidia FX5700 card 
with TwinView (dual head) set up and working nicely with KDE.


First Problem:
Whilst hacking the bejeezus out of the Q3 installer to handle my AMD64 Kubuntu 
system, I realised the DVD-ROM has stopped running in DMA mode (WTF?).  It 
used to, but I haven't used it in over 4 months and I think there was a 
kernel update in there somewhere.  I've done the "hdparm -d1 /dev/hda" but it 
just barfs and syslog dumps a "Drive Seek Error 0x51 etc" in dmesg (yes, hda, 
my SATA drive is the boot drive and is sda).  Any ideas?  I'm not in front of 
my AMD64 box so chipsets/exact-errors will come laterjust thought someone 
might have seen this before?


Second Problem:
After getting Quake3 running (yay me...I think) I have it displayed on the 
second monitor (on the right) in the bottom-left corner with only the top 
half of the image displayed (see ASCII art below).  My primary monitor runs 
1280x1024 and the secondary runs 1024x768 with "TwinView" handling all the 
multi-head stuff.  Obviously 1/2 of a Q3 screen aint gonna get me anywhere so 
how can I force it onto the main dislpay at a reasonable resolution?
 
 

You could run in windowed mode, if you can see enough of the settings 
menu, uncheck 'full screen', or hit alt-enter. I have seen Q3 display 
strangely if it's told to run in a resolution not actually listed in 
xorg.conf, have you tried setting Q3 resolution to 1024x768?


If it runs OK apart from all that, can you let me know what nVidia card 
you're using? I have plain Ubuntu on AMD64, but 32 bit games run at a 
fairly bad framerate and have glitches with textures displaying strangely.




eg,

-
|   |
|   |
|This is all black  |
|   |  Primary monitor is over there -->
|   |  and is totally black.
|  Quake 3  |   |
|  top 1/2  |   |
|  here |   |
-

Ideas anyone?  I need dual head more than I need quake, but it would be nice 
not having to boot that other OS just for the occasional fragging.


 

Is there a graphical twinview config thingy where you could temporarily 
disable the 2nd screen? (Only a dirty camper would have time to check 
their email while playing Q3.) =)


--
Felix
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Two problems - any CLUE/LART accepted

2005-07-28 Thread James Gray
On Fri, 29 Jul 2005 10:47 am, James Gray wrote:
> First Problem:
> Whilst hacking the bejeezus out of the Q3 installer to handle my AMD64
> Kubuntu system, I realised the DVD-ROM has stopped running in DMA mode
> (WTF?).  It used to, but I haven't used it in over 4 months and I think
> there was a kernel update in there somewhere.  I've done the "hdparm -d1
> /dev/hda" but it just barfs and syslog dumps a "Drive Seek Error 0x51 etc"
> in dmesg (yes, hda, my SATA drive is the boot drive and is sda).  Any
> ideas?  I'm not in front of my AMD64 box so chipsets/exact-errors will come
> laterjust thought someone might have seen this before?

OK - the DMA root cause has been identified:

$grep -i dma /boot/config-2.6.10-5-amd64-generic
...
CONFIG_IDEDMA_ONLYDISK=y

Ghoddammit! WHO put that in there?!? When?! Why?  Any brain-waves on how to 
disable it without a kernel compile?  I know how to build a kernel the 
"debain way" but I'd rather just stick with the distro's default kernels (coz 
I'm lazy and don't want to break stuff...like the NVidia package!).

$sudo hdparm -d1 /dev/hda
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma=  0 (off)


$lspci
:00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host
 Bridge (rev 01)
:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800
 South]
:00:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
 Controller (rev 80)
:00:0a.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Gigabit
 Ethernet 10/100/1000Base-T Adapter (rev 13)
:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID
 Controller (rev 80)
:00:0f.1 IDE interface: VIA Technologies, Inc.
 VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
...
(snipped USB stuff and video card/AGP fru-fru)

James
-- 
"Dump the condiments.  If we are to be eaten, we don't need to taste good."
-- "Visionaries" cartoon


pgpmUFU8r0e5x.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Two problems - any $CLUE/$LART accepted

2005-07-28 Thread James Gray
Hi All,

From the coersion of a colleague (hi Mike), I've done the "Quake3 thing" - 
something I've always resisted.  I'm not a big FPS fan, RTS is more my thing, 
but anyway.

The hardware:
My system is a K8VSE-Deluxe AMD64-3000+ machine with an NVidia FX5700 card 
with TwinView (dual head) set up and working nicely with KDE.

First Problem:
Whilst hacking the bejeezus out of the Q3 installer to handle my AMD64 Kubuntu 
system, I realised the DVD-ROM has stopped running in DMA mode (WTF?).  It 
used to, but I haven't used it in over 4 months and I think there was a 
kernel update in there somewhere.  I've done the "hdparm -d1 /dev/hda" but it 
just barfs and syslog dumps a "Drive Seek Error 0x51 etc" in dmesg (yes, hda, 
my SATA drive is the boot drive and is sda).  Any ideas?  I'm not in front of 
my AMD64 box so chipsets/exact-errors will come laterjust thought someone 
might have seen this before?

Second Problem:
After getting Quake3 running (yay me...I think) I have it displayed on the 
second monitor (on the right) in the bottom-left corner with only the top 
half of the image displayed (see ASCII art below).  My primary monitor runs 
1280x1024 and the secondary runs 1024x768 with "TwinView" handling all the 
multi-head stuff.  Obviously 1/2 of a Q3 screen aint gonna get me anywhere so 
how can I force it onto the main dislpay at a reasonable resolution?
  
eg,

-
|   |
|   |
|This is all black  |
|   |  Primary monitor is over there -->
|   |  and is totally black.
|  Quake 3  |   |
|  top 1/2  |   |
|  here |   |
-

Ideas anyone?  I need dual head more than I need quake, but it would be nice 
not having to boot that other OS just for the occasional fragging.

Cheers,

James
-- 
BOFH excuse #403:
Sysadmin didn't hear pager go off due to loud music from bar-room speakers.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Two problems - any CLUE/LART accepted

2005-07-28 Thread James Gray
Hi All,

From the coercion of a colleague (hi Mike), I've done the "Quake3 thing" - 
something I've always resisted.  I'm not a big FPS fan, RTS is more my thing, 
but anyway.

The hardware:
My system is a K8VSE-Deluxe AMD64-3000+ machine with an NVidia FX5700 card 
with TwinView (dual head) set up and working nicely with KDE.

First Problem:
Whilst hacking the bejeezus out of the Q3 installer to handle my AMD64 Kubuntu 
system, I realised the DVD-ROM has stopped running in DMA mode (WTF?).  It 
used to, but I haven't used it in over 4 months and I think there was a 
kernel update in there somewhere.  I've done the "hdparm -d1 /dev/hda" but it 
just barfs and syslog dumps a "Drive Seek Error 0x51 etc" in dmesg (yes, hda, 
my SATA drive is the boot drive and is sda).  Any ideas?  I'm not in front of 
my AMD64 box so chipsets/exact-errors will come laterjust thought someone 
might have seen this before?

Second Problem:
After getting Quake3 running (yay me...I think) I have it displayed on the 
second monitor (on the right) in the bottom-left corner with only the top 
half of the image displayed (see ASCII art below).  My primary monitor runs 
1280x1024 and the secondary runs 1024x768 with "TwinView" handling all the 
multi-head stuff.  Obviously 1/2 of a Q3 screen aint gonna get me anywhere so 
how can I force it onto the main dislpay at a reasonable resolution?
  
eg,

-
|   |
|   |
|This is all black  |
|   |  Primary monitor is over there -->
|   |  and is totally black.
|  Quake 3  |   |
|  top 1/2  |   |
|  here |   |
-

Ideas anyone?  I need dual head more than I need quake, but it would be nice 
not having to boot that other OS just for the occasional fragging.

Cheers,

James
-- 
BOFH excuse #403:
Sysadmin didn't hear pager go off due to loud music from bar-room speakers.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html