View previous topic :: View next topic |
Author |
Message |
pacl n00b
Joined: 24 Jan 2016 Posts: 38
|
Posted: Sat Feb 06, 2016 7:09 am Post subject: [Solved] Make Xorg running in Hyper-V environment |
|
|
Hi all,
couple of days ago, we managed to make kernel running in Hyper-V environment.
Now I want to have Xorg and unfortunately I'm stucking ...
/var/log/Xorg.0.log:
https://bpaste.net/raw/198ec4c17412
kernel config:
https://bpaste.net/raw/484eb5c4b4b8
Bellow the frame buffer devices I selected:
Code: | CONFIG_FB_VESA=y
CONFIG_FB_HYPERV=y |
Do I have to unselect these options?
/etc/portage/make.config:
https://bpaste.net/raw/0ba9016d1735
lspci -k:
Code: | 00:08.0 VGA compatible controller: Microsoft Corporation Hyper-V virtual VGA
Kernel driver in use: hyperv_fb |
If you need any further information please do not hesitate to write.
Thanks in advance and best regards,
pacl _________________ It is so beautiful to be detached from the "System"
Last edited by pacl on Mon Feb 08, 2016 8:06 pm; edited 1 time in total |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Sat Feb 06, 2016 2:10 pm Post subject: |
|
|
Code: | [ 4599.274] (II) LoadModule: "fbhyperv"
[ 4599.274] (WW) Warning, couldn't open module fbhyperv
[ 4599.274] (II) UnloadModule: "fbhyperv"
[ 4599.274] (II) Unloading fbhyperv
[ 4599.274] (EE) Failed to load module "fbhyperv" (module does not exist, 0) |
Never heard about a "fbhyperv" driver.
If you are sure that you need that fbhyperv, probably you need to find and package it, or else use fbdev. |
|
Back to top |
|
|
pacl n00b
Joined: 24 Jan 2016 Posts: 38
|
Posted: Sat Feb 06, 2016 8:52 pm Post subject: |
|
|
I'm confused as well.
But as you can see in the lspci output, I'm using fb_hyperv (Microsoft Hyper-V Synthetic Video Support) driver already ...
Maybe I should make sure, that X tries to load fb_hyperv instead of fbhyperv _________________ It is so beautiful to be detached from the "System" |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Feb 06, 2016 9:06 pm Post subject: |
|
|
pacl wrote: | I'm confused as well.
But as you can see in the lspci output, I'm using fb_hyperv (Microsoft Hyper-V Synthetic Video Support) driver already ...
Maybe I should make sure, that X tries to load fb_hyperv instead of fbhyperv |
Did you install an xf86-video-fbhyperv or xf86-video-fb_hyperv? If not, then your X does not have a driver for this. |
|
Back to top |
|
|
pacl n00b
Joined: 24 Jan 2016 Posts: 38
|
Posted: Sat Feb 06, 2016 9:24 pm Post subject: |
|
|
Quote: | Did you install an xf86-video-fbhyperv or xf86-video-fb_hyperv? If not, then your X does not have a driver for this. |
It seems something like that does not exist in the portage tree.
Do I need an overlay? _________________ It is so beautiful to be detached from the "System" |
|
Back to top |
|
|
pacl n00b
Joined: 24 Jan 2016 Posts: 38
|
Posted: Sun Feb 07, 2016 8:59 pm Post subject: |
|
|
Going to install Ubuntu next to Gentoo, to check out some settings and configuration.
Installation with assistant and all his hardware recognition takes almost longer than setting up Gentoo ...
Hopefully I can provide clarity soon _________________ It is so beautiful to be detached from the "System" |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Sun Feb 07, 2016 9:03 pm Post subject: |
|
|
The kernel driver is not related to the X driver.
To my knowledge there exists no fbhyperv or fb_hyperv driver for X, you have to use fbdev. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Mon Feb 08, 2016 8:57 pm Post subject: |
|
|
pacl,
Something somewhere is telling Xorg to use fbhyperv.
As others have said, this is the kernel to "hardware" software layer.
This layer will expose a hardware independent interface to Xorg, so that there is not and need not be a special Xorg driver for fbhyperv and all the other different frame buffers out there.
Software engineers like to make life easy for themselves, so the layer concept is found everywhere.
From your
make.conf: | INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="vesa" |
You only have the vesa driver made for Xorg. That depends on finding a VESA compliant BIOS on the video card.
Microsoft may not have provided that in their Hyper-V virtual VGA "card".
Next steps ...
Find out where Driver "fbhyperv" is and delete it.
In fact, go back to the default Xorg settings. Run startx. It might even work if you have installed twm, xterm and xclock.
Even if it fails, the log will contain a list of video drivers, in order of preference, that Xorg tried for your Hyper-V virtual VGA "card".
As chithanh says, you may well need fbdev. That's the Xorg driver for any underlying framebuffer. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|