Skip to content

u/coldrifting

In this archive from Jan 2014 to Oct 2019

2
posts
11
comments
1
media
25
score

Okay, here's my /etc/X11/xorg.conf.d/10-monitor.conf. It's the only drop-in file in that folder.

Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
EndSection

 Section "Module"
Load  "glx"

EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"

EndSection

Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
    ### <percent>: "<f>%"
    ### [arg]: arg optional
    #Option     "Accel"              	# [<bool>]
    #Option     "SWcursor"           	# [<bool>]
    #Option     "EnablePageFlip"     	# [<bool>]
    #Option     "SubPixelOrder"      	# [<str>]
    #Option     "ZaphodHeads"        	# <str>
    #Option     "AccelMethod"        	# <str>
    #Option     "DRI3"               	# [<bool>]
    #Option     "DRI"                	# <i>
    #Option     "ShadowPrimary"      	# [<bool>]
    #Option     "TearFree"           	# [<bool>]
    #Option     "DeleteUnusedDP12Displays" 	# [<bool>]
Identifier  "RX480"
Driver      "amdgpu"
BusID       "PCI:1:0:0"

EndSection

Section "Screen"
Identifier "Screen0"
Device     "RX480"
Monitor    "Monitor0"
SubSection "Display"
	Viewport   0 0
	Depth     24
EndSubSection

EndSection

I should add that everything works correctly when my monitor is turned on. I added a

mpc play

command to the end of my wm (bspwm) config file to test if xorg starts up, which does work, so the xsever does start, I just can't get my monitor to automatically show/connect to it.

EDIT: Also here are the result of xrandr on another tty

DISPLAY=:0 xrandr -q

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 16384 x 16384
DisplayPort-0 disconnected primary (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-3 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  50.00    59.94  
   1600x1200     60.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DisplayPort-4 disconnected (normal left inverted right x axis y axis)
1 points

Can't seem to find anything... Using xf86-video-amdgpu.

Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
    ### <percent>: "<f>%"
    ### [arg]: arg optional
    #Option     "Accel"              	# [<bool>]
    #Option     "SWcursor"           	# [<bool>]
    #Option     "EnablePageFlip"     	# [<bool>]
    #Option     "SubPixelOrder"      	# [<str>]
    #Option     "ZaphodHeads"        	# <str>
    #Option     "AccelMethod"        	# <str>
    #Option     "DRI3"               	# [<bool>]
    #Option     "DRI"                	# <i>
    #Option     "ShadowPrimary"      	# [<bool>]
    #Option     "TearFree"           	# [<bool>]
    #Option     "DeleteUnusedDP12Displays" 	# [<bool>]
Identifier  "Card1"
Driver      "amdgpu"
BusID       "PCI:1:0:1"

EndSection

This is part of the result from auto generating a xorg conf from my config with:

sudo Xorg -configure

The system seems to think I have two cards? As I have another entry that is identical, except the bus is PC:1:0:0. I only have one GPU, I'm not using the IGPU.

1 points

Actually you can customize gnome terminal though the dconf editor, which has a command line interface, kind of like the registry on Windows. Seems to update instantly too, so you don't have to bother with escape sequences. It's a bit more work than using an .Xresources file, but after a whole day off googling, it's what I'm going to use for a terminal editor, because it's the only one I could find that displays fonts well (urxvt displays Iosevka well, but Japanese fonts look terrible, at least when I tried) including emoji too, and supports programical changing the config, so I don't have to send the escape sequence every time I open a terminal.

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.