Score:1

Keeping External Monitor Resolution

cn flag

Recently I got myself a new laptop which has two display adapters as of lshw report:

VGA compatible controller
                producto: GP104M [GeForce GTX 1070 Mobile]
                fabricante: NVIDIA Corporation
                id físico: 0
                información del bus: pci@0000:01:00.0
                versión: a1
                anchura: 64 bits
                reloj: 33MHz
                capacidades: pm msi pciexpress vga_controller bus_master cap_list rom
                configuración: driver=nvidia latency=0

And

VGA compatible controller
             producto: HD Graphics 630
             fabricante: Intel Corporation
             id físico: 2
             información del bus: pci@0000:00:02.0
             versión: 04
             anchura: 64 bits
             reloj: 33MHz
             capacidades: pciexpress msi pm vga_controller bus_master cap_list
             configuración: driver=i915 latency=0
             recursos: irq:137 memoria:dd000000-ddffffff memoria:70000000-7fffffff ioport:f000(size=64) memoria:c0000-dffff

I suppose one is for normal use and the one is the 8GB muscle card.

During a heavy gaming session it fell off the table and the laptop's monitor was obliterated but I have a spare (external) monitor which I connected and configured, but which does not support the 120 Hz the card throws at it by default.

This can be solved, of course, on the configuration by turning it off.

The real problem occurs when I reboot: remember my card throws 120Hz at the HDMI by default? Well, suddenly my external monitor reports an unsupported resolution and I have to configure it all by hand.

I have used Linux for more than ten years but I still feel like a newbie most of the time, but I can think of at least two solutions:

  • The first of course being directly editing the /etc/whatever and making my external display default to 60Hz and turning my laptop's monitor off.

  • The second being a script calling XRANDR or something of the sort.

How should I fix this issue?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.