Xrandr Issue saying screen cannot be larger than 8192x8192

New to Debian (Or Linux in general)? Ask your questions here!

Xrandr Issue saying screen cannot be larger than 8192x8192

Postby MrCush » 2019-10-07 22:42

So I recently switched over to DeepinOS which is build off of Debian Stable. Previously I was on Manjaro Deepin but decided to check out the Debian official version and was pleasantly surprised at how amazingly smooth everything was in terms of performance, moving my mouse, scrolling, moving windows around, etc. It's a bit out of my comfort zone as I have always been an Arch user and I love having the latest packages being a software developer and a software junkie but I decided I can deal with it and get used to it. Nothing against Debian in the slightest, I just have been using Arch for years.

Anyways, my big issue came when my second monitor's scaling was way off and everything on the screen is extremely massive. I have two monitors, the first being a laptop 13.9" with 3840x2160 and the second being a 27" 2160x1440 standalone monitor. I had done a massive amount of research on how to fix this scaling and eventually figured it out.....on the Manjaro Deepin version. Essentially the argument passed to the -fb option on xrandr would be a total resolution of 8960x2880.

When I switched over to Deepin OS and tried to pass my xrandr settings of either
Code: Select all
xrandr-extend hdmi
(this is a great utility where you can just pass a config file specifying the resolutions of your monitors and the scaling you wish to have and it will run the xrandr command for you)

OR

Code: Select all
xrandr --output DP-2 --mode 2160x1440 --rate 59.5 --scale 2.0x2.0


I would get a response back saying:

Code: Select all
xrandr: screen cannot be larger than 8192x8192 (desired size 8960x2880)


I have looked into this quite a bit about it possibly being a limit put on by my hardware but being able to override this in the xorg.conf file by setting a
Code: Select all
Virtual
resolution that exceeds that 8192 limit.
Unfortunately my install did not have an xorg.conf file. I read that eventually distros moved away from using one and it would be able to find it out automatically. But if needed, I could generate one and modify it after copying it from /root.
I went ahead and did this and it ended up giving me a black screen on reboot. I then deleted the file and read that you could create an extremely minimal xorg.conf file to which I made:
Code: Select all
Section "Device"
    Identifier  "my device"
EndSection

Section "Monitor"
    Identifier  "my monitor"
EndSection

Section "Screen"
    Identifier  "my screen"
    Monitor     "my monitor"
    Device      "my device"
    SubSection "Display"
        Virtual 8960 2880
    EndSubSection
EndSection


This did absolutely nothing on reboot and I get the same xrandr error.

Lastly, I read that there was move to KMS and that there was a way to handle it there but I got lost in the process of trying to figure it out as there doesn't seem to be enough information on it or I just can't find it.

Additional Information Regarding My System:

Code: Select all
$ xrandr
Screen 0: minimum 320 x 200, current 6400 x 2160, maximum 8192 x 8192
eDP-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   3840x2160     60.01*+
   2048x1536     60.00 
   1920x1440     60.00 
   1856x1392     60.01 
   1792x1344     60.01 
   1920x1200     59.95 
   1920x1080     59.93 
   1600x1200     60.00 
   1680x1050     59.95    59.88 
   1600x1024     60.17 
   1400x1050     59.98 
   1280x1024     60.02 
   1440x900      59.89 
   1280x960      60.00 
   1360x768      59.80    59.96 
   1152x864      60.00 
   1024x768      60.04    60.00 
   960x720       60.00 
   928x696       60.05 
   896x672       60.01 
   960x600       60.00 
   960x540       59.99 
   800x600       60.00    60.32    56.25 
   840x525       60.01    59.88 
   800x512       60.17 
   700x525       59.98 
   640x512       60.02 
   720x450       59.89 
   640x480       60.00    59.94 
   680x384       59.80    59.96 
   576x432       60.06 
   512x384       60.00 
   400x300       60.32    56.34 
   320x240       60.05 
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 2560x1440+3840+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1080     60.00    60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98 
   1920x1080i    60.00    50.00    59.94 
   1680x1050     59.88 
   1280x1024     75.02    60.02 
   1440x900      59.90 
   1280x960      60.00 
   1280x800      59.91 
   1152x864      75.00 
   1280x720      60.00    50.00    59.94 
   1440x576      50.00 
   1024x768      75.03    70.07    60.00 
   1440x480      60.00    59.94 
   832x624       74.55 
   800x600       72.19    75.00    60.32    56.25 
   720x576       50.00 
   720x480       60.00    59.94 
   640x480       75.00    66.67    60.00    59.94 
   720x400       70.08 


Code: Select all
$ lspci
00:00.0 Host bridge: Intel Corporation Device 5914 (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Device 5917 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:15.3 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #3 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:19.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #2 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
37:00.0 USB controller: Intel Corporation Device 15d4 (rev 02)
6b:00.0 Network controller: Intel Corporation Device 24fd (rev 78)
6c:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a808


I am running on a Lenovo Yoga 920 with an Intel 8th gen CPU and Integrated Intel Graphics.

If there is any more information that I can give you, don't hesitate to ask. I would GREATLY appreciate any help here given it's difficult to work on web development with a single screen. Thank you!
MrCush
 
Posts: 3
Joined: 2019-10-07 22:12

Re: Xrandr Issue saying screen cannot be larger than 8192x81

Postby MrCush » 2019-10-07 23:15

Erm, to the user who just PM'd me but doesn't accept PMs back. Your message doesn't seem to be personal so I'll just respond to it here:

I did a quick web search...

https://duckduckgo.com/html/?q=xrandr+m ... 192+x+8192

first hit says check 'glxinfo -l | grep GL_MAX_TEXTURE_SIZE' that will be your limit.

It's an interesting problem, but this is a debian forum, not deepin, whatever that is?

Good Luck.



I appreciate your help but I have already been to that link. I'm sorry but I don't understand what checking my limit does in terms of a solution? I have scaled my resolution on different distros and it worked fine.

And like I said in my post, Deepin is a DE that runs on Debian Stable. Maybe I should have left the Deepin part out as any Debian solutions shouldn't have any issue working on Deepin and it would have avoided any bias towards the DE.

Anyways, thanks for trying.
MrCush
 
Posts: 3
Joined: 2019-10-07 22:12

Re: Xrandr Issue saying screen cannot be larger than 8192x81

Postby CwF » 2019-10-07 23:24

Don't scale the screen, scale dpi instead.
CwF
 
Posts: 502
Joined: 2018-06-20 15:16

Re: Xrandr Issue saying screen cannot be larger than 8192x81

Postby MrCush » 2019-10-08 15:03

CwF wrote:Don't scale the screen, scale dpi instead.

Thanks for the response. I'm at work now but when I get home I'll give a shot into looking into how scaling the dpi works.
MrCush
 
Posts: 3
Joined: 2019-10-07 22:12

Re: Xrandr Issue saying screen cannot be larger than 8192x81

Postby Head_on_a_Stick » 2019-10-12 10:59

MrCush wrote:And like I said in my post, Deepin is a DE that runs on Debian Stable. Maybe I should have left the Deepin part out as any Debian solutions shouldn't have any issue working on Deepin and it would have avoided any bias towards the DE.

Please either reproduce this problem under Debian or ask at the Deepin forums instead.
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10613
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Beginners Questions

Who is online

Users browsing this forum: silas2 and 13 guests

fashionable