Page 25 of 37

Re: [FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Tue Dec 12, 2006 6:01 pm
by katriell
A couple of questions...

http://is1.itr.no/~zyrom/linux/doku.php?id=soundpatch
On that page, it refers to "the above patch file," but there is no link to any patch as far as I can tell.

Just upgraded to 0.9.27. This is displayed in the terminal when I start winecfg, and has been in all Wine versions I've used (IIRC):
ALSA lib confmisc.c:1105 :( snd_func_refer) Unable to find definition 'defaults.pcm.ipc_key'
ALSA lib conf.c:3479 :( _snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3947 :( snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2146 :( snd_pcm_open_noupdate) Unknown PCM dmix:0
ALSA lib confmisc.c:1105 :( snd_func_refer) Unable to find definition 'defaults.pcm.ipc_key'
ALSA lib conf.c:3479 :( _snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3947 :( snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2146 :( snd_pcm_open_noupdate) Unknown PCM dsnoop:0
On a possibly useful note for novices: http://heirloom.sourceforge.net/man/renice.1.html

Re: [FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Thu Dec 14, 2006 5:23 pm
by zyrom
katriell wrote:A couple of questions...

http://is1.itr.no/~zyrom/linux/doku.php?id=soundpatch
On that page, it refers to "the above patch file," but there is no link to any patch as far as I can tell.
Ooops should be fxed now.
katriell wrote: Just upgraded to 0.9.27. This is displayed in the terminal when I start winecfg, and has been in all Wine versions I've used (IIRC):
strange. doesnt happen to me, but it *looks* like a missconfigured alsa... possibly some alsa modules that are not loaded or a alsaconfig file out of wack.
katriell wrote: On a possibly useful note for novices: http://heirloom.sourceforge.net/man/renice.1.html

Just a note here: You need to renice to a positive value, that means heigtening the priority, this is normaly not possible for regular users, only the root user has that previlege.
I ran some test yesterday on an unpatched 0.9.27 and the changes are actually minimal betwen a renice value of -15 to +15 with +15 generating less underrun errors but instead genreating some buffer alingment/size errors. The audiable changes are also minimal, when i get the time il apply the audio patch and see if it changes anything...

@blaah:
blaah wrote: .... and sound has always worked (alsa in kernel, oss in wine)....
Intersting to hear that sound allways worked for you, is it working totally error free, without audilble artifacts, including music ?
what sytem / distribution / kernel are you running with ?
which interrupt does your sound card have? is it shared ?

Re: [FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Thu Dec 14, 2006 8:33 pm
by blaah
zyrom wrote:Intersting to hear that sound allways worked for you, is it working totally error free, without audilble artifacts, including music ?
cant say completely error free, but if i dont choke cpu (like compiling something in the background without "nice -n 19" ;-) , then it's working without artifacts. sound and music both.
Sound is working when i run ryzom with prio 0 too, but i like to run other programs in background (browser, editor, shell etc), and i get better responce in them when i have ryzom with nice prio 19)

i checked my 3 sound cards (onboard, ca0106 and emu10k1).
only emu10k1 is working with both alsa and oss in wine (tho, i think oss is little better quality/stable)

one thing that did make difference, in winecfg audio tab, i have "Hardware acceleration: Full". sample rate/bits didnt make any difference.

i had athlon xp before and it worked with it too (apic was disabled then).
currently running A64 with 64bit ubuntu (32bit wine ofcourse ;-) .
lspci:
04:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
Subsystem: Creative Labs SBLive! 5.1 Digital Model SB0220

dmsg:
ACPI: PCI Interrupt 0000:04:0a.0[A] -> Link [LNKC] -> GSI 18 (level, low) -> IRQ 58

Re: [FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Fri Dec 15, 2006 9:48 pm
by herbalch
just wanted to point out what i do usually, i havent tried Ryzom under cedega yet but usually i have all my games installed on my windows partition. i just navigate to that partition and load the exe directly from there. keeps things clean and dont have to worry about installing

Re: [FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Fri Dec 29, 2006 6:40 am
by katriell
EDIT: Another problem: the hardware cursor is invisible.

-------------------------------------------------------

EDIT: fix is to run as root or use sudo, gksu, etc. Or, to check the file owner and chown to yourself if it's root... :p

wine 0.9.28

Ryzom basically stops at this point of the "Checking files for patch..." stage:
Set file attributes :./unpack/ryzom_00607.Idx
1/1


Ran the launch script in terminal to see if there was anything interesting going on, this is what was displayed at the time:

Code: Select all

WRN     f file.cpp 217 client_ryzom_rd.exe : FILE: Size of file './unpack/ryzom_ 00607.idx' is 0
WRN     f persistent_data.cpp 1167 client_ryzom_rd.exe : Failed to open input file ./unpack/ryzom_00607.idx
INF     f login.cpp 1784 client_ryzom_rd.exe : CAHUninitResLod called
INF     f login_patch.cpp 481 client_ryzom_rd.exe : Client Version (00000) Serve r Version (607)
INF     f login_patch.cpp 481 client_ryzom_rd.exe : Getting File :http://88.191.23.36:40916/patch_live/ryzom_00607.idx -> ./unpack/ryzom_00607.idx
INF     f login_patch.cpp 481 client_ryzom_rd.exe : Downloading File With Curl:./unpack/ryzom_00607.idx
INF     f login_patch.cpp 481 client_ryzom_rd.exe : Getting File : ryzom_00607.idx
INF     f login_patch.cpp 481 client_ryzom_rd.exe : Set file attributes :./unpack/ryzom_00607.idx

Re: [FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Fri Dec 29, 2006 8:45 am
by blaah
katriell wrote:EDIT: Another problem: the hardware cursor is invisible.
i assume you have win98 set in wine ? then it's something new with wine 0.9.28

Re: [FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Fri Dec 29, 2006 9:45 am
by katriell
blaah wrote:i assume you have win98 set in wine ? then it's something new with wine 0.9.28
Yep, had Win98 set.

For now, I've returned to 0.9.27.

The other problem was just a side effect of files belonging to root. Chowned them and all is well.

Re: [FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Fri Dec 29, 2006 10:42 am
by zyrom
katriell wrote:EDIT: Another problem: the hardware cursor is invisible.
interesting, i do not have this problem
but it does ring a bell, i'l see if i can digg up something about this...
if my memory serves me right its a nvidia setting somewhere, but I'm not sure
anyways these are the setting I have in the X config (fc6 / xorg 7.1 btw)

Code: Select all

Section "Device"

    Option      "XvmcUsesTextures" "ON"
    Option      "AllowGLXWithComposite" "true"
    Option      "AddARGBGLXVisuals"     "true"

    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "Nvidia"
    BoardName      "NVIDIA Geforce FX 5900TZ"
EndSection
Section "Screen"

    Option         "Coolbits" "1"
    Option         "MultisampleCompatibility" "ON"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowDDCCI" "ON"
    Option         "RenderAccel" "ON"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection
Edit:
The wine appdb also as a comment/patch about this se here
It could have something to do with using 24 or 32 colourdepths...
katriell wrote: Ryzom basically stops at this point of the "Checking files for patch..." stage:
Set file attributes :./unpack/ryzom_00607.Idx
1/1
Yes this happens since last patch and has nothing to do with wine. It seems
the problem here is that the server that it is trying to fetch the idx file from does not respond correctly, so it will hang here for a while before giving up, and trying and alternate server, which will work. So, just let it hang there..
To confuse the issue, sometimes the alternate servers is selected first, and Ryzom passes this point immediately.

But another bug that has crept up is that it is quite tricky to get Ryzom to go to full screen mode. I think this is some interaction between the latest Xorg , Nvidia driver, wine and Ryzom. One workaround is to maximize the initial window and setting the resolution in the lover left to the correct fullscreen values before logging in. This as to be done each time, it seems Ryzom has problems figuring out the correct dimensions of the screen...

Re: [FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Wed Jan 03, 2007 1:06 am
by tribaal
So has anyone successfully run Ryzom under wine 0.9.28 with sound?

I'm using Ubuntu 6.10, and so far I had to load the snd-seq module before running Ryzom to prevent initial warning message. I though it would make the sound work, but it doesn't unfortunately.
I tried applying the patch found in the wiki to 0.9.28 sources and then installing it, but I get the invisible cursor problem, and still no sound.

WineCfg reports I'm using OSS and Alsa (both are ticked), and hardware acceleration is set to "full".

No sound still, either with the binairy 0.9.28 (from .deb packages) or with the one I compiled myself after patching...

Anything I'm missing here?
Thanks a lot!

- trib'

Re: [FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Wed Jan 03, 2007 6:40 am
by blaah
tribaal wrote:WineCfg reports I'm using OSS and Alsa (both are ticked), and hardware acceleration is set to "full".
i'm sure wine says that it cant enable hardware acceleration and suggests you to set it to emulated mode.
running "wine client_ryzom_rd.exe > /dev/null" in terminal should filter out ryzom msgs and only leave wine ones.
also make sure no one else is using sound card at that time.

... but if you dont have hw.acc. at "full", i dont think you can get sound to work properly.
i'm using emu10k1 sound card (SB Live 5.1 something) and sound works properly only when i have hw.acc at full.