Article 59FRT Slackware(64) 14.2 - Svga and/or DirectFB dunnos?

Slackware(64) 14.2 - Svga and/or DirectFB dunnos?

by
inukaze
from LinuxQuestions.org on (#59FRT)
Hi there i have some time trying to make svga & Direct FrameBuffer Access works.

Code:su #Enter in the SuperUser Account

slpkg -s slack --reinstall --rebuild svgalib ; ldconfig #Use the unofficial package manager slpkg to reinstall svgalib

mknod -m 666 /dev/svga c 209 0 #Create the device /dev/svga

cp /etc/vga/libvga.config /etc/vga/libvga.config.slackware14.2 #Make a backup of original configuration file.

get-edid | parse-edid #Getting information "Horizsync" & "VertRefresh", that information i use to put in the configuration file -> /etc/vga/libvga.config

Horizsync 30 82
VertRefresh 56 76

cd /usr/share/svgalib-demos #Enter in this folder
vgatest #Tool for test svgalib modes
testgl #Tool for test vgagl accessWhen i use vgatest, and try for example "Vesa" driver, i just get a glitche screen instead of working screen resolution & bpp

How i solve that?

i am trying to run the web browser links in tty6 without X.Org Server
Code:links2 -gif i use my user appears the message
Code:svgalib : Cannot open /dev/mem
Are you running this program as root or suid-root?If i try run with root user or using sudo from my user i got :
Code:Using nvidia driver, 8192KB, Type: GeForce (NV f0).
svgalib 1.9.25
Could not initialize any graphics driver. Tried the following drivers:
x:
Can't open display "(null)"
fb:
Cannot open /dev/fb0.
svgalib:
There is no default video mode.
The following modes are supported:
320x200x16, 320x200x256, 320x200x32K, 320x200x64K, 320x200x16M32, 320x240x256, 320x240x32K, 320x240x64K, 320x240x16M32, 320x400x256, 320x400x32K, 320x400x64K, 320x400x16M32, 320x480x256, 320x480x32K, 320x480x64K, 320x480x16M32, 360x480x256, 400x300x256, 400x300x32K, 400x300x64K, 400x300x16M32, 400x600x256, 400x600x32K, 400x600x64K, 400x600x16M32, 512x384x256, 512x384x32K, 512x384x64K, 512x384x16M32, 512x480x256, 512x480x32K, 512x480x64K, 512x480x16M32, 640x200x16, 640x350x16, 640x400x256, 640x400x32K, 640x400x64K, 640x400x16M32, 640x480x16, 640x480x256, 640x480x32K, 640x480x64K, 640x480x16M32, 720x540x256, 720x540x32K, 720x540x64K, 720x540x16M32, 800x600x256, 800x600x32K, 800x600x64K, 800x600x16M32, 960x720x256, 960x720x32K, 960x720x64K, 960x720x16M32, 1024x768x256, 1024x768x32K, 1024x768x64K, 1024x768x16M32, 1072x600x256, 1072x600x32K, 1072x600x64K, 1072x600x16M32, 1152x864x256, 1152x864x32K, 1152x864x64K, 1152x864x16M32, 1280x1024x256, 1280x1024x32K, 1280x1024x64K, 1280x1024x16M32, 1600x1200x256, 1600x1200x32K, 1600x1200x64K, 1600x1200x16M32
Use -mode switch to set video mode.Where i must set the variable "SVGALIB_DEFAULT_MODE" ?

1 Dunno : How i can make the kernel module svgalib_helper ? Because just let me use max 640x480x16 (Standar VGA) but i want use 1024x768x16M32

2 Dunno : I need to compile and configure DirectFB for make links can use the resolution i want for access to VESA modes?

3 Dunno : Which things i need to configure correctly ? i notice says "Using nvidia driver, 8192KB, Type: GeForce (NV f0)" well i have Nvidia GeForce GT 620 of 2GB

i want to use again a tty mode without X and try again software likes "RetroArch", "DOSBox" , "Mplayer", "Vlcnox", "twin". Some years ago i can use on tty but that was under Debian 8 Jessie i think that things in that distro are ready preconfigured.

4 Dunno : Someone knows from where i can install : uvesafb, v86d ?

i try v86d with
Code:cd /tmp
git clone https://github.com/mjanusz/v86d
cd v86d

./configure --default
config.h successfully created.
You can run `make` now.

make
make -w -C libs/x86emu
make[1]: se entra en el directorio '/tmp/v86d/libs/x86emu'
cc -c -I. -I../../include -I../../include/x86emu -o decode.o decode.c
cc -c -I. -I../../include -I../../include/x86emu -o fpu.o fpu.c
cc -c -I. -I../../include -I../../include/x86emu -o ops.o ops.c
cc -c -I. -I../../include -I../../include/x86emu -o ops2.o ops2.c
cc -c -I. -I../../include -I../../include/x86emu -o prim_ops.o prim_ops.c
cc -c -I. -I../../include -I../../include/x86emu -o sys.o sys.c
ar rv libx86emu.a decode.o fpu.o ops.o ops2.o prim_ops.o sys.o
ar: creando libx86emu.a
a - decode.o
a - fpu.o
a - ops.o
a - ops2.o
a - prim_ops.o
a - sys.o
make[1]: se sale del directorio '/tmp/v86d/libs/x86emu'
cc -Wall -g -O2 -I/lib/modules/4.4.14/source/include -Ilibs/x86emu -c -o v86_x86emu.o v86_x86emu.c
In file included from /lib/modules/4.4.14/source/include/linux/connector.h:25:0,
from v86.h:7,
from v86_x86emu.c:4:
/lib/modules/4.4.14/source/include/linux/atomic.h:4:24: error fatal: asm/atomic.h: No existe el fichero o el directorio
compilacion terminada.
Makefile:40: fallo en las instrucciones para el objetivo 'v86_x86emu.o'
make: *** [v86_x86emu.o] Error 1well i do the follow :
Code:ln -s /usr/src/linux-4.4.14/include/asm-generic/ /usr/src/linux-4.4.14/include/asm

make KDIR=/usr/src/linux-4.4.14/include

make install ; ldconfig
install -D v86d /sbin/v86dwell i need know from where i can get the uvesa kernel module
Code:modprobe uvesafb mode_option=1024x768-32 mtrr=3 scroll=ywrap
modprobe: FATAL: Module uvesafb not found in directory /lib/modules/4.4.14latest?d=yIl2AUoC8zA latest?i=uHK2LpLJ2-E:rvHjspPX4rQ:F7zBnMy latest?i=uHK2LpLJ2-E:rvHjspPX4rQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=uHK2LpLJ2-E:rvHjspPX4rQ:gIN9vFwuHK2LpLJ2-E
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments