Weird problem with WINE

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Weird problem with WINE

Post by Stray »

I'm having a weird problem with WINE. I've tried the latest version from here, the latest version in the Ubuntu repositories. I'm using Kubuntu 11.04 x86_64. I'm running AMD Phenom II x4 @ 2.5 GHz, 6 GB of RAM, ATi Radeon x1950 PRO with 512 MB vRAM. Don't know which display drivers I'm using, its whatever I'm working with. I can play any game with no problems...except for WINE. Here is my problem:

I install a game, no problem. Go to play a game, and it's not taking any input from the keyboard. I'll hit escape to skip the intro scene, and it does nothing. I'll get in-game, hit escape to bring up the menu, and get nothing. I'll even hit keys to bring up a specific menu (like in Command and Conquer 3, the O would bring up the objective menus). It's only in games that this happens. I can open up Notepad, and be able to type. It'll take all the keys I put in with no problem. I have tried to uninstall and reinstall, but get nothing. I've tried with no virtual desktop and with virtual desktop with no change.

Help me fix my problem, I want to play my games (and I don't want to go back to Windows!)
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Weird problem with WINE

Post by vitamin »

Stray wrote:I install a game, no problem. Go to play a game, and it's not taking any input from the keyboard.
Post terminal output as described here: http://wiki.winehq.org/FAQ#get_log . If it's too big, please use pastebin.
annabunches
Level 2
Level 2
Posts: 10
Joined: Sun May 15, 2011 3:13 pm

Weird problem with WINE

Post by annabunches »

On 05/24/2011 02:06 AM, Stray wrote:
I'm having a weird problem with WINE. I've tried the latest version from here, the latest version in the Ubuntu repositories. I'm using Kubuntu 11.04 x86_64. I'm running AMD Phenom II x4 @ 2.5 GHz, 6 GB of RAM, ATi Radeon x1950 PRO with 512 MB vRAM. Don't know which display drivers I'm using, its whatever I'm working with. I can play any game with no problems...except for WINE. Here is my problem:

I install a game, no problem. Go to play a game, and it's not taking any input from the keyboard. I'll hit escape to skip the intro scene, and it does nothing. I'll get in-game, hit escape to bring up the menu, and get nothing. I'll even hit keys to bring up a specific menu (like in Command and Conquer 3, the O would bring up the objective menus). It's only in games that this happens. I can open up Notepad, and be able to type. It'll take all the keys I put in with no problem. I have tried to uninstall and reinstall, but get nothing. I've tried with no virtual desktop and with virtual desktop with no change.

Help me fix my problem, I want to play my games (and I don't want to go back to Windows!)
Do you happen to have an input method editor like SCIM or ibus running?
I've found that certain applications (depending on what input libraries
they use) don't interact well with ibus and similar systems. Notably,
Direct3D apps seem to have problems while programs just using the normal
GUI APIs (i.e., notepad) do not.

If you're not sure about whether you have ibus running, it is used to
allow you to input characters from other languages (Japanese, korean,
cyrillic) using a latin alphabet-based keyboard. If you have anything
like that set up, you might be hitting this problem.

- Anna

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-us ... chment.pgp>
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Post by Stray »

Anna,

I'm pretty sure I'm not using any input method editors considering I don't know what they are. I don't type in other languages, so I'm not worrying about ibus running. When I was playing C&C3, I was able to type in my name, but that was it, and it was hella slow putting in the characters. Gameplay is fine, just the input when typing my name was slow, I'd say about 3-4 second delay.

vitamin,

I'll do as you say, and get back with you.
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Post by Stray »

vitamin,

I don't know what pastebins is, but I uploaded the log.txt file to my Box.net account, here is the link to download it:

Here ya go!
Jake Thomas

Weird problem with WINE

Post by Jake Thomas »

As far as what PasteBin is, just go to pastebin.com, click "SIGN UP" and make an account (username and password). It's free! Then you can log in with that user account and password, paste something in (it will have a big thing you can type or paste stuff into), and submit the paste. You can then go back into your pastes and edit previous pastes. And you can copy what's in the address bar while you're at the paste, and give it to someone as a link to that paste. They won't be logged in as you, so you won't have to worry about anyone deleting or editing your paste. This way it won't take up space in your "box", but more importantly, if you ever reorganize your "box" you won't have to redistribute the new link to a text file you had stored as public in your "box".
Pastebin is good for ranting. If you need to vent knowledge and rant about something, you can put it in there, and no one will get mad at you because it's out of the way and doesn't make the WINE mail excessively long.
Pastebin is also good for terminal outputs.
You can have a link to your paste in PasteBin in a reply to a WINE mail.

Cheers,
Jake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Post by Stray »

Oh. Well, thank you Jake for explaining what PasteBin is. But, I rarely even use Box.net, I got while I was in high school because I didn't have a way of saving my reports and what not on. So, I got a Box.net account to save my documents while at home, get to school, download and print it. I've emptied it, and now thats all that is on there is that, a couple of other little text files, and some pictures. Got 1 GB, and I'm using maybe 3 MB.

But, if for whatever reason that goes against WINE's rules, I have no problem with copying it over to PasteBin.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Stray wrote:I don't know what pastebins is, but I uploaded the log.txt file to my Box.net account

Code: Select all

fixme:win:GetRawInputDeviceList (pRawInputDeviceList=(nil), puiNumDevices=0x2fceb68, cbSize=8) stub!
fixme:win:GetRawInputDeviceList (pRawInputDeviceList=(nil), puiNumDevices=0x2fcecec, cbSize=8) stub!
fixme:win:RegisterRawInputDevices (pRawInputDevices=0x6ce313bc, uiNumDevices=1, cbSize=12) stub!
That's your problem. Wine does not support raw input API.

There are few hacks floating around to implement some parts of raw input that's enough for some games. You can try some of them.
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Post by Stray »

The only thing that I can think of that would use the raw input is my 360 controller. And, I was thinking that was causing a problem with Need For Speed: Most Wanted. When I disconnected, it was doing the same thing.

It sort of works in PCSX2 emulator...poorly, it thinks that I'm pushing one of the analog sticks to the left, but at least it's detecting it...and it'll detect another button press, but at least it works lol
annabunches
Level 2
Level 2
Posts: 10
Joined: Sun May 15, 2011 3:13 pm

Weird problem with WINE

Post by annabunches »

On 05/25/2011 01:55 PM, Stray wrote:
The only thing that I can think of that would use the raw input is my 360 controller. And, I was thinking that was causing a problem with Need For Speed: Most Wanted. When I disconnected, it was doing the same thing.

It sort of works in PCSX2 emulator...poorly, it thinks that I'm pushing one of the analog sticks to the left, but at least it's detecting it...and it'll detect another button press, but at least it works lol
It's not a piece of hardware that's talking to the raw input API, it's
the programs - they are written using the raw input API, so they won't
work in wine (unless someone implements the API in wine, of course)

- Anna

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-us ... chment.pgp>
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Post by Stray »

Anna,

I see what you're saying. But what's confusing to me, is I have played both Most Wanted and C&C3 in the past.

So, there are hacks to get it working, what would they be?
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Getting Pasty

Post by SpawnHappyJake »

Stray, I'm pretty sure that box.net is okay. In fact, sometimes I link-post things through my Dropbox.
I use Pastebin now because I don't have to worry about redistributing links to my pastes every time I reorganize my public folder in my Dropbox. I thought that box.net might be similar. Just trying to help.

Cheers,
Jake
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Post by Stray »

Jake,

Your help was appreciated. Sorry if you thought that I was having any attitude. I guess I could have worded that differently. I'm not sure what my Box.net account is capable of, I get e-mails from them all the time about new updates and all that, but I never paid attention.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Weird problem with WINE

Post by Bob Wya »

Stray wrote:... I'm having a weird problem with WINE. I've tried the latest version from here, the latest version in the Ubuntu repositories. I'm using Kubuntu 11.04 x86_64. I'm running AMD Phenom II x4 @ 2.5 GHz, 6 GB of RAM, ATi Radeon x1950 PRO with 512 MB vRAM. Don't know which display drivers I'm using, its whatever I'm working with. ...
I can't tell you what display driver you are using either 8) - but I can tell you it will be the FOSS (open source) one that is still under heavy development. This driver will support native Linux games but it is unlikely to support more than DX7.0 games (e.g. Dues Ex or Half Life 1.0) run via Wine. Come back in five years time or so and things might have changed :D

ATI no longer support cards <HD 2100 - which obviously includes the X1xxx (Pro) series - with their latest proprietary Catalyst display drivers. Basically the drivers you need for any kind of gaming performance under Wine!

The last Ubuntu release to officially support these older Catalyst drivers was Intreped Ibex (8.10). From Jaunty (9.04) onwards the X-Server was updated and broke the proprietary drivers. I was there when it happened (and also had an ATI 1950 Pro 512Mb card)! I got stuck using Inteprid Ibex x64 (which had a really bad memory bug) - I needed the newer Kernel it provided just to install (and I was not aware of PPA's at the time). :roll:

Should you think about upgrading your GPU ( :D ) you are strongly recommended to get an Nvidia series card which also supports VDPAU as well (these include: 240, 250, 460, 560 and are all good gaming cards - the 2xx series are relatively cheap second hand).

I have just been in discussion with someone on the Ubuntu Wine forum who has a new/powerful ATI card (6850 I think) - with the latest, bleeding edge ATI proprietary Catalyst driver (11.x). When running Crysis, via Wine, it runs very well (in terms of visual quality) on my ancient 8800 GTX Nvidia card - he is seeing polygon glitching on his card. I know ATI Linux drivers are always bad on newer hardware - but come on!

I did have a go at struggling to get an ATI HD4870 (1Gb) GPU running on my system. After following a 100 (*well almost) step guide to getting video decode acceleration running and it still not working... :(

I should point out that ATI is a much smaller company than Nvidia and all their driver development effort goes into the Windows platform. ATI have also released more technical details of their hardware to the FOSS community than Nvidia have. The ATI FOSS driver is much more advanced than the Nvidia Nouveau FOSS driver.

I would suggest heading over to Phoronix if you are interested to read more.

Bob
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

All Good

Post by SpawnHappyJake »

I didn't think you had an attitude. I was just saying what Pastebin is and why I use it. I love you guys! Peace out!
Keep in mind there is no tone of voice in pure text (unless explicitly stated, like in a playbook).
Cheers,
Jake
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Post by Stray »

I do want to upgrade my graphics card to an nVidia. But, I'm short on money, so I can't afford one

I can play C&C3 with no problem on high settings. I just can't get the menus or skip the intro
MelissaDaisy99
Newbie
Newbie
Posts: 1
Joined: Thu May 26, 2011 7:50 pm

Post by MelissaDaisy99 »

I don't type in other languages, so I'm not worrying about ibus running. When I was playing C&C3, I was able to type in my name, but that was it, and it was hella slow putting in the characters.
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Post by Stray »

Here's an update on my issue. I don't know what I did, but input works when in full screen only. I like to play my games in full screen, but first I want them to have their own emulated desktop just in case it crashes, I don't have to worry about KDE losing it.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Post by Bob Wya »

Stray wrote:... I don't have to worry about KDE losing it.
??? When a game crashes or hangs, in fullscreen mode, can't you CTRL+ALT+F1 to access a TTY console and kill the offending Wine process? CTRL+ALT+F7 to return to your normal KDE X-Session (on Ubuntu and derivatives anyway)... That normally works - as Wine runs as a user process it rarely brings the whole X-Server down (on my systems anyway)...

Bob
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Post by Stray »

It's not only WINE, but only when I play WINE games in full screen it'll do this. It's also anything I play in fullscreen. Only way to fix it is by restarting it. I recorded a little bit so you can see. Here is the YouTube video. Recorded with my phone. I think that screen capture programs won't capture the flickering

http://www.youtube.com/watch?v=QjwgbjhyWT8
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Post by Bob Wya »

Stray wrote:...
Recorded with my phone. I think that screen capture programs won't capture the flickering
Yeh, I don't know the ins-and-outs of the FOSS ATI driver. But I do know it's in heavy development. Personally I wouldn't even attempt to use it for 3D gaming with Wine (yet). You're simply introducing too many variables. It's bad enough tracing the constant Wine regressions with each new version - which will be different for every game. But having to factor in the graphics card driver capabilities as well is too much!

I presume you've tried setting KDE to disable desktop effects for full-screen applications (in the Desktop Effects settings in the Control Centre)?

Bob
Stray
Level 2
Level 2
Posts: 11
Joined: Tue May 24, 2011 12:37 am

Post by Stray »

No, I haven't tried it. I'm not going to bother with it, because it doesn't do that all the time. Just once in a while it will do it.

Hopefully I'll be able to get a new video card like I've been griping out for the last year. I hate this card anyway lol
Locked