I tried to compile Links 2.5 (the web browser) with framebuffer enabled,
but after running ./configure I cannot get it enabled.
Clearly something on my system is not setup right,
even though I am able to use the framebuffer...
___________
I have the framebuffer working on my system, as far as I understand it.
(I have a special vmlinuz compiled with framebuffer support, and
my GRUB entry has this " vga=0x315" to ensure 800x600 in the console.)
Oh, and I have played videos in the console, using mplayer,
so that clinches it, I reckon - framebuffer must be working, right?
(NOTE: Please point out any wrong assumptions....
I don't quite understand all the framebuffer, fbdev, Xfbdev, directfb stuff)
cannot compile Links 2.5 with framebuffer support
cannot compile Links 2.5 with framebuffer support
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
I tried, but no cigar... The '-g' option *should* work in the framebuffer, if framebuffer support is compiled in, right?amigo wrote:Are you running it in graphics mode?
Or should I not be using the '-g' option in the framebuffer?
Obviously without graphics mode it works fine in framebuffer, but images are not displayed... In this case, I might as well use elinks, as it's way better in every aspect, except not showing images 'inline'!
The only real benefit of the framebuffer (for me) is displaying images/video .... I have mplayer and fbi working fine in the framebuffer... I compiled fbi, the mplayer is from the wary5OLD repo...
I will give it another go, and will look further into what pkgs are required to compile framebuffer enabled Links... Hopefully I will get it sorted at some point!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Yeah, I might study/research a bit more before I bug them!amigo wrote:As I understand it, yes the '-g' is the right option for the framebuffer. I'd suggest asking the author or on their forum or mailing list if they have one.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
When I've compiled it, it seems to have the FB driver, but running it is a different matter.
'--enable-graphics' is all you need, but it wont build the fb driver unless gpm is available, even if you try to disable it(for me anyway).
links -g, or links -driver fb do the same job. However I get a 'unable to initialize GPM mouse' error.
I have GPM installed, and can get a mouse cursor on the console by entering:
So I've got a working framebuffer and a working gpm mouse, but no cigar.
There are posts on the interwebby with the same problem going back to 2003, but no answers.
Works ok with directfb, but not the plain fb. Which is a pain.
On a side note, I've got Netsurf to run on the framebuffer. It's got its faults (several), but it looks nice and does basic browsing ok with images. Bit of a novelty, but it kept me off the streets for a while...
'--enable-graphics' is all you need, but it wont build the fb driver unless gpm is available, even if you try to disable it(for me anyway).
Code: Select all
Configuration results:
UTF-8 terminal: YES
GPM support: YES
SSL support: OPENSSL
Supported compression: ZLIB BZIP2 LZMA
Graphics enabled: YES
Graphics drivers: FB X
Image formats: GIF PNG XBM JPEG TIFF
links -g, or links -driver fb do the same job. However I get a 'unable to initialize GPM mouse' error.
I have GPM installed, and can get a mouse cursor on the console by entering:
Code: Select all
gpm -m /dev/input/mice -t imps2
There are posts on the interwebby with the same problem going back to 2003, but no answers.
Works ok with directfb, but not the plain fb. Which is a pain.
On a side note, I've got Netsurf to run on the framebuffer. It's got its faults (several), but it looks nice and does basic browsing ok with images. Bit of a novelty, but it kept me off the streets for a while...
here's an strace of a working links2 with the fb driver...
check for /dev/gpmctl
try to configure gpm so it can run without any arguments, perhaps.
when compiling, get the gpm headers
make sure you have libpng headers (preferably also libjpeg & libtiff)
that's all I can think of.
check for /dev/gpmctl
try to configure gpm so it can run without any arguments, perhaps.
when compiling, get the gpm headers
make sure you have libpng headers (preferably also libjpeg & libtiff)
that's all I can think of.
- Attachments
-
- links2.txt.gz
- gzipped strace of links2 -g -driver fb
- (3.67 KiB) Downloaded 559 times