Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Make Xorg running in Hyper-V environment
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pacl
n00b
n00b


Joined: 24 Jan 2016
Posts: 38

PostPosted: Sat Feb 06, 2016 7:09 am    Post subject: [Solved] Make Xorg running in Hyper-V environment Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Sat Feb 06, 2016 2:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
pacl
n00b
n00b


Joined: 24 Jan 2016
Posts: 38

PostPosted: Sat Feb 06, 2016 8:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Feb 06, 2016 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
pacl
n00b
n00b


Joined: 24 Jan 2016
Posts: 38

PostPosted: Sat Feb 06, 2016 9:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
pacl
n00b
n00b


Joined: 24 Jan 2016
Posts: 38

PostPosted: Sun Feb 07, 2016 8:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Sun Feb 07, 2016 9:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Mon Feb 08, 2016 8:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum