LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2020, 04:13 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 931

Rep: Reputation: 44
xrandr: Failed to get size of gamma for output default


Slackware 14.2 x64 (guest VM)
VirtualBox (5.1.38) - no VirtualBox Guest Additions yet.

I get an error/warning when issue xrandr command:
Code:
# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768      61.00* 
   800x600       73.00  
   640x480       86.00  
   640x400       86.00
I tried --addmode as some people reported to overcome this problem this way but in my case it doesnt help.
Any ideas what else to try?
Code:
# xrandr --monitorlist
xrandr: Failed to get size of gamma for output default
Monitors: 1
 0: +default 1024/271x768/203+0+0  default

# xrandr --addmode default 1024x768
xrandr: Failed to get size of gamma for output default
 
Old 05-30-2020, 10:07 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,904
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
I'm a hardware user only, so don't know what difference using virtualization or having guest additions available might make, but otherwise, usually the failure to get any information about output default means the in use DDX (X GPU driver, not kernel GPU driver) is a suboptimal or fallback one, such as VESA or FBDEV, or else, KMS is not engaged (engaged is the default with most kernel configurations).

What is the native/preferred mode of your display, 1024x768, or something higher? What is your GPU model, and how old is it?
 
Old 06-02-2020, 04:52 AM   #3
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 931

Original Poster
Rep: Reputation: 44
Hi,
Thanks for reply.

My preferences for resolution is 1024x768.
To go higher I would need Guest Additions which im having a hard time to install.

GPU/VGA is the one provided by Oracle in VirtualBox:
Code:
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter (prog-if 00 [VGA controller])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at e0000000 (32-bit, prefetchable) [size=16M]
	Expansion ROM at <unassigned> [disabled]
My worry is what does this error really means and how to get rid of it?

Code:
xrandr: Failed to get size of gamma for output default
 
Old 06-03-2020, 11:00 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,904
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by czezz View Post
My worry is what does this error really means and how to get rid of it?
Code:
xrandr: Failed to get size of gamma for output default
It occurs because the in use DDX doesn't provide functionality required by xrandr to perform the requested action.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xrandr: Failed to get size of gamma for output default Sajad Goodarzi Linux - Newbie 2 05-28-2020 01:45 PM
[SOLVED] xrandr Failed to get size of gamma for output and Configure crtc 0 failed kiptroti Ubuntu 3 07-03-2019 02:37 PM
How to determine xrandr output name from sysfs output name? thinkpadboi Linux - Software 4 07-11-2018 08:29 PM
Getting error: Failed to get size of gamma for output default dannin Linux - Newbie 5 06-14-2011 12:31 PM
radeon and dual head, to xrandr or not to xrandr, that's the question i92guboj Linux - Desktop 1 06-17-2009 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration