Jump to content

640x480 modeline doesnt work


Salvador Liébana

Recommended Posts

Hi guys! I need to run some game on full screen, and they are old school windows one. the thing is that adding the modeline worked perfectly fine on rpi4, not on armbian sadly. it seems to change the resolution and then it go "out of signal". I used the same parametes than on rpi4. also generated new ones just in case. the thing is I cant make it to work and maybe iut's something deep into armbian.

 

exaple: 

 

xrandr --newmode "640x480_60.00"   23.75  640 664 720 800  480 483 487 500 -hsync +vsync
xrandr --addmode HDMI-1 640x480_60.00

 

Link to comment
Share on other sites

On 3/22/2021 at 7:25 PM, Salvador Liébana said:

Hi guys! I need to run some game on full screen, and they are old school windows one. the thing is that adding the modeline worked perfectly fine on rpi4, not on armbian sadly. it seems to change the resolution and then it go "out of signal". I used the same parametes than on rpi4. also generated new ones just in case. the thing is I cant make it to work and maybe iut's something deep into armbian.

 

exaple: 

 

xrandr --newmode "640x480_60.00"   23.75  640 664 720 800  480 483 487 500 -hsync +vsync
xrandr --addmode HDMI-1 640x480_60.00

 



make sure the Xorg config is using the  modesetting driver and not  fb 

 

Example here: https://github.com/armbian/build/blob/c1ef2aeba9ab782ec543e37425f2da61b2f4c4fb/packages/bsp/pinebook-pro/xorg.conf#L9

 

Otherwise it's a constraint of the driver for the SoC.. not really an Armbian limitation. 

 

Also it's possible the port may be called HDMI-A-1

 

root@orangepi4:/sys/class/drm/card1-HDMI-A-1# pwd
/sys/class/drm/card1-HDMI-A-1

 

anyway I suspect you need to use the other driver and will be able to use normal means of adjusting resolution

 

FYI I hid your feature request post because it was redundant and I've responded here.

 

Link to comment
Share on other sites

thanks for your fast reply @lanefu!! 

 

I have this extra info. I am surprised bc it seems that the initial config want to expose 640x480 (without doing it manually) but something disallow it.

if its a soc limitation that could be resolved by software (kernel dev) or not I need to know it. 

 

 

oh, it says fb. maybe I should try the other one.. how i switch to that one?

 

also, do you know how to shift to gbm from x11? i mean on rpi4 we can just do ctrl plus F4. maybe there is a way to trigger something similar. usually gbm its a better performing environment for certain opengl apps. 

 

pi@rockpi-4b:~$ cat /var/log/Xorg.0.log
[    19.350] 
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[    19.350] Build Operating System: Linux 4.15.0-130-generic aarch64 Ubuntu
[    19.350] Current Operating System: Linux rockpi-4b 5.10.21-rockchip64 #21.02.3 SMP PREEMPT Mon Mar 8 01:05:08 UTC 2021 aarch64
[    19.350] Kernel command line: root=UUID=f43869ab-391c-4c4b-98c0-2663c796d171 rootwait rootfstype=ext4 bootsplash.bootfile=bootsplash.armbian console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=b2f51975-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u,0x1058:0x25a2:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    19.351] Build Date: 17 January 2021  09:13:31AM
[    19.351] xorg-server 2:1.20.9-2ubuntu1.2~20.04.1 (For technical support please see http://www.ubuntu.com/support) 
[    19.351] Current version of pixman: 0.38.4
[    19.351] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    19.351] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    19.351] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 25 00:49:01 2021
[    19.365] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    19.365] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    19.374] (==) No Layout section.  Using the first Screen section.
[    19.374] (==) No screen section available. Using defaults.
[    19.374] (**) |-->Screen "Default Screen Section" (0)
[    19.374] (**) |   |-->Monitor "<default monitor>"
[    19.375] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    19.375] (**) Option "BlankTime" "0"
[    19.375] (**) Option "StandbyTime" "0"
[    19.375] (**) Option "SuspendTime" "0"
[    19.375] (**) Option "OffTime" "0"
[    19.375] (==) Automatically adding devices
[    19.375] (==) Automatically enabling devices
[    19.375] (==) Automatically adding GPU devices
[    19.375] (==) Automatically binding GPU devices
[    19.376] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    19.404] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    19.405] 	Entry deleted from font path.
[    19.405] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    19.405] 	Entry deleted from font path.
[    19.405] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    19.405] 	Entry deleted from font path.
[    19.405] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    19.405] 	Entry deleted from font path.
[    19.405] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    19.405] 	Entry deleted from font path.
[    19.405] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    19.405] 	Entry deleted from font path.
[    19.405] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	built-ins
[    19.405] (==) ModulePath set to "/usr/lib/xorg/modules"
[    19.405] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    19.405] (II) Loader magic: 0xaaaab6928010
[    19.405] (II) Module ABI versions:
[    19.405] 	X.Org ANSI C Emulation: 0.4
[    19.405] 	X.Org Video Driver: 24.1
[    19.405] 	X.Org XInput driver : 24.1
[    19.405] 	X.Org Server Extension : 10.0
[    19.409] (++) using VT number 7

