Hi Adam,
I have checked the xserver code and found that the DEFAULT_INT10 was already set to x86emu and it was already using x86emu to execute the int10.
Also, there is one more mode vm86 in which int10 can be executed but it uses the vm86 system call which is not supported in l4linux.
Is there a way to add vm86 system call to the l4linux?
Also, I have tried with video drivers cirrus, qxl but none of them worked. I tried Ubuntu on vmware player and it uses vmware video driver to run xserver and does not uses int10.
Abhishek Gupta
Hi,
On Tue Jul 03, 2012 at 11:45:08 +0200, Abhishek Gupta wrote:
I have checked the xserver code and found that the DEFAULT_INT10 was already set to x86emu and it was already using x86emu to execute the int10.
Also, there is one more mode vm86 in which int10 can be executed but it uses the vm86 system call which is not supported in l4linux.
Is there a way to add vm86 system call to the l4linux?
No way. Using x86emu is just the way to execute this code, and that a vm86 mode exists on x86 is just luck (to put it this way).
Also, I have tried with video drivers cirrus, qxl but none of them worked. I tried Ubuntu on vmware player and it uses vmware video driver to run xserver and does not uses int10.
I wonder why you can't let fbdrv init to VESA and still access the graphics card for acceleration. Or do you absolutely need to do the initialization yourself?
Adam
Hello Adam,
I was going to try this but I was thinking may be there is something else that could be done to get xserver working because at the end I have to use intel graphics driver to run xserver on real hardware.
But I still have one question. How can I link l4 x86emu and fbdrv library pkg to the l4linux. Vesa video driver uses vbe module in xserver to initialize int10. I can use fbdrv init instead at that point and didn't have to make any changes to the xserver.
Abhishek Gupta
Hi,
On Fri Jul 06, 2012 at 11:04:15 +0200, Abhishek Gupta wrote:
I was going to try this but I was thinking may be there is something else that could be done to get xserver working because at the end I have to use intel graphics driver to run xserver on real hardware.
But I still have one question. How can I link l4 x86emu and fbdrv library pkg to the l4linux. Vesa video driver uses vbe module in xserver to initialize int10. I can use fbdrv init instead at that point and didn't have to make any changes to the xserver.
x86emu is a library and fb-drv is a program, basically just the wrapper around x86emu with some interface. I think integrating x86emu into L4Linux or the Xserver is considerable more effort than just let fb-drv do the switch to VESA then pass-through the graphics memory. Also if that means tweaking some X driver. Which direct device access (graphics card) do you actually need?
Adam
l4-hackers@os.inf.tu-dresden.de