Running love 0.9.0 on arch linux (error)

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Nsmurf
Party member
Posts: 191
Joined: Fri Jul 27, 2012 1:58 am
Location: West coast.

Running love 0.9.0 on arch linux (error)

Post 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
OBEY!!!
My Blog
UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
User avatar
Nsmurf
Party member
Posts: 191
Joined: Fri Jul 27, 2012 1:58 am
Location: West coast.

Re: Running love 0.9.0 on arch linux (error)

Post by Nsmurf »

Bump.

Anyone know why this is?

I want to play with 0.9.0!
OBEY!!!
My Blog
UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Running love 0.9.0 on arch linux (error)

Post by bartbes »

Do you actually have accelerated graphics set up at all?
User avatar
Nsmurf
Party member
Posts: 191
Joined: Fri Jul 27, 2012 1:58 am
Location: West coast.

Re: Running love 0.9.0 on arch linux (error)

Post by Nsmurf »

No, just onboard graphics. Is that a problem?
OBEY!!!
My Blog
UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Running love 0.9.0 on arch linux (error)

Post 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.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
Ensayia
Party member
Posts: 399
Joined: Sat Jun 12, 2010 7:57 pm

Re: Running love 0.9.0 on arch linux (error)

Post by Ensayia »

I'm running Arch. If you can tell me what graphics chip you have I can help you locate the proper drivers.
User avatar
Nsmurf
Party member
Posts: 191
Joined: Fri Jul 27, 2012 1:58 am
Location: West coast.

Re: Running love 0.9.0 on arch linux (error)

Post 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
OBEY!!!
My Blog
UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Running love 0.9.0 on arch linux (error)

Post 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.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Running love 0.9.0 on arch linux (error)

Post by bartbes »

OpenGL does not work over ssh, if that's what you're trying.
User avatar
Ensayia
Party member
Posts: 399
Joined: Sat Jun 12, 2010 7:57 pm

Re: Running love 0.9.0 on arch linux (error)

Post by Ensayia »

It looks like you are running an Intel graphics chipset. Make sure you have the xf86-video-intel package installed.
Post Reply

Who is online

Users browsing this forum: pgimeno and 92 guests