[    19.409] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    19.410] (II) xfree86: Adding drm device (/dev/dri/card0)
[    19.417] (II) xfree86: Adding drm device (/dev/dri/card1)
[    19.418] (II) no primary bus or device found
[    19.418] 	falling back to /sys/devices/platform/display-subsystem/drm/card0
[    19.418] (II) LoadModule: "glx"
[    19.427] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    19.513] (II) Module glx: vendor="X.Org Foundation"
[    19.513] 	compiled for 1.20.9, module version = 1.0.0
[    19.513] 	ABI class: X.Org Server Extension, version 10.0
[    19.513] (==) Matched modesetting as autoconfigured driver 0
[    19.513] (==) Matched fbdev as autoconfigured driver 1
[    19.513] (==) Assigned the driver to the xf86ConfigLayout
[    19.513] (II) LoadModule: "modesetting"
[    19.514] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    19.532] (II) Module modesetting: vendor="X.Org Foundation"
[    19.532] 	compiled for 1.20.9, module version = 1.20.9
[    19.532] 	Module class: X.Org Video Driver
[    19.532] 	ABI class: X.Org Video Driver, version 24.1
[    19.532] (II) LoadModule: "fbdev"
[    19.532] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    19.542] (II) Module fbdev: vendor="X.Org Foundation"
[    19.542] 	compiled for 1.20.1, module version = 0.5.0
[    19.542] 	Module class: X.Org Video Driver
[    19.542] 	ABI class: X.Org Video Driver, version 24.0
[    19.542] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    19.542] (II) FBDEV: driver for framebuffer: fbdev
[    19.567] (II) modeset(0): using drv /dev/dri/card0
[    19.567] (WW) Falling back to old probe method for fbdev
[    19.567] (II) Loading sub module "fbdevhw"
[    19.567] (II) LoadModule: "fbdevhw"
[    19.567] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    19.576] (II) Module fbdevhw: vendor="X.Org Foundation"
[    19.576] 	compiled for 1.20.9, module version = 0.0.2
[    19.576] 	ABI class: X.Org Video Driver, version 24.1
[    19.577] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    19.577] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    19.577] (==) modeset(0): RGB weight 888
[    19.577] (==) modeset(0): Default visual is TrueColor
[    19.577] (II) Loading sub module "glamoregl"
[    19.577] (II) LoadModule: "glamoregl"
[    19.577] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    19.647] (II) Module glamoregl: vendor="X.Org Foundation"
[    19.647] 	compiled for 1.20.9, module version = 1.0.1
[    19.647] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    21.125] (II) modeset(0): glamor X acceleration enabled on Mali T860 (Panfrost)
[    21.126] (II) modeset(0): glamor initialized
[    21.151] (II) modeset(0): Output HDMI-1 has no monitor section
[    21.177] (II) modeset(0): EDID for output HDMI-1
[    21.177] (II) modeset(0): Manufacturer: GSM  Model: 5a24  Serial#: 2339
[    21.177] (II) modeset(0): Year: 2016  Week: 4
[    21.177] (II) modeset(0): EDID Version: 1.3
[    21.177] (II) modeset(0): Digital Display Input
[    21.177] (II) modeset(0): Max Image Size [cm]: horiz.: 48  vert.: 27
[    21.177] (II) modeset(0): Gamma: 2.20
[    21.177] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[    21.177] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    21.177] (II) modeset(0): First detailed timing is preferred mode
[    21.178] (II) modeset(0): redX: 0.638 redY: 0.334   greenX: 0.309 greenY: 0.627
[    21.178] (II) modeset(0): blueX: 0.153 blueY: 0.073   whiteX: 0.313 whiteY: 0.329
[    21.178] (II) modeset(0): Supported established timings:
[    21.178] (II) modeset(0): 720x400@70Hz
[    21.178] (II) modeset(0): 640x480@60Hz
[    21.178] (II) modeset(0): 640x480@75Hz
[    21.178] (II) modeset(0): 800x600@56Hz
[    21.178] (II) modeset(0): 800x600@60Hz
[    21.178] (II) modeset(0): 800x600@75Hz
[    21.178] (II) modeset(0): 832x624@75Hz
[    21.178] (II) modeset(0): 1024x768@60Hz
[    21.178] (II) modeset(0): 1024x768@75Hz
[    21.178] (II) modeset(0): 1280x1024@75Hz
[    21.178] (II) modeset(0): 1152x864@75Hz
[    21.178] (II) modeset(0): Manufacturer's mask: 0
[    21.178] (II) modeset(0): Supported standard timings:
[    21.178] (II) modeset(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    21.178] (II) modeset(0): #1: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[    21.178] (II) modeset(0): #2: hsize: 1280  vsize 800  refresh: 60  vid: 129
[    21.178] (II) modeset(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    21.178] (II) modeset(0): #4: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    21.178] (II) modeset(0): #5: hsize: 1400  vsize 1050  refresh: 60  vid: 16528
[    21.178] (II) modeset(0): #6: hsize: 1600  vsize 900  refresh: 60  vid: 49321
[    21.178] (II) modeset(0): #7: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[    21.178] (II) modeset(0): Supported detailed timing:
[    21.178] (II) modeset(0): clock: 148.5 MHz   Image Size:  477 x 268 mm
[    21.178] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    21.179] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[    21.179] (II) modeset(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 83 kHz, PixClock max 155 MHz
[    21.179] (II) modeset(0): Monitor name: 22MP55
[    21.179] (II) modeset(0): Serial No: 
[    21.179] (II) modeset(0): Supported detailed timing:
[    21.179] (II) modeset(0): clock: 27.0 MHz   Image Size:  160 x 90 mm
[    21.179] (II) modeset(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
[    21.179] (II) modeset(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
[    21.179] (II) modeset(0): Number of EDID sections to follow: 1
[    21.179] (II) modeset(0): EDID (in hex):
[    21.179] (II) modeset(0): 	00ffffffffffff001e6d245a23090000
[    21.179] (II) modeset(0): 	041a010380301b78ea6275a3554fa027
[    21.179] (II) modeset(0): 	125054a76b80714f81c0810081809500
[    21.179] (II) modeset(0): 	9040a9c0b300023a801871382d40582c
[    21.179] (II) modeset(0): 	4500dd0c1100001e000000fd00384b1e
[    21.179] (II) modeset(0): 	530f000a202020202020000000fc0032
[    21.179] (II) modeset(0): 	324d5035350a202020202020000000ff
[    21.179] (II) modeset(0): 	000a2020202020202020202020200101
[    21.179] (II) modeset(0): 	02031b61230907078301000067030c00
[    21.179] (II) modeset(0): 	2000802d43908402e2000f8c0ad08a20
[    21.179] (II) modeset(0): 	e02d10103e9600a05a00000000000000
[    21.179] (II) modeset(0): 	00000000000000000000000000000000
[    21.179] (II) modeset(0): 	00000000000000000000000000000000
[    21.179] (II) modeset(0): 	00000000000000000000000000000000
[    21.179] (II) modeset(0): 	00000000000000000000000000000000
[    21.179] (II) modeset(0): 	00000000000000000000000000000029
[    21.180] (--) modeset(0): HDMI max TMDS frequency 225000KHz
[    21.180] (II) modeset(0): Printing probed modes for output HDMI-1
[    21.180] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    21.180] (II) modeset(0): Modeline "1600x900"x60.0  108.00  1600 1624 1704 1800  900 901 904 1000 +hsync +vsync (60.0 kHz e)
[    21.180] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    21.180] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    21.180] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    21.180] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    21.180] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    21.180] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    21.180] (II) modeset(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    21.180] (II) modeset(0): Output HDMI-1 connected
[    21.180] (II) modeset(0): Using exact sizes for initial modes
[    21.180] (II) modeset(0): Output HDMI-1 using initial mode 1920x1080 +0+0
[    21.180] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    21.180] (==) modeset(0): DPI set to (96, 96)
[    21.180] (II) Loading sub module "fb"
[    21.180] (II) LoadModule: "fb"
[    21.181] (II) Loading /usr/lib/xorg/modules/libfb.so
[    21.185] (II) Module fb: vendor="X.Org Foundation"
[    21.185] 	compiled for 1.20.9, module version = 1.0.0
[    21.185] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    21.185] (II) UnloadModule: "fbdev"
[    21.185] (II) Unloading fbdev
[    21.186] (II) UnloadSubModule: "fbdevhw"
[    21.186] (II) Unloading fbdevhw
[    21.323] (==) modeset(0): Backing store enabled
[    21.323] (==) modeset(0): Silken mouse enabled
[    21.333] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    21.334] (==) modeset(0): DPMS enabled
[    21.334] (II) modeset(0): [DRI2] Setup complete
[    21.334] (II) modeset(0): [DRI2]   DRI driver: rockchip
[    21.334] (II) modeset(0): [DRI2]   VDPAU driver: rockchip
[    21.334] (II) Initializing extension Generic Event Extension
[    21.334] (II) Initializing extension SHAPE
[    21.334] (II) Initializing extension MIT-SHM
[    21.335] (II) Initializing extension XInputExtension
[    21.336] (II) Initializing extension XTEST
[    21.336] (II) Initializing extension BIG-REQUESTS
[    21.336] (II) Initializing extension SYNC
[    21.337] (II) Initializing extension XKEYBOARD
[    21.337] (II) Initializing extension XC-MISC
[    21.337] (II) Initializing extension SECURITY
[    21.337] (II) Initializing extension XFIXES
[    21.338] (II) Initializing extension RENDER
[    21.338] (II) Initializing extension RANDR
[    21.338] (II) Initializing extension COMPOSITE
[    21.339] (II) Initializing extension DAMAGE
[    21.339] (II) Initializing extension MIT-SCREEN-SAVER
[    21.339] (II) Initializing extension DOUBLE-BUFFER
[    21.339] (II) Initializing extension RECORD
[    21.340] (II) Initializing extension DPMS
[    21.340] (II) Initializing extension Present
[    21.340] (II) Initializing extension DRI3
[    21.340] (II) Initializing extension X-Resource
[    21.341] (II) Initializing extension XVideo
[    21.341] (II) Initializing extension XVideo-MotionCompensation
[    21.341] (II) Initializing extension SELinux
[    21.341] (II) SELinux: Disabled on system
[    21.341] (II) Initializing extension GLX
[    21.595] (II) AIGLX: Loaded and initialized rockchip
[    21.595] (II) GLX: Initialized DRI2 GL provider for screen 0
[    21.595] (II) Initializing extension XFree86-VidModeExtension
[    21.596] (II) Initializing extension XFree86-DGA
[    21.596] (II) Initializing extension XFree86-DRI
[    21.597] (II) Initializing extension DRI2
[    21.602] (II) modeset(0): Damage tracking initialized
[    21.602] (II) modeset(0): Setting screen physical size to 508 x 285
[    21.768] (II) config/udev: Adding input device dw_hdmi (/dev/input/event0)
[    21.768] (**) dw_hdmi: Applying InputClass "libinput keyboard catchall"
[    21.768] (II) LoadModule: "libinput"
[    21.769] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    21.779] (II) Module libinput: vendor="X.Org Foundation"
[    21.779] 	compiled for 1.20.4, module version = 0.29.0
[    21.779] 	Module class: X.Org XInput Driver
[    21.779] 	ABI class: X.Org XInput driver, version 24.1
[    21.779] (II) Using input driver 'libinput' for 'dw_hdmi'
[    21.779] (**) dw_hdmi: always reports core events
[    21.779] (**) Option "Device" "/dev/input/event0"
[    21.779] (**) Option "_source" "server/udev"
[    21.797] (II) event0  - dw_hdmi: is tagged by udev as: Keyboard Pointingstick
[    21.798] (II) event0  - dw_hdmi: device is a pointer
[    21.798] (II) event0  - dw_hdmi: device is a keyboard
[    21.799] (II) event0  - dw_hdmi: device removed
[    21.840] (II) libinput: dw_hdmi: needs a virtual subdevice
[    21.840] (**) Option "config_info" "udev:/sys/devices/platform/ff940000.hdmi/rc/rc0/input0/event0"
[    21.840] (II) XINPUT: Adding extended input device "dw_hdmi" (type: MOUSE, id 6)
[    21.841] (**) Option "AccelerationScheme" "none"
[    21.841] (**) dw_hdmi: (accel) selected scheme none/0
[    21.841] (**) dw_hdmi: (accel) acceleration factor: 2.000
[    21.841] (**) dw_hdmi: (accel) acceleration threshold: 4
[    21.843] (II) event0  - dw_hdmi: is tagged by udev as: Keyboard Pointingstick
[    21.843] (II) event0  - dw_hdmi: device is a pointer
[    21.843] (II) event0  - dw_hdmi: device is a keyboard
[    21.867] (**) dw_hdmi: Applying InputClass "libinput keyboard catchall"
[    21.867] (II) Using input driver 'libinput' for 'dw_hdmi'
[    21.867] (**) dw_hdmi: always reports core events
[    21.867] (**) Option "Device" "/dev/input/event0"
[    21.867] (**) Option "_source" "_driver/libinput"
[    21.867] (II) libinput: dw_hdmi: is a virtual subdevice
[    21.867] (**) Option "config_info" "udev:/sys/devices/platform/ff940000.hdmi/rc/rc0/input0/event0"
[    21.867] (II) XINPUT: Adding extended input device "dw_hdmi" (type: KEYBOARD, id 7)
[    21.867] (**) Option "xkb_model" "pc105"
[    21.867] (**) Option "xkb_layout" "latam"
[    21.867] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[    25.340] (II) modeset(0): EDID vendor "GSM", prod id 23076
[    25.340] (II) modeset(0): DDCModeFromDetailedTiming: 720x480 Warning: We only handle separate sync.
[    25.340] (II) modeset(0): Using EDID range info for horizontal sync
[    25.340] (II) modeset(0): Using EDID range info for vertical refresh
[    25.340] (II) modeset(0): Printing DDC gathered Modelines:
[    25.340] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    25.340] (II) modeset(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    25.341] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    25.341] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    25.341] (II) modeset(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    25.341] (II) modeset(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    25.341] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    25.341] (II) modeset(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    25.341] (II) modeset(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    25.341] (II) modeset(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    25.341] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    25.341] (II) modeset(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    25.341] (II) modeset(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    25.341] (II) modeset(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    25.341] (II) modeset(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    25.341] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    25.341] (II) modeset(0): Modeline "1440x900"x0.0   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[    25.341] (II) modeset(0): Modeline "1400x1050"x0.0  101.00  1400 1448 1480 1560  1050 1053 1057 1080 +hsync -vsync (64.7 kHz e)
[    25.341] (II) modeset(0): Modeline "1600x900"x60.0  119.00  1600 1696 1864 2128  900 901 904 932 -hsync +vsync (55.9 kHz e)
[    25.341] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[    25.342] (--) modeset(0): HDMI max TMDS frequency 225000KHz
[    28.119] (II) modeset(0): EDID vendor "GSM", prod id 23076
[    28.119] (II) modeset(0): DDCModeFromDetailedTiming: 720x480 Warning: We only handle separate sync.
[    28.119] (II) modeset(0): Using hsync ranges from config file
[    28.119] (II) modeset(0): Using vrefresh ranges from config file
[    28.119] (II) modeset(0): Printing DDC gathered Modelines:
[    28.119] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    28.119] (II) modeset(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    28.119] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    28.120] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    28.120] (II) modeset(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    28.120] (II) modeset(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    28.120] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    28.120] (II) modeset(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    28.120] (II) modeset(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    28.120] (II) modeset(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    28.120] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    28.120] (II) modeset(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    28.120] (II) modeset(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    28.120] (II) modeset(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    28.120] (II) modeset(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    28.120] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    28.120] (II) modeset(0): Modeline "1440x900"x0.0   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[    28.120] (II) modeset(0): Modeline "1400x1050"x0.0  101.00  1400 1448 1480 1560  1050 1053 1057 1080 +hsync -vsync (64.7 kHz e)
[    28.120] (II) modeset(0): Modeline "1600x900"x60.0  119.00  1600 1696 1864 2128  900 901 904 932 -hsync +vsync (55.9 kHz e)
[    28.120] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[    28.121] (--) modeset(0): HDMI max TMDS frequency 225000KHz
[    28.157] (II) modeset(0): EDID vendor "GSM", prod id 23076
[    28.157] (II) modeset(0): DDCModeFromDetailedTiming: 720x480 Warning: We only handle separate sync.
[    28.157] (II) modeset(0): Using hsync ranges from config file
[    28.157] (II) modeset(0): Using vrefresh ranges from config file
[    28.157] (II) modeset(0): Printing DDC gathered Modelines:
[    28.157] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    28.157] (II) modeset(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    28.157] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    28.157] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    28.158] (II) modeset(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    28.158] (II) modeset(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    28.158] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    28.158] (II) modeset(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    28.158] (II) modeset(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    28.158] (II) modeset(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    28.158] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    28.158] (II) modeset(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    28.158] (II) modeset(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    28.158] (II) modeset(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    28.158] (II) modeset(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    28.158] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    28.158] (II) modeset(0): Modeline "1440x900"x0.0   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[    28.158] (II) modeset(0): Modeline "1400x1050"x0.0  101.00  1400 1448 1480 1560  1050 1053 1057 1080 +hsync -vsync (64.7 kHz e)
[    28.158] (II) modeset(0): Modeline "1600x900"x60.0  119.00  1600 1696 1864 2128  900 901 904 932 -hsync +vsync (55.9 kHz e)
[    28.158] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[    28.159] (--) modeset(0): HDMI max TMDS frequency 225000KHz
[    29.231] (II) config/udev: Adding input device Logitech Wireless Mouse (/dev/input/mouse0)
[    29.243] (II) No input driver specified, ignoring this device.
[    29.243] (II) This device may have been added with another device file.
[    29.395] (II) config/udev: Adding input device Logitech Wireless Mouse (/dev/input/event2)
[    29.395] (**) Logitech Wireless Mouse: Applying InputClass "libinput pointer catchall"
[    29.395] (II) Using input driver 'libinput' for 'Logitech Wireless Mouse'
[    29.395] (**) Logitech Wireless Mouse: always reports core events
[    29.395] (**) Option "Device" "/dev/input/event2"
[    29.395] (**) Option "_source" "server/udev"
[    29.405] (II) event2  - Logitech Wireless Mouse: is tagged by udev as: Mouse
[    29.405] (II) event2  - Logitech Wireless Mouse: device is a pointer
[    29.406] (II) event2  - Logitech Wireless Mouse: device removed
[    29.472] (**) Option "config_info" "udev:/sys/devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1:1.1/0003:046D:C534.0002/0003:046D:4058.0004/input/input19/event2"
[    29.473] (II) XINPUT: Adding extended input device "Logitech Wireless Mouse" (type: MOUSE, id 8)
[    29.474] (**) Option "AccelerationScheme" "none"
[    29.477] (**) Logitech Wireless Mouse: (accel) selected scheme none/0
[    29.477] (**) Logitech Wireless Mouse: (accel) acceleration factor: 2.000
[    29.477] (**) Logitech Wireless Mouse: (accel) acceleration threshold: 4
[    29.486] (II) event2  - Logitech Wireless Mouse: is tagged by udev as: Mouse
[    29.486] (II) event2  - Logitech Wireless Mouse: device is a pointer
[    29.507] (II) config/udev: Adding input device Logitech Wireless Keyboard PID:4023 (/dev/input/event1)
[    29.507] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "libinput keyboard catchall"
[    29.507] (II) Using input driver 'libinput' for 'Logitech Wireless Keyboard PID:4023'
[    29.507] (**) Logitech Wireless Keyboard PID:4023: always reports core events
[    29.507] (**) Option "Device" "/dev/input/event1"
[    29.507] (**) Option "_source" "server/udev"
[    29.533] (II) event1  - Logitech Wireless Keyboard PID:4023: is tagged by udev as: Keyboard
[    29.534] (II) event1  - Logitech Wireless Keyboard PID:4023: device is a keyboard
[    29.535] (II) event1  - Logitech Wireless Keyboard PID:4023: device removed
[    29.572] (II) libinput: Logitech Wireless Keyboard PID:4023: needs a virtual subdevice
[    29.572] (**) Option "config_info" "udev:/sys/devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input18/event1"
[    29.572] (II) XINPUT: Adding extended input device "Logitech Wireless Keyboard PID:4023" (type: MOUSE, id 9)
[    29.574] (**) Option "AccelerationScheme" "none"
[    29.575] (**) Logitech Wireless Keyboard PID:4023: (accel) selected scheme none/0
[    29.575] (**) Logitech Wireless Keyboard PID:4023: (accel) acceleration factor: 2.000
[    29.575] (**) Logitech Wireless Keyboard PID:4023: (accel) acceleration threshold: 4
[    29.588] (II) event1  - Logitech Wireless Keyboard PID:4023: is tagged by udev as: Keyboard
[    29.588] (II) event1  - Logitech Wireless Keyboard PID:4023: device is a keyboard
[    29.597] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "libinput keyboard catchall"
[    29.597] (II) Using input driver 'libinput' for 'Logitech Wireless Keyboard PID:4023'
[    29.597] (**) Logitech Wireless Keyboard PID:4023: always reports core events
[    29.597] (**) Option "Device" "/dev/input/event1"
[    29.597] (**) Option "_source" "_driver/libinput"
[    29.597] (II) libinput: Logitech Wireless Keyboard PID:4023: is a virtual subdevice
[    29.597] (**) Option "config_info" "udev:/sys/devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb5/5-1/5-1:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input18/event1"
[    29.597] (II) XINPUT: Adding extended input device "Logitech Wireless Keyboard PID:4023" (type: KEYBOARD, id 10)
[    29.597] (**) Option "xkb_model" "pc105"
[    29.597] (**) Option "xkb_layout" "latam"
[    29.598] (WW) Option "xkb_variant" requires a string value
[    29.598] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"

 

