VirtualBox 2.2.0b1, 리눅스 게스트에서 3D 됩니다.

redneval의 이미지

며칠 전, 조용하게 VirtualBox 새로운 베타버전이 나왔습니다.

http://download.virtualbox.org/virtualbox/2.2.0_BETA1/

This version is a major update. The following major new features were added:

· OVF (Open Virtualization Format) appliance import and export
· Host-only networking mode
· Hypervisor optimizations with significant performance gains for high context switching rates
· VT-x/AMD-V are enabled by default for newly created virtual machines
· USB (OHCI & EHCI) is enabled by default for newly created virtual machines (Qt GUI only)
· Experimental USB support for OpenSolaris hosts
· Shared folders for Solaris and OpenSolaris guests
· OpenGL 3d acceleration for Linux guests
· Experimental support for OS X 10.6 (Snow Leopard) hosts running both the 64-bit and the 32-bit kernel

--------------------------------------------------------------------------------

눈에 띄는 것은 바로 OpenGL 3d acceleration for Linux guests

게스트 운영체제 리눅스 커널이 2.6.27 이상, X.org server 가 1.5 이상 이어야 합니다.
CPU에 가상화(VT-X/AMD-V)기능이 없어도 됩니다.

제작사에서는 우분투 8.10 과 페도라 10 에서 동작을 확인했다고 합니다.

제가 [CPU: AMD 3200+ / 호스트: 윈도우즈 XP / 게스트: 우분투 8.10] 에서 동작하는 것을 확인했습니다.

Compiz 사용하기 위해서 사용한 설치방법
1. VirtualBox 2.20 Beta 1을 설치합니다.
2. VirtualBox 를 실행하여, 설정창에서
`VT-X/AMD-V' 와 `3차원 가속'을 `사용함'으로 설정하고, 비디오 메모리 크기를 넉넉하게 64MB로 잡아줍니다.
3. 우분투로 부팅하여 게스트 확장을 (재)설치합니다.
4. `System - 기본 설정 - 모양새' 에서 Visual Effects 를 Normal 로 설정합니다.
5. 이렇게 했을 때, 만약 마우스 포인터가 사라지는 현상이 나타나면
/etc/X11/xorg.conf 에 다음처럼 추가(또는 수정)해야합니다. (참고 : http://tubbies.tistory.com/18)

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver       "vboxmouse"
   Option       "CorePointer"
EndSection

주의사항 : 베타 버전이므로, 오류가 발생할 수 있고 일부 기능이 작동되지 않을 수 있습니다.

송효진의 이미지

리눅호 윈도게 에서 OpenGL 외에 D3D 를 지원했으면...

emerge money
http://wiki.kldp.org/wiki.php/GentooInstallSimple - 명령어도 몇 개 안돼요~
http://xenosi.de/

JuEUS-U의 이미지

d3d는 opengl 지원과는 좀 다르다더군요 = ㅅ=);
예전에 거론된 해결 방법이 qemu처럼 그래픽카드를 에뮬레이트 하는거였는데
기존에 있는걸 에뮬레이트하느냐, 아니면 자체적으로 가상 하드웨어를 만드느냐,
그런 글타래가 예전에 있었습니다.
근데 그런 시도는 현재 하고있는 것 같지 않더군요 = ㅅ=);;
쉬운 작업이 아니긴 하죠...

supaflow의 이미지

점점 기술이 발전하는 군요.
한번 설치해서 사용해 봐야겠습니다. :)

=====
http://supaflow.tistory.com

redneval의 이미지

VirtualBox 의 Direct3D 관련 내용 요약

-------------------------------------------------------------------------------------
UserManual(virtualbox 2.2.0_BETA1 버전, p.69

http://download.virtualbox.org/virtualbox/2.2.0_BETA1/UserManual.pdf)에서 인용

For Windows guests, support is restricted to 32-bit versions of XP and Vista.
Only OpenGL acceleration is presently available in the guests listed above;
Direct3D is not yet supported and will be added in a future release.
-------------------------------------------------------------------------------------

다음 페이지에 관련된 논의가 있습니다.

http://www.virtualbox.org/ticket/2940

핵심적인 내용을 요약해보자면,

- sandervl73 (Virtualbox 개발자) 가 말하길, `Wine D3D 를 이용할 계획이다. 아직 코드는 만들지 않고 있지만, 시작하게 되면 SVN에 공개하겠다. (09년 1월말)'

- 현재는 SVN을 통해 개발이 되고 있습니다. (09년 3월 현재)

http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/

- 대략적인 구조는 다음과 같습니다.

Direct3D 함수 콜 ----> 1. WineD3D ----> 2. WineD3D와 OpenGL의 매칭 ----> 3. Virtualbox의 OpenGL 지원

-------------------------------------------------------------------------------------

결론 : VirtualBox 의 Direct3D 지원은, 개발중이지만 언제 완성될지는 모름.

--------------------Signature--------------------
Light a candle before cursing the darkness.

은빛돋움/Pfed 프로젝트 : http://sites.google.com/site/unbitfonts/

송효진의 이미지

손을 댔다는것 만으로도 감지덕지 입니다.
3년 안에는 나오겠죠.ㅎㅎ

emerge money
http://wiki.kldp.org/wiki.php/GentooInstallSimple - 명령어도 몇 개 안돼요~
http://xenosi.de/