Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old December 30, 2020, 12:30   #31
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 960
fph is on a distinguished road
@PopTart: could you try running your compiled Angband with

SDL_VIDEODRIVER=wayland src/angband -msdl2

and

SDL_VIDEODRIVER=x11 src/angband -msdl2

(careful, no space before and after the equal sign) to see if mouse support works in one of these combinations? Thanks!
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.
fph is offline   Reply With Quote
Old December 31, 2020, 11:55   #32
invisibletroll
Apprentice
 
Join Date: Jul 2020
Posts: 50
invisibletroll is on a distinguished road
Quote:
Originally Posted by fph View Post
@PopTart: could you try running your compiled Angband with

SDL_VIDEODRIVER=wayland src/angband -msdl2

and

SDL_VIDEODRIVER=x11 src/angband -msdl2

(careful, no space before and after the equal sign) to see if mouse support works in one of these combinations? Thanks!
Both give

Code:
src/angband: Unable to prepare any 'display module'!
on Lubuntu.
invisibletroll is offline   Reply With Quote
Old December 31, 2020, 12:12   #33
invisibletroll
Apprentice
 
Join Date: Jul 2020
Posts: 50
invisibletroll is on a distinguished road
Quote:
Originally Posted by fph View Post
I can confirm that the mouse support works on vanilla Ubuntu; I have been using it in many version combinations. However, Lubuntu is a different beast than most linuxes, because it uses Wayland instead of X as its graphics stack.
I haven't followed Ubuntu development that closely. I just know Wayland has been hyped a lot so from the old memory it would be obvious Wayland would be used in almost every distro. The devil is always in these damn details.
invisibletroll is offline   Reply With Quote
Old January 3, 2021, 23:47   #34
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
Quote:
Originally Posted by fph View Post
@PopTart: could you try running your compiled Angband with

SDL_VIDEODRIVER=wayland src/angband -msdl2

and

SDL_VIDEODRIVER=x11 src/angband -msdl2

(careful, no space before and after the equal sign) to see if mouse support works in one of these combinations? Thanks!
What exactly do you mean by run it "with" that line? Does that go after the word angband? That doesn't follow the normal syntax of the command.
PopTart is offline   Reply With Quote
Old January 3, 2021, 23:51   #35
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
I should also mention that I'm running this on a Minix mini-computer.
PopTart is offline   Reply With Quote
Old January 3, 2021, 23:58   #36
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
Not sure if it was clear, I can navigate the menus with the mouse, but I click on an option, the menu disappears without carrying out the action.
PopTart is offline   Reply With Quote
Old January 4, 2021, 08:39   #37
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
Mystery solved

The mouse that I use maps buttons weird, so the normal click doesn't register as such, while a different button registers as a click. Amazing.
PopTart is offline   Reply With Quote
Old January 4, 2021, 16:52   #38
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 960
fph is on a distinguished road
Quote:
Originally Posted by PopTart View Post
What exactly do you mean by run it "with" that line? Does that go after the word angband? That doesn't follow the normal syntax of the command.
That line should be the whole command line. "SDL_VIDEODRIVER=wayland" comes before the name of the executable file and sets an environment variable; then src/angband is the name of the file to run (I am not sure how you usually run it; this could be just "angband" or "./angband" for you instead), and "-msdl2" is the argument you've been already using.

Anyhow, good to know you solved that issue!
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.
fph is offline   Reply With Quote
Old January 6, 2021, 03:24   #39
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
Quote:
Originally Posted by fph View Post
That line should be the whole command line. "SDL_VIDEODRIVER=wayland" comes before the name of the executable file and sets an environment variable; then src/angband is the name of the file to run (I am not sure how you usually run it; this could be just "angband" or "./angband" for you instead), and "-msdl2" is the argument you've been already using.

Anyhow, good to know you solved that issue!
The wayland one says it's "not available"; the x11 one works the same as without specifying either one.
PopTart is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help compiling Hellband konijn_ Variants 7 March 13, 2018 21:49
Compiling V for Windows Therem Harth Vanilla 8 September 5, 2011 00:36
Compiling Z+Angband Ravenheart87 Variants 7 May 24, 2011 09:35
Compiling 3.2 Omnipact Development 6 December 27, 2010 10:39
Compiling Issues Gregian Vanilla 13 July 2, 2008 15:35


All times are GMT +1. The time now is 12:53.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.