Page 1 of 2

Running love 0.9.0 on arch linux (error)

Posted: Tue Dec 17, 2013 7:12 am
by Nsmurf
Hi,

When I tried to run love 0.9.0 OR love 0.8.0 oon arch linux (after updating both) I got a library linking error. Upon fixing that, "love08" runs, but "love" gives:

Code: Select all

Could not set video mode: Couldn't find matching GLX visual
Error: [string "boot.lua"]:322: Could not set window mode
stack traceback:
    [C]: in function 'assert'
    [string "boot.lua"]:322: in function <[string "boot.lua"]:233>
    [C]: in function 'xpcall'
Could not set video mode: Couldn't find matching GLX visual
How can I fix this?

Thanks,
Nsmurf

Re: Running love 0.9.0 on arch linux (error)

Posted: Thu Dec 19, 2013 7:40 pm
by Nsmurf
Bump.

Anyone know why this is?

I want to play with 0.9.0!

Re: Running love 0.9.0 on arch linux (error)

Posted: Thu Dec 19, 2013 10:23 pm
by bartbes
Do you actually have accelerated graphics set up at all?

Re: Running love 0.9.0 on arch linux (error)

Posted: Sat Dec 21, 2013 11:51 pm
by Nsmurf
No, just onboard graphics. Is that a problem?

Re: Running love 0.9.0 on arch linux (error)

Posted: Wed Dec 25, 2013 11:58 am
by qubodup
"onboard" doesn't answer the question. ASUS EeePC 1000H has hardware acceleration, as does the FOXCONN A7GM-S 2.0 Mainboard. You might have to install a driver though.

What happens if you run

Code: Select all

glxgears
see https://wiki.archlinux.org/index.php/Be ... g#glxgears on how to install

What exact laptop or mainboard do you use? See http://www.legroom.net/2010/05/05/get-b ... thin-linux on how to find out.

Re: Running love 0.9.0 on arch linux (error)

Posted: Thu Dec 26, 2013 8:06 am
by Ensayia
I'm running Arch. If you can tell me what graphics chip you have I can help you locate the proper drivers.

Re: Running love 0.9.0 on arch linux (error)

Posted: Thu Dec 26, 2013 11:51 pm
by Nsmurf
Sorry it took me so long to reply; I've been busy with real life stuff.
qubodup wrote: What happens if you run

Code: Select all

glxgears
see https://wiki.archlinux.org/index.php/Be ... g#glxgears on how to install
Output:

Code: Select all

15 frames in 5.1 seconds =  2.930 FPS
18 frames in 5.0 seconds =  3.566 FPS
20 frames in 5.2 seconds =  3.846 FPS
20 frames in 5.2 seconds =  3.850 FPS
6 frames in 6.2 seconds =  0.975 FPS
19 frames in 5.3 seconds =  3.604 FPS
19 frames in 5.0 seconds =  3.794 FPS
...etc...
The graphical output was slow, but that's probably mostly because I was running it through SSH.

[quote="qubodup"What exact laptop or mainboard do you use? See http://www.legroom.net/2010/05/05/get-b ... thin-linux on how to find out.[/quote]

Desktop. Here's the output of the bios alias:

Code: Select all

Motherboard: Dell Computer Corporation
Product Name: Dimension 3000               
Serial Number: FHD9Q71

BIOS: Dell Computer Corporation
Version: A02
Release Date: 11/08/2004
Ensayia wrote:I'm running Arch. If you can tell me what graphics chip you have I can help you locate the proper drivers.
lspci output (Is this what you are looking for?):

Code: Select all

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev ff)
00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.3 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:01.0 Modem: Intel Corporation FA82537EP 56K V.92 Data/Fax Modem PCI (rev 04)
01:02.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
lspci -v output is here

Re: Running love 0.9.0 on arch linux (error)

Posted: Fri Dec 27, 2013 1:58 am
by qubodup
I noticed there are similar issues. I had it at some point too, probably just forgot to install graphics drivers back then though.
It typically means it can't create a window of that size, are you running on something that has a display smaller than 800x600?
from http://www.love2d.org/forums/viewtopic. ... GLX+visual+

Did you run love/love08 both without loading a game? Both should spawn a 800x600 window. Did you run them both over ssh? Are you sure X was running (on both?). What are the screen resolutions of client/server?

I for one can't run love/love08 over ssh at all using ssh -X or ssh -Y. I get

Code: Select all

Error: No available video device
Both computers can run love/love08 locally though.

Re: Running love 0.9.0 on arch linux (error)

Posted: Fri Dec 27, 2013 10:56 am
by bartbes
OpenGL does not work over ssh, if that's what you're trying.

Re: Running love 0.9.0 on arch linux (error)

Posted: Fri Dec 27, 2013 4:58 pm
by Ensayia
It looks like you are running an Intel graphics chipset. Make sure you have the xf86-video-intel package installed.