04-11-2016
The problem is most likely not the physical hardware in your laptop, but the virtual hardware created by VMware for your virtual machine. Try to experiment with the settings of the virtual hardware. For example: use network adapter type E1000, not VMXNET3, etc.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows......
dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/????????
Where I have the question marks is the problem.
How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies
2. Filesystems, Disks and Memory
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
3. Solaris
I have a hard drive that we are trying to jumpstart in a sunblad 1500. we keep getting errors. I placed the drive in my 1500. I want to wipe the drive clean because for some reason it has a partition table. and when i go to format and try to format the drive it says it can not use a program. is... (5 Replies)
Discussion started by: deaconf19
5 Replies
4. Solaris
Hi All,
I have new Netra 240 box which is not detecting its harddisk equiped with itse same har disk are detected when I swap with another machine.
Same time If I swap hardisk of other machine to this Netra 240 box, also do not work. I have checked chassis, cabling etc and all looks fine. ... (1 Reply)
Discussion started by: xpwistler
1 Replies
5. Solaris
Well I have just added new tape drive to my server (lto)
However I am getting few errors in using it. I have checked status with
#iostat -En : giving me few hard errors, few soft errors and execution error.
Also tape status is not visible as "no sense" its coming as "no additional sense".
I... (5 Replies)
Discussion started by: saurabh84g
5 Replies
6. Solaris
Hi All,
I am trying to get SanDisk 16GB usb drive to be read by my x4270 Solaris10 server, but I get the below error when I plug it in:
root@server1>rmformat -l
Looking for devices...
No removables found.
root@server1>
root@server1>dmesg | tail
Apr 28 16:02:52 server1 genunix: ... (0 Replies)
Discussion started by: kerrygold
0 Replies
7. Solaris
Dear all,
I have a Sol 10 server.
When I put df -h , it is showing the mount points of all file systems,
but when I format the server it is showing the below output
bash-3.00# format
Searching for disks...done
No disks found!
Pl let me know what is the problem for this.
... (5 Replies)
Discussion started by: jegaraman
5 Replies
8. Solaris
Hello,
The OS version of the ZFS flar is Solaris 10 U9 .
Here is the screen output from my attempted jumpstart:
System identification is completed.
System identification complete.
Starting Solaris installation program...
Searching for JumpStart directory...
Using rules.ok from... (5 Replies)
Discussion started by: Siralos
5 Replies
9. HP-UX
Since the lost of the rtc all the settings became default. Does anyone remember what needs to be reset to discover both Hard drives? It sees the DVD and the scsi disk (intscsib.0) in 0/1/1/1.0 (disk 1 slot) but not 0/1/1/0.1 (intscsia.1)(disk 0 slot).
Right now, from the service menu, scsi shows... (3 Replies)
Discussion started by: mrmurdock
3 Replies
LEARN ABOUT SUSE
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)