Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[Solved] Make Xorg running in Hyper-V environment

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
pacl
n00b
n00b
Posts: 38
Joined: Sun Jan 24, 2016 9:27 am

[Solved] Make Xorg running in Hyper-V environment

  • Quote

Post by pacl » Sat Feb 06, 2016 7:09 am

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: Select all

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: Select all

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
Last edited by pacl on Mon Feb 08, 2016 8:06 pm, edited 1 time in total.
It is so beautiful to be detached from the "System"
Top
chithanh
Retired Dev
Retired Dev
User avatar
Posts: 2158
Joined: Sat Aug 05, 2006 10:16 pm
Location: Berlin, Germany

  • Quote

Post by chithanh » Sat Feb 06, 2016 2:10 pm

Code: Select all

[  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.
Top
pacl
n00b
n00b
Posts: 38
Joined: Sun Jan 24, 2016 9:27 am

  • Quote

Post by pacl » Sat Feb 06, 2016 8:52 pm

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"
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Sat Feb 06, 2016 9:06 pm

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.
Top
pacl
n00b
n00b
Posts: 38
Joined: Sun Jan 24, 2016 9:27 am

  • Quote

Post by pacl » Sat Feb 06, 2016 9:24 pm

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"
Top
pacl
n00b
n00b
Posts: 38
Joined: Sun Jan 24, 2016 9:27 am

  • Quote

Post by pacl » Sun Feb 07, 2016 8:59 pm

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"
Top
chithanh
Retired Dev
Retired Dev
User avatar
Posts: 2158
Joined: Sat Aug 05, 2006 10:16 pm
Location: Berlin, Germany

  • Quote

Post by chithanh » Sun Feb 07, 2016 9:03 pm

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.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56101
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Feb 08, 2016 8:57 pm

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

Code: Select all

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.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic