12-06-2003
what OS are you running, what errors show up in x's log file etc etc. more information is needed.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Anyone know if ATI ALL-IN-WONDER RADEON 7500 will work under RH 7.2? All I see listed on the RD HCL page is the ATI ALL-IN-WONDER PRO.
Thanks,
Chuck (3 Replies)
Discussion started by: 98_1LE
3 Replies
2. Programming
Please, recommend anyone books about programming for X-window. (0 Replies)
Discussion started by: serge
0 Replies
3. Windows & DOS: Issues & Discussions
Hello,
We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies
4. UNIX for Dummies Questions & Answers
I unloaded the KDM/KDE package and was starting it per instructions by first running a "xstart".
My screen is blank and I don't know how to recover.
Thanks. Tom (4 Replies)
Discussion started by: TJSexton
4 Replies
5. UNIX for Advanced & Expert Users
The issue I'm having (after some effort) is that while compiz starts fine and functions (I can use the cube, expo, key bindings all good) all desktops are white. I can't see any of my windows, backgrounds, or menus. I am using FreeBSD 8 with no custom kernel options or otherwise interesting... (0 Replies)
Discussion started by: WrecknRoll
0 Replies
6. Red Hat
Hi everyone!
I have a strange situation. I'm running an NX remote Gnome desktop session. On the remote machine, there is a whole load of unsaved data in a window. A problem that I've been having with this NX session is that I can't load Gnome Applets, including the Window Switcher. So.. when I... (0 Replies)
Discussion started by: alexandicity
0 Replies
7. Red Hat
its an old ati video card ( never use) added to my server.... Running Centos 6.3 now I can only log in terminal and I can not log in X server.... I try to startX... cant getting goint
I got this errors when I run startx
Failed to load module "ati" ( module does not exist, 0)
Failed to load... (0 Replies)
Discussion started by: golpemortal
0 Replies
8. Hardware
I'm looking for Linux driver for ATI Radeon HD 7450 graphics card. The OS I'm using is RHEL5.7 server. The desktop is HP compaq elite 8300 SFF.
Couldn't find it in hp.com support website. Downloaded AMD Catalyst 13.1 Proprietary Linux x86 Display Driver (file size is 109MB) from... (1 Reply)
Discussion started by: joker_789us
1 Replies
9. UNIX for Beginners Questions & Answers
Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty?
I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies
LEARN ABOUT DEBIAN
get_desktop_resolution
get_desktop_resolution(3alleg4) Allegro manual get_desktop_resolution(3alleg4)
NAME
get_desktop_resolution - Finds out the desktop resolution. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int get_desktop_resolution(int *width, int *height);
DESCRIPTION
Finds out the currently selected desktop resolution. You can use this information to avoid creating windows bigger than the current resolu-
tion. This is especially important for some windowed drivers which are unable to create windows bigger than the desktop. Each parameter is
a pointer to an integer where one dimension of the screen will be stored.
Under some OSes, switching to a full screen graphics mode may automatically change the desktop resolution. You have, therefore, to call
this function before setting any graphics mode in order to retrieve the real desktop resolution. Example:
int width, height;
allegro_init();
...
if (get_desktop_resolution(&width, &height) == 0) {
/* Got the resolution correctly */
}
RETURN VALUE
Returns zero on success, or a negative number if this information is not available or does not apply, in which case the values stored in
the variables you provided for `width' and `height' are undefined.
SEE ALSO
desktop_color_depth(3alleg4), set_gfx_mode(3alleg4)
Allegro version 4.4.2 get_desktop_resolution(3alleg4)