Xrandr increase resolution black screen

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















When I try to increase the resolution in my virtual machine (Xen), running a debian distribution (Kali/Parrot in this case), I get a black screen. I use xrandr, because in the GUI, the max resolution is not high enough.



I managed to crank it a bit up, but at a certain level, it just shows a black screen.




The commands I used:
First we use gtf for calculating the modeline of possible resolutions:



gtf <xres> <yres> <refresh> [-x]


Give the desired values for x-resolution, y-resolution and refresh rate. The flag -x is default and can be omitted. For a portrait resolution 480x640 at 60 Hz you will get the following output:



$ gtf 480 640 60 -x
$ 480x640 @ 60.00 Hz (GTF) hsync: 39.78 kHz; pclk: 24.82 MHz Modeline "480x640_60.00" 24.82 480 504 552 624 640 641 644 663 -HSync +Vsync


From this we can copy & paste the modeline to add it to xrandr list of known resolutions:



xrandr --newmode "480x640_60.00" 24.82 480 504 552 624 640 641 644 663 -HSync +Vsync


and:



xrandr --addmode VBOX0 480x640_60.00


Replace VBOX0 with the appropriate monitor.












share|improve this question






















  • Are you maybe overdriving either the video card or the monitor? Or - since you've tagged with virtual-machine maybe your vGPU hasn't got enough video memory to run properly?

    – roaima
    Mar 13 at 12:18












  • I tried to use a ridiculous low refresh rate to test that, but it doesn't seem to help.

    – 99DJFKDJFO
    Mar 13 at 12:49






  • 1





    @99DJFKDJFO what user roaima is trying to say is that if your vgpu does not have enough memory to support the resolution you cannot use that resolution. Refresh rate has very little to with that. How much virtual memory does your vm have? Edit your question to include the results of the following commands:

    – kemotep
    Mar 13 at 13:05











  • xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=vga and xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=videoram

    – kemotep
    Mar 13 at 13:06











  • @kemotep Does the xe command also works on Qubes-OS?

    – 99DJFKDJFO
    Mar 15 at 11:00

















0















When I try to increase the resolution in my virtual machine (Xen), running a debian distribution (Kali/Parrot in this case), I get a black screen. I use xrandr, because in the GUI, the max resolution is not high enough.



I managed to crank it a bit up, but at a certain level, it just shows a black screen.




The commands I used:
First we use gtf for calculating the modeline of possible resolutions:



gtf <xres> <yres> <refresh> [-x]


Give the desired values for x-resolution, y-resolution and refresh rate. The flag -x is default and can be omitted. For a portrait resolution 480x640 at 60 Hz you will get the following output:



$ gtf 480 640 60 -x
$ 480x640 @ 60.00 Hz (GTF) hsync: 39.78 kHz; pclk: 24.82 MHz Modeline "480x640_60.00" 24.82 480 504 552 624 640 641 644 663 -HSync +Vsync


From this we can copy & paste the modeline to add it to xrandr list of known resolutions:



xrandr --newmode "480x640_60.00" 24.82 480 504 552 624 640 641 644 663 -HSync +Vsync


and:



xrandr --addmode VBOX0 480x640_60.00


Replace VBOX0 with the appropriate monitor.












share|improve this question






















  • Are you maybe overdriving either the video card or the monitor? Or - since you've tagged with virtual-machine maybe your vGPU hasn't got enough video memory to run properly?

    – roaima
    Mar 13 at 12:18












  • I tried to use a ridiculous low refresh rate to test that, but it doesn't seem to help.

    – 99DJFKDJFO
    Mar 13 at 12:49






  • 1





    @99DJFKDJFO what user roaima is trying to say is that if your vgpu does not have enough memory to support the resolution you cannot use that resolution. Refresh rate has very little to with that. How much virtual memory does your vm have? Edit your question to include the results of the following commands:

    – kemotep
    Mar 13 at 13:05











  • xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=vga and xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=videoram

    – kemotep
    Mar 13 at 13:06











  • @kemotep Does the xe command also works on Qubes-OS?

    – 99DJFKDJFO
    Mar 15 at 11:00













0












0








0








When I try to increase the resolution in my virtual machine (Xen), running a debian distribution (Kali/Parrot in this case), I get a black screen. I use xrandr, because in the GUI, the max resolution is not high enough.



I managed to crank it a bit up, but at a certain level, it just shows a black screen.




The commands I used:
First we use gtf for calculating the modeline of possible resolutions:



gtf <xres> <yres> <refresh> [-x]


Give the desired values for x-resolution, y-resolution and refresh rate. The flag -x is default and can be omitted. For a portrait resolution 480x640 at 60 Hz you will get the following output:



$ gtf 480 640 60 -x
$ 480x640 @ 60.00 Hz (GTF) hsync: 39.78 kHz; pclk: 24.82 MHz Modeline "480x640_60.00" 24.82 480 504 552 624 640 641 644 663 -HSync +Vsync


From this we can copy & paste the modeline to add it to xrandr list of known resolutions:



