Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Please help, color setting problems Post 302138715 by sanlen on Wednesday 3rd of October 2007 06:01:06 AM
Old 10-03-2007
i cannot see any text mode option. i tried to reinstall it. the processes were fine again, however, while i finish all the setting,s i get the same screen at show in the previouse attachment.

i just feel that it is result from my VGA card does not support because i tried to load the ubunta 7.04 then i even get a worse result. The screen became black just after i started the installation.

could you please advise?

I am using a notebook, IBM Z60t.

thanks you very much for any advise you may give me.

Best Regards,

Sanlen
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Setting "color depth"

When I go into CDE on my Sun server, it looks horrible visually. I read that this may be due to the color depth. How can I change my color depth to make the desktop look clearer? Thank you. (0 Replies)
Discussion started by: FredSmith
0 Replies

2. AIX

Problems setting up multipathing

What is the following output telling me? fget_config -Av ---dar0--- User array name = 'BSNorth-DS4300' dac3 ACTIVE dacNONE ACTIVE Disk DAC LUN Logical Drive hdisk4 dac3 0 TestDiskForAll ---dar1--- User array name = 'BSNorth-DS4300' dac2 ACTIVE dacNONE ACTIVE Disk DAC ... (0 Replies)
Discussion started by: petervg
0 Replies

3. Shell Programming and Scripting

Problems setting or exporting variable when using multiple commands from same line.

I am experimenting with some scripting as a way to learn more about it. I have a simple script that calls two other scripts. Each script echos some stuff to prove it ran and then sets a simple variable and exports it. I cannot get one of the variables to display back in the main calling script... (2 Replies)
Discussion started by: scottrif
2 Replies

4. Solaris

Problems setting password.

Hi All, I have a problem setting the password when I have to create a user and password as detailed below. username : gaacj01 password : oshopp01 username : gaacj02 password : oshopp02 username : gaacj03 password : oshopp03 username : gaacj04 password : oshopp04 username : gaacj05 ... (17 Replies)
Discussion started by: kittigolf
17 Replies
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)
All times are GMT -4. The time now is 05:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy