You are not logged in.

#1 2016-04-25 17:21:49

lunkn
Member
Registered: 2016-04-24
Posts: 24

[SOLVED] Arch on Hyper-V -- (EE) No screens found --

Anyone knows how to unistall all graphicsdrivers? Bcuz i got BOTH nvidia/nouveau installed

Anyone know which drivers should be used for nvidia gtx 780?
Ive tried unplugging all but one of my monitors but it stills says: No screens found
-- Its in a Hyper-V environment

I read the wikis (beginners, "regular", Hyper-v, Nvidia, nouveau, Xorg) and followed this tutorial http://www.linuxveda.com/2014/06/07/arc … utorial/6/

Last edited by lunkn (2016-04-26 16:22:22)

Offline

#2 2016-04-25 17:26:00

Mika79
Member
Registered: 2016-03-28
Posts: 32

Re: [SOLVED] Arch on Hyper-V -- (EE) No screens found --

pacman -R nvidia nvidia-libgl lib32-nvidia-libgl
pacman -S xf86-video-fbdev

Choose mesa-gl not nvidia if asked.

Offline

#3 2016-04-25 17:56:02

lunkn
Member
Registered: 2016-04-24
Posts: 24

Re: [SOLVED] Arch on Hyper-V -- (EE) No screens found --

Removed

Last edited by lunkn (2016-04-25 18:10:33)

Offline

#4 2016-04-25 17:57:43

lunkn
Member
Registered: 2016-04-24
Posts: 24

Re: [SOLVED] Arch on Hyper-V -- (EE) No screens found --

Now im on NO driver according to the Xorg log (even though ive installed nouveau). Tried both drivers at The same time (with and without pacman -S nvidia) Anyone?

Last edited by lunkn (2016-04-25 19:29:35)

Offline

#5 2016-04-25 19:40:34

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] Arch on Hyper-V -- (EE) No screens found --

I might have misunderstood what you are trying to do, but I'm guessing this is happening:

You need a driver for the virtual graphics card that Hyper-V creates for you inside the virtual machine, not something for the real graphics card that's used by the host machine. Take another look at post #2 by Mika79.

Offline

#6 2016-04-25 19:53:37

lunkn
Member
Registered: 2016-04-24
Posts: 24

Re: [SOLVED] Arch on Hyper-V -- (EE) No screens found --

I removed nvidia and I have fbdev. But I still can't start X ! And I guess the vm still uses the GTX

Last edited by lunkn (2016-04-25 19:55:40)

Offline

#7 2016-04-25 20:06:44

Mika79
Member
Registered: 2016-03-28
Posts: 32

Re: [SOLVED] Arch on Hyper-V -- (EE) No screens found --

Probably by now you fiddled around enough with it that it'd be a bit complicated to get it back right again.

You are using a VM right? So Id go ahead and start over afresh. You do not use your hosts graphics card inside the VM, its enough to have the fb driver, and AFAIK you dont need to setup anything special for it to just work when you run startx, xinit or your display manager. Maybe its an good idea if you delete your VM, create another and follow the basic Arch Linux install steps again and then do this once its installed and booted:

pacman -S xorg xf86-video-fbdev gnome gdm
systemctl enable gdm
reboot

And if that does not get you on a good start, report back with some real logs and error messages.

Just as a hint, Hyper-V is not exactly a fast, friendly enviroment to virtualize a Linux Desktop, you might be way happier using VirtualBox or VMware.

Last edited by Mika79 (2016-04-25 20:07:46)

Offline

#8 2016-04-26 00:12:27

lunkn
Member
Registered: 2016-04-24
Posts: 24

Re: [SOLVED] Arch on Hyper-V -- (EE) No screens found --

THANK YOOU!! Just do everything from the beginning (choose mesa when installing xorg, that could have been the problem)

Last edited by lunkn (2016-04-26 00:40:04)

Offline

#9 2016-04-26 00:38:34

lunkn
Member
Registered: 2016-04-24
Posts: 24

Re: [SOLVED] Arch on Hyper-V -- (EE) No screens found --

But i dont have any terminal ? I see the icon but nothing happens when i press it !!!

Offline

#10 2016-04-26 01:08:32

Mika79
Member
Registered: 2016-03-28
Posts: 32

Re: [SOLVED] Arch on Hyper-V -- (EE) No screens found --

Ah you have to setup your /etc/locale.conf if the gnome terminal doesn't start. Switch to a text console with CTRL+ALT+F3 or something alike to edit it.

Edit: just editting locale.conf alone doesn't work, I just did a gnome vm myself and gnome-terminal does only work when you execute

locale-gen
localectl set-locale LANG=en_US.UTF-8

(or whatever locale you want) as root.

Wonder what is different then editing the file. This step should be in the wikis.

Last edited by Mika79 (2016-04-26 13:51:07)

Offline

Board footer

Powered by FluxBB