xrandr --newmode "480x640_60.00" 24.82 480 504 552 624 640 641 644 663 -HSync +Vsync


and:



xrandr --addmode VBOX0 480x640_60.00


Replace VBOX0 with the appropriate monitor.












share|improve this question














When I try to increase the resolution in my virtual machine (Xen), running a debian distribution (Kali/Parrot in this case), I get a black screen. I use xrandr, because in the GUI, the max resolution is not high enough.



I managed to crank it a bit up, but at a certain level, it just shows a black screen.




The commands I used:
First we use gtf for calculating the modeline of possible resolutions:



gtf <xres> <yres> <refresh> [-x]


Give the desired values for x-resolution, y-resolution and refresh rate. The flag -x is default and can be omitted. For a portrait resolution 480x640 at 60 Hz you will get the following output:



$ gtf 480 640 60 -x
$ 480x640 @ 60.00 Hz (GTF) hsync: 39.78 kHz; pclk: 24.82 MHz Modeline "480x640_60.00" 24.82 480 504 552 624 640 641 644 663 -HSync +Vsync


From this we can copy & paste the modeline to add it to xrandr list of known resolutions:



xrandr --newmode "480x640_60.00" 24.82 480 504 552 624 640 641 644 663 -HSync +Vsync


and:



xrandr --addmode VBOX0 480x640_60.00


Replace VBOX0 with the appropriate monitor.









linux debian virtual-machine xrandr xen






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 13 at 11:57









99DJFKDJFO99DJFKDJFO

11




11












  • Are you maybe overdriving either the video card or the monitor? Or - since you've tagged with virtual-machine maybe your vGPU hasn't got enough video memory to run properly?

    – roaima
    Mar 13 at 12:18












  • I tried to use a ridiculous low refresh rate to test that, but it doesn't seem to help.

    – 99DJFKDJFO
    Mar 13 at 12:49






  • 1





    @99DJFKDJFO what user roaima is trying to say is that if your vgpu does not have enough memory to support the resolution you cannot use that resolution. Refresh rate has very little to with that. How much virtual memory does your vm have? Edit your question to include the results of the following commands:

    – kemotep
    Mar 13 at 13:05











  • xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=vga and xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=videoram

    – kemotep
    Mar 13 at 13:06











  • @kemotep Does the xe command also works on Qubes-OS?

    – 99DJFKDJFO
    Mar 15 at 11:00

















  • Are you maybe overdriving either the video card or the monitor? Or - since you've tagged with virtual-machine maybe your vGPU hasn't got enough video memory to run properly?

    – roaima
    Mar 13 at 12:18












  • I tried to use a ridiculous low refresh rate to test that, but it doesn't seem to help.

    – 99DJFKDJFO
    Mar 13 at 12:49






  • 1





    @99DJFKDJFO what user roaima is trying to say is that if your vgpu does not have enough memory to support the resolution you cannot use that resolution. Refresh rate has very little to with that. How much virtual memory does your vm have? Edit your question to include the results of the following commands:

    – kemotep
    Mar 13 at 13:05











  • xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=vga and xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=videoram

    – kemotep
    Mar 13 at 13:06











  • @kemotep Does the xe command also works on Qubes-OS?

    – 99DJFKDJFO
    Mar 15 at 11:00
















Are you maybe overdriving either the video card or the monitor? Or - since you've tagged with virtual-machine maybe your vGPU hasn't got enough video memory to run properly?

– roaima
Mar 13 at 12:18






Are you maybe overdriving either the video card or the monitor? Or - since you've tagged with virtual-machine maybe your vGPU hasn't got enough video memory to run properly?

– roaima
Mar 13 at 12:18














I tried to use a ridiculous low refresh rate to test that, but it doesn't seem to help.

– 99DJFKDJFO
Mar 13 at 12:49





I tried to use a ridiculous low refresh rate to test that, but it doesn't seem to help.

– 99DJFKDJFO
Mar 13 at 12:49




1




1





@99DJFKDJFO what user roaima is trying to say is that if your vgpu does not have enough memory to support the resolution you cannot use that resolution. Refresh rate has very little to with that. How much virtual memory does your vm have? Edit your question to include the results of the following commands:

– kemotep
Mar 13 at 13:05





@99DJFKDJFO what user roaima is trying to say is that if your vgpu does not have enough memory to support the resolution you cannot use that resolution. Refresh rate has very little to with that. How much virtual memory does your vm have? Edit your question to include the results of the following commands:

– kemotep
Mar 13 at 13:05













xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=vga and xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=videoram

– kemotep
Mar 13 at 13:06





xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=vga and xe vm-param-get uuid=[UUID of the VM in question] param-name="platform" param-key=videoram

– kemotep
Mar 13 at 13:06













@kemotep Does the xe command also works on Qubes-OS?

– 99DJFKDJFO
Mar 15 at 11:00





@kemotep Does the xe command also works on Qubes-OS?

– 99DJFKDJFO
Mar 15 at 11:00










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f506076%2fxrandr-increase-resolution-black-screen%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f506076%2fxrandr-increase-resolution-black-screen%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?