07-28-2004
again XFree86
hi everybody
i installed FreeBSD 5.x on a box with a video card Diamond SpeedStar A90 and a Fujitsu Siemens Monitor B772-1
when i do "startx" it gives me something like this:
fatal error: no devices detected
no screen detected
i'm lost...i don't know what to do.....i read the handbook ten times...doing as it recommends....my problem i think is that i don't know how to find about my video card and monitor features (synchro....)...i don't have their docs!!!
thank u if u can give me any help!!..lost
regards
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've been trying to configure XFree86, and the first times that I have, it will only run at 320x? resolution.. I have an ATI card, and I've tried using the /stand/sysinstall graphical configuration method, and I've tried xf86config as well, both render the same results. that was before i... (3 Replies)
Discussion started by: adn
3 Replies
2. Programming
So where do we post questions about developing for X? Or do we just not do that here? (2 Replies)
Discussion started by: Gekko
2 Replies
3. UNIX Desktop Questions & Answers
Hi folkss...
I just install Freebsd 4.5 mini disk which install only the
core FREEBSD system nothing else. I then want to install
KDE 3.0 so I install XFREE86 4.2 and I installed
both of these programs successfully with
pkg_add "filename.tgz"
I also install wrapper.tgz for "startx"... (1 Reply)
Discussion started by: helpme2
1 Replies
4. UNIX Desktop Questions & Answers
Hi folksss..
I will ask similiar to my previous post.
Have anyone successfully install XFree86 ver. 4.2
on FREEBSD 4.5 from scratch ???
If U do, please provide step by step how U do it.
Do U use graphic user interface to setup the hardware
configuration or DOS configuration ?
I... (2 Replies)
Discussion started by: helpme2
2 Replies
5. UNIX for Dummies Questions & Answers
Does anyone know of a decent Darwin + XFree86 FT client package? Obviously a precompiled file is better than binary, but I'll take what I can get. (10 Replies)
Discussion started by: chenly
10 Replies
6. UNIX for Dummies Questions & Answers
i am currently trying to compile XFree86 under redhat 7.3. i am used to ./configure make make install, but i know that xfree86 is very different. what are the basic steps for building it. i already have read the documentation, but it wasn't of much help. it was erroring out on the imake. i don't... (1 Reply)
Discussion started by: choasforages
1 Replies
7. UNIX Desktop Questions & Answers
X.Org just released a new version of their X (X11R6.7). Besides Liscense stuff, what is better about X.org then XFree? What is better about XFree then X.org?
Also: Will my fglrx (ATI) or nvidia drivers (designed for XFree86 4.3) work on X.org? (2 Replies)
Discussion started by: punkrockguy318
2 Replies
8. BSD
Hi to all!
I'm very novice in Unix/Linux.
I installed FreeBSD 4.10 in my pentium II 450mhz 64MB 4.300GB
more than 5 times and the error continues...
In the line mode i type "startx" (to enter in X)...but show me a message :
FATAL SERVER ERROR
NO SCREENS FOUND
X CONNECTION TO :0.0... (6 Replies)
Discussion started by: israel
6 Replies
9. BSD
Hello,
i have a S3 Trio64V+ card. I installed last release of XFree under FreeBSD
5.4.
I do xf86config, but when i try startx i have this error:
nsinternal# startx
XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD... (1 Reply)
Discussion started by: jamesf
1 Replies
10. UNIX for Advanced & Expert Users
Hello experts,
I installed an old linux distribution and i'm having troubles with the XFree86 server.
The thing is, when i run XF86Setup, X server and windows actually works, because i can get the graphical configuration screen, but when i'm "done" and save the changes to the config file... (1 Reply)
Discussion started by: semash!
1 Replies
LEARN ABOUT NETBSD
set_gfx_mode
set_gfx_mode(3alleg4) Allegro manual set_gfx_mode(3alleg4)
NAME
set_gfx_mode - Sets a graphic video mode. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int set_gfx_mode(int card, int w, int h, int v_w, int v_h);
DESCRIPTION
Switches into graphics mode. The card parameter should usually be one of the Allegro magic drivers (read introduction of chapter "Graphics
modes") or see the platform specific documentation for a list of the available drivers. The w and h parameters specify what screen resolu-
tion you want. The color depth of the graphic mode has to be specified before calling this function with set_color_depth().
The v_w and v_h parameters specify the minimum virtual screen size, in case you need a large virtual screen for hardware scrolling or page
flipping. You should set them to zero if you don't care about the virtual screen size.
When you call set_gfx_mode(), the v_w and v_h parameters represent the minimum size of virtual screen that is acceptable for your program.
The range of possible sizes is usually very restricted, and Allegro may end up creating a virtual screen much larger than the one you
request. Allowed sizes are driver dependent and some drivers do not allow virtual screens that are larger than the visible screen at all:
don't assume that whatever you pass will always work.
In mode-X the virtual width can be any multiple of eight greater than or equal to the physical screen width, and the virtual height will be
set accordingly (the VGA has 256k of vram, so the virtual height will be 256*1024/virtual_width).
Currently, using a big virtual screen for page flipping is considered bad practice. There are platforms which don't support virtual
screens bigger than the physical screen but can create different video pages to flip back and forth. This means that, if you want page
flipping and aren't going to use hardware scrolling, you should call set_gfx_mode() with (0,0) as the virtual screen size and later create
the different video pages with create_video_bitmap(). Otherwise your program will be limited to the platforms supporting hardware
scrolling.
After you select a graphics mode, the physical and virtual screen sizes can be checked with the macros SCREEN_W, SCREEN_H, VIRTUAL_W, and
VIRTUAL_H.
RETURN VALUE
Returns zero on success. On failure returns a negative number and stores a description of the problem in allegro_error.
SEE ALSO
set_color_depth(3alleg4), request_refresh_rate(3alleg4), screen(3alleg4), gfx_capabilities(3alleg4), allegro_error(3alleg4), cre-
ate_video_bitmap(3alleg4), get_desktop_resolution(3alleg4), SCREEN_W(3alleg4), SCREEN_H(3alleg4), VIRTUAL_W(3alleg4), VIRTUAL_H(3alleg4)
Allegro version 4.4.2 set_gfx_mode(3alleg4)