Link to comment
Share on other sites

3 hours ago, Salvador Liébana said:

oh, it says fb. maybe I should try the other one.. how i switch to that one?

 

look in /etc/X11/x.org.conf.d or something similar to that name

Link to comment
Share on other sites

okay, I have this on /etc/X11/xorg.conf.d/01-armbian-defaults.conf

 

Section "Monitor"
    Identifier        "Monitor0"
    Option            "DPMS" "false"
EndSection
Section "ServerFlags"
    Option            "BlankTime" "0"
    Option            "StandbyTime" "0"
    Option            "SuspendTime" "0"
    Option            "OffTime" "0"
EndSection

 

do you use n2 for desktop. shame on you. haha just joking... but rk3399 is better desktop on my humble opinion.

Link to comment
Share on other sites

@lanefu here it seems I am currently on modesetting (this is part of the inxi -Fx output) :  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev 

soy maybe its a limitation from the diusplay subsystem?   Device-1: display-subsystem driver: rockchip_drm v: N/A bus ID: N/A .

 

what I am asking its where you identify that the SoC limitation (...a driver or kernel driver limitation) is. 

Link to comment
Share on other sites

@Salvador Liébana

 

Create the file /etc/X11/xorg.conf.d/01-driver.conf

 

with the following contents.

 

Spoiler

Section "Device"
           Identifier  "Rockchip Graphics"
       
        ## Use modesetting and glamor
            Driver      "modesetting"
            Option      "AccelMethod"    "glamor"     ### "glamor" to enable 3D acceleration, "none" to disable.
            Option      "DRI"            "2"
            Option      "Dri2Vsync"      "true"
            Option  "TripleBuffer"    "True"
        ## End glamor configuration
       
EndSection
 

 

you may need to set Option AccelMethod to none depending on your use.

Link to comment
Share on other sites

many thanks for your time. it did not resolve the problem but it switched to modsetting

 

Graphics:
  Device-1: display-subsystem driver: rockchip_drm v: N/A bus ID: N/A 
  Device-2: rk3399-dw-hdmi driver: dwhdmi_rockchip v: N/A bus ID: N/A 
  Device-3: rk3399-mali driver: panfrost v: kernel bus ID: N/A 
  Display: x11 server: X.Org 1.20.9 driver: modesetting 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mali T860 (Panfrost
  v: 3.1 Mesa 21.1.0-devel (git-befd9fb 2021-03-21 focal-oibaf-ppa) 

 

 

what component of those it's the faulty or the one without this kind of support if you can guess?

the thing is we run wine games... and they are very low res. 640x480 and 800x600 are quite common then and it doesnt work at all at those resolutions. 

 

 

@Kwiboo do you know something about this?


 

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines