Live for Speed - LFS Main Site
- LFS World
- LFS News
- LFS Manual
- LFS Merchandise
  http://www.lfs-etcc.com/

Go Back   Live for Speed > Main > Technical Assistance

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th December 2008, 15:52   #1  -   
DaniAv
S2 licensed
 
Join Date: Feb 2008
Posts: 10
DaniAv's online stats
LFS with linux(UBUNTU)

i have windows vista, and i have some problems with this operation system.
I want try linux UBUNTU, my question is "the simulator will work good on linux"?
thanks a lot
Reply With Quote
Old 18th December 2008, 15:55   #2  -   
dougie-lampkin
S2 licensed
 
dougie-lampkin's Avatar
 
Racername: [SG] Rob
Join Date: Apr 2006
Location: Stab City, Ireland
Posts: 4,266
dougie-lampkin's online stats
I've tried running LFS under WINE on 8.10 a few days ago, and it doesn't fully work. It was dead slow even in the menus, and as soon as I selected a track, it crashed
__________________
Intel Q6600 @ 3.0Ghz (BSODs at 3.1Ghz...) | 4x Corsair TwinX 800Mhz PC6400 1024MB | MSI N9800GTX-T2D512-OC | Gigabyte GA-EP35-DS3 | Corsair VX550W | ThermalTake Soprano
Reply With Quote
Old 18th December 2008, 15:59   #3  -   
XCNuse
Moderator
 
XCNuse's Avatar
 
Racername: XCNuse
Join Date: Sep 2003
Location: Atlanta ,GA
Posts: 8,090
XCNuse's online stats
Technically it would work if you use an emulation software, which can be nice sometimes to get cross platform usage, but emulators are bad at one thing.. performance.

As dougie said, it might work, but it will be so slow it won't even be worth it in the end.
__________________

Reply With Quote
Old 18th December 2008, 16:02   #4  -   
marek100
S2 licensed
 
marek100's Avatar
 
Join Date: Jul 2006
Location: Liverpool U.K
Posts: 72
marek100's online stats
Quote:
Originally Posted by DaniAv View Post
i have windows vista, and i have some problems with this operation system.
I want try linux UBUNTU, my question is "the simulator will work good on linux"?
thanks a lot

Well try new windows 7 , i do use for last month with no problems, yes vista made me so much problems but now with windows 7 all runs fine .About ubuntu yeah good staff but sorry not for windows gaming m8 ,wine its to slow and not all will work.
Reply With Quote
Old 18th December 2008, 16:11   #5  -   
DaniAv
S2 licensed
 
Join Date: Feb 2008
Posts: 10
DaniAv's online stats
Quote:
Originally Posted by marek100 View Post
Well try new windows 7 , i do use for last month with no problems, yes vista made me so much problems but now with windows 7 all runs fine .About ubuntu yeah good staff but sorry not for windows gaming m8 ,wine its to slow and not all will work.
its first time i hear about "windows 7" can you get me more information?
Reply With Quote
Old 18th December 2008, 16:57   #6  -   
Shadowww
No longer welcome
 
Join Date: Jan 2008
Location: Riga, LV
Posts: 4,679
Windows vista: ~50 fps
Linux gentoo with wine 1.1.10: ~80 fps
That's on laptop (both has no AA)

Yeah, XP has more than 100 fps, but i can't use it for free (vista was OEM, and linux is free).
Reply With Quote
Old 18th December 2008, 17:01   #7  -   
marek100
S2 licensed
 
marek100's Avatar
 
Join Date: Jul 2006
Location: Liverpool U.K
Posts: 72
marek100's online stats
Quote:
Originally Posted by DaniAv View Post
its first time i hear about "windows 7" can you get me more information?
Yes http://windows7news.com/ enjoy . if you need any more info please send me Pm ill send you link where to get this os[IMG][/IMG]

Last edited by marek100; 18th December 2008 at 17:06.
Reply With Quote
Old 19th December 2008, 13:44   #8  -   
NightShift
S2 licensed
 
NightShift's Avatar
 
Join Date: Jun 2008
Posts: 1,208
NightShift's online stats
Quote:
Originally Posted by DaniAv View Post
I want try linux UBUNTU, my question is "the simulator will work good on linux"?
I have used LFS on Debian Lenny/AMD64, it worked quite fine and the frame rate was close to native, the card (nVidia 6150SE, nothing fancy) has decent accelerated drivers. Gamepad worked fine, had no wheel at the time, so I can't comment on that.

Quote:
Originally Posted by XCNuse View Post
Technically it would work if you use an emulation software, which can be nice sometimes to get cross platform usage, but emulators are bad at one thing.. performance.
Wine Is Not an Emulator emulators are used for entirely different architectures (e.g. Amiga on PC). What Wine does is simply "translate" the calls to Windows' API to native calls.

Lots of games work, and the whole thing is quite zippy, to the point certain system benchmarks under Wine were faster than Windows XP.
__________________
Back in 2007: Scawen vs FBM, Patch Y
Reply With Quote
Old 19th December 2008, 14:23   #9  -   
jbirdaspec
S2 licensed
 
Racername: J.Odom
Join Date: Dec 2007
Location: Texas, U.S.A.
Posts: 300
jbirdaspec's online stats
Quote:
Originally Posted by DaniAv View Post
i have windows vista, and i have some problems with this operation system.
I want try linux UBUNTU, my question is "the simulator will work good on linux"?
thanks a lot
Use this with Ubuntu to run games:

Not an Emulator. It works directly with the DirectX API for gaming on Linux. Very good product and free trial.

http://www.cedega.com/gamesdb/games/...l?game_id=3179

Jay
Reply With Quote
Old 19th December 2008, 14:27   #10  -   
Mikey
S2 licensed
 
Mikey's Avatar
 
Join Date: May 2003
Posts: 24
Mikey's online stats
I've had LFS working under ubuntu. Theres a couple of issues but nothing that doesnt make it unplayable. It was quite a while ago i tried this.

some shadows look funny, not layed / rendered correctly
sound sometimes lags / clicks / pops
lack or force feedback / device support under linux
Reply With Quote
Old 19th December 2008, 14:34   #11  -   
frokki
S2 licensed
 
frokki's Avatar
 
Join Date: Jun 2005
Posts: 1,812
frokki's online stats
On my system (3500+, 7900GS, 2 gbit, ubuntu 8.04, wine 1.0) LFS runs identically and almost as fast as on XP (< 20% difference), but it's not worth playing at all without the full support of G25. LFS (and drunken RBR with friends sometimes) is the only thing why I still have Windows at home.

And I wouldn't recommend the commercial (wine based) cedega, since the developement of Wine will get further, if it isn't already.
http://en.wikipedia.org/wiki/Cedega#Present

Last edited by frokki; 19th December 2008 at 14:40.
Reply With Quote
Old 19th December 2008, 16:04   #12  -   
Marco1
S2 licensed
 
Join Date: Apr 2007
Posts: 202
Marco1's online stats
Can i let run LFS.Dedi with these emulator?

PS: got linux since today :P
Reply With Quote
Old 20th December 2008, 07:30   #13  -   
lvlo
S2 licensed
 
lvlo's Avatar
 
Racername: [AA] lvlo
Join Date: Dec 2007
Location: Moscow
Posts: 145
lvlo's online stats
Quote:
Originally Posted by Marco1 View Post
Can i let run LFS.Dedi with these emulator?

PS: got linux since today :P
Yes. I run 2 LFS servers with Ubuntu 8.10 and Wine 1.01.
More info here: http://www.lfsforum.net/showthread.php?t=9572

Last edited by lvlo; 20th December 2008 at 07:34.
Reply With Quote
Old 22nd December 2008, 05:19   #14  -   
LeManchot
S2 licensed
 
LeManchot's Avatar
 
Racername: FRH LeManchot
Join Date: Dec 2006
Location: Paris
Posts: 12
LeManchot's online stats
I have only Linux Fedora on my computer since 3 years, and I play only with LFS since this period and it works perfectly now.

At first, I had a lot of problems with shadows so I had to disable this option.
And sometime with new wine version, some problems came in (sound problem, etc...), but now the game is really good... And it never crash.


However I have two problem with my wheel (Logitech Formula EX) :
- I cannot seperate my 2 pedals. So I can't brake and accelerate at the same time.
- The Force feedback doesn't work (I have to disable it)

So, I want to know if someone can test the G25 for me under Linux ??? PLEASE...
Reply With Quote
Old 22nd December 2008, 07:01   #15  -   
bunder9999
S2 licensed
 
bunder9999's Avatar
 
Racername: bunder
Join Date: Jun 2008
Posts: 4,041
bunder9999's online stats
you have to hack the kernel to get force feedback + g25 working.

use a newer kernel. i cannot stress that enough. i'm using 2.6.25 currently.

make the required changes to the source in accordance with the quotes here: http://vdrift.net/Forum/viewtopic.php?p=8199#8199 just the kernel stuff, udev hacks not needed.

turn on hid-ff, and the option for logitech controllers.

compile, reboot, etc.

get usbtool from here: http://vdrift.net/Forum/viewtopic.php?p=7013#7013

you'll need python 2.4 and a couple other deps for it to run.

okay, so you have it all installed and it's go-time to use it:

Quote:
usbtool g25-set-extended-mode (turns on the clutch pedal and shifter)
usbtool g25-set-range-wheel-900 (turns on full 900 deg support)
rmmod joydev && rmmod usbhid && modprobe usbhid (/dev/input/js0 disappears, you have to reload it)
chgrp games /dev/input/event6 (fixing permissions so you can use the wheel as your user)
chmod g+rw /dev/input/event6 (fixing permissions so you can use the wheel as your user)
(event number might be different, check your directory)

then run wine/lfs as usual. turn on force feedback, and if necessary, reconfigure all your buttons (i had to).

that should be all you need to get it working. one thing i must point out, is that wine's current force feedback implementation sucks ass... they added some stuff to get it working in 1.0, and haven't touched it since. your wheel will shake a lot, and you might experience issues with the pedals and shifter. can't do anything about that until the wine devs get their act together.

http://appdb.winehq.org/objectManage...rsion&iId=3755
http://bugs.winehq.org/show_bug.cgi?id=9221

cheers
__________________
Quote:
Originally Posted by Scawen View Post
All I want is for people to make sensible posts on the forum.
yeah, and all we wanted was a patch. nobody ever gets what they want...

Last edited by bunder9999; 22nd December 2008 at 07:09.
Reply With Quote
Old 22nd December 2008, 19:18   #16  -   
LeManchot
S2 licensed
 
LeManchot's Avatar
 
Racername: FRH LeManchot
Join Date: Dec 2006
Location: Paris
Posts: 12
LeManchot's online stats
Thanks a lot for your response...

I have a "Logitech Formula Force EX" (not G25), and it seems to be recognized by my kernel (2.6.27.7-134.fc10.x86_64).
Moreover, I can't find the file : /usr/src/linux/drivers/hid/hid-ff.c
(Even if I run the command : find / -name hid-ff.* -print)

So do I really have to recompile my kernel ?


The usbtool works : when I use it, the /dev/js0 disappear.
But I can't make it appear again, even if I use the modprobe usbhid :

# rmmod usbhid
ERROR: Module usbhid does not exist in /proc/modules
# modprobe usbhid
FATAL: Module usbhid not found.

I don't know how to create the usbhid module. Do you ?


After that, I have to use modprobe joydev, and unplug/plug my USB wire to make the /dev/js0 appear again, and to be abble to use it.

I will continue to search alone my problem, but if you have some responses, feel free to help me

Thanks again
Reply With Quote
Old 22nd December 2008, 22:39   #17  -   
bunder9999
S2 licensed
 
bunder9999's Avatar
 
Racername: bunder
Join Date: Jun 2008
Posts: 4,041
bunder9999's online stats
usbhid won't be a module unless you make it a module. by default it's a built-in. easily changed in "make menuconfig". (same goes for joydev)

i don't have 2.6.27 installed here, but the file does exist on 2.6.25 and 2.6.26, you might want to give one of those a try.

cheers

edit: when you do get this all working, you won't need to unplug/replug, that's what the module reloading is for. besides, unplugging the wheel will reset it back to the "standard mode" (ie no clutch, no shifter, reduced steering)
__________________
Quote:
Originally Posted by Scawen View Post
All I want is for people to make sensible posts on the forum.
yeah, and all we wanted was a patch. nobody ever gets what they want...
Reply With Quote
Old 27th September 2012, 12:17   #18  -   
drunk85
S2 licensed
 
drunk85's Avatar
 
Racername: K.Jaunzemis
Join Date: Mar 2008
Location: Jelgava
Posts: 16
drunk85's online stats
Hello!
I used now linux (ubuntu)!
I intall LFS through WINE and are well, but I can't run LFS!

Use wine to run lfs, bet nothing!

I am a beginner linux use.

I hope you can help me!
Reply With Quote
Old 27th September 2012, 12:41   #19  -   
MadCatX
S2 licensed
 
Racername: M4DC4T
Join Date: Nov 2004
Location: Prague (Praha)
Posts: 3,036
MadCatX's online stats
Can you be more specific about your problem? Which version of Ubuntu do you run and how do you launch LFS? What exactly happens when you try to start LFS?
__________________
Quote:
Originally Posted by Marin2
Quote:
It is!!! I know a guy who installed a speedometer from chinese scooter on his WRX and after that he couldn't go faster than 100km/h!
Well, well...now it looks that there is something in the mistery of speedoo unblocking:-)
Reply With Quote
Old 27th September 2012, 12:58   #20  -   
drunk85
S2 licensed
 
drunk85's Avatar
 
Racername: K.Jaunzemis
Join Date: Mar 2008
Location: Jelgava
Posts: 16
drunk85's online stats
I have Ubuntu 4.12 version.
I've installed the lfs folder and all is as it should!

But I can not run the same lfs, because nothing is happening!
Showing arrow instead of the load, but then nothing happens when stops charging!
Reply With Quote
Old 27th September 2012, 13:19   #21  -   
MadCatX
S2 licensed
 
Racername: M4DC4T
Join Date: Nov 2004
Location: Prague (Praha)
Posts: 3,036
MadCatX's online stats
I assume you mean Ubuntu 12.04? How did you run the installer and where did you install LFS? You might need to run LFS from console, it will at least tell you what goes wrong.
__________________
Quote:
Originally Posted by Marin2
Quote:
It is!!! I know a guy who installed a speedometer from chinese scooter on his WRX and after that he couldn't go faster than 100km/h!
Well, well...now it looks that there is something in the mistery of speedoo unblocking:-)
Reply With Quote
Old 27th September 2012, 13:39   #22  -   
drunk85
S2 licensed
 
drunk85's Avatar
 
Racername: K.Jaunzemis
Join Date: Mar 2008
Location: Jelgava
Posts: 16
drunk85's online stats
from a console?

Linux software'm noob!
Reply With Quote
Old 27th September 2012, 14:55   #23  -   
MadCatX
S2 licensed
 
Racername: M4DC4T
Join Date: Nov 2004
Location: Prague (Praha)
Posts: 3,036
MadCatX's online stats
https://help.ubuntu.com/community/UsingTheTerminal

Switch to the directory where you installed LFS using "cd" and type "wine LFS".
__________________
Quote:
Originally Posted by Marin2
Quote:
It is!!! I know a guy who installed a speedometer from chinese scooter on his WRX and after that he couldn't go faster than 100km/h!
Well, well...now it looks that there is something in the mistery of speedoo unblocking:-)
Reply With Quote
Old 27th September 2012, 15:52   #24  -   
drunk85
S2 licensed
 
drunk85's Avatar
 
Racername: K.Jaunzemis
Join Date: Mar 2008
Location: Jelgava
Posts: 16
drunk85's online stats
I am stupid, becase, i read this code but con't use!

LFS folder I stand on desktop, LFS.exe icon standing on desktop!
Reply With Quote
Old 27th September 2012, 17:17   #25  -   
MadCatX
S2 licensed
 
Racername: M4DC4T
Join Date: Nov 2004
Location: Prague (Praha)
Posts: 3,036
MadCatX's online stats
You only need 4th paragraph in this section. If you installed LFS into your desktop folder, something like this should work
Code:
cd ~/Desktop/LFS
wine LFS.exe
(note that all commands are case sensitive!)
__________________
Quote:
Originally Posted by Marin2
Quote:
It is!!! I know a guy who installed a speedometer from chinese scooter on his WRX and after that he couldn't go faster than 100km/h!
Well, well...now it looks that there is something in the mistery of speedoo unblocking:-)
Reply With Quote
Old 29th September 2012, 10:15   #26  -   
rowdog
S2 licensed
 
rowdog's Avatar
 
Racername: rowdog
Join Date: Aug 2011
Location: Deep East Texas
Posts: 33
rowdog's online stats
Yes, Arch Linux + WINE + G27 (and DFGT) has worked great (with FFB) for a year at least. The downside is, if you don't have a recent Logitek wheel, you don't have driver support and thus, no FFB.

For the haters: Diablo II has more FPS under WINE than under WinX.
Reply With Quote
Reply

  Live for Speed > Main > Technical Assistance

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:56.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Live for Speed © 2002-2014 - Scawen Roberts, Eric Bailey, Victor van Vlaardingen