Skip to content

sm750. Ubuntu 24.04.3 LTS. Bad resolution. #29

Description

@zlyh

Hello.
I have some computer with sm750 chip, BIOS based. Windows works fine. GRUB starts with fine resolution. Monitor has 1280x1024 resolution. During booting it switches to 1024x768. And GUI works with 1024x768.

In Xorg.0.log I see:

X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
[    18.474] Current Operating System: Linux SVP-534 6.14.0-33-generic #33~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 19 17:02:30 UTC 2 x86_64
[    18.474] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.14.0-33-generic root=UUID=86f074ad-342d-426a-908a-760f8c28c558 ro drm.debug=0x4
[    18.474] xorg-server 2:21.1.12-1ubuntu1.4 (For technical support please see http://www.ubuntu.com/support) 
...
[    18.479] (==) ModulePath set to "/usr/lib/xorg/modules"
[    18.479] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    18.479] (II) Loader magic: 0x57e5cad1e020
[    18.479] (II) Module ABI versions:
[    18.479] 	X.Org ANSI C Emulation: 0.4
[    18.479] 	X.Org Video Driver: 25.2
[    18.479] 	X.Org XInput driver : 24.4
[    18.479] 	X.Org Server Extension : 10.0
[    18.480] (++) using VT number 1

[    18.481] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    18.495] (--) PCI:*(16@0:0:0) 126f:0750:126f:0750 rev 161, Mem @ 0xf4000000/67108864, 0xfb200000/2097152, BIOS @ 0x????????/131072
[    18.495] (II) LoadModule: "glx"
[    18.496] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    18.510] (II) Module glx: vendor="X.Org Foundation"
[    18.510] 	compiled for 1.21.1.11, module version = 1.0.0
[    18.510] 	ABI class: X.Org Server Extension, version 10.0
[    18.510] (==) Matched siliconmotion as autoconfigured driver 0
[    18.510] (==) Matched modesetting as autoconfigured driver 1
[    18.510] (==) Matched fbdev as autoconfigured driver 2
[    18.510] (==) Matched vesa as autoconfigured driver 3
[    18.510] (==) Assigned the driver to the xf86ConfigLayout
[    18.510] (II) LoadModule: "siliconmotion"
[    18.511] (WW) Warning, couldn't open module siliconmotion
[    18.511] (EE) Failed to load module "siliconmotion" (module does not exist, 0)
[    18.511] (II) LoadModule: "modesetting"
[    18.511] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    18.512] (II) Module modesetting: vendor="X.Org Foundation"
[    18.513] 	compiled for 1.21.1.11, module version = 1.21.1
[    18.513] 	Module class: X.Org Video Driver
[    18.513] 	ABI class: X.Org Video Driver, version 25.2
[    18.513] (II) LoadModule: "fbdev"
[    18.513] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    18.514] (II) Module fbdev: vendor="X.Org Foundation"
[    18.514] 	compiled for 1.21.1.11, module version = 0.5.0
[    18.514] 	Module class: X.Org Video Driver
[    18.514] 	ABI class: X.Org Video Driver, version 25.2
[    18.514] (II) LoadModule: "vesa"
[    18.514] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    18.515] (II) Module vesa: vendor="X.Org Foundation"
[    18.515] 	compiled for 1.21.1.11, module version = 2.6.0
[    18.515] 	Module class: X.Org Video Driver
[    18.515] 	ABI class: X.Org Video Driver, version 25.2
[    18.515] (==) Matched siliconmotion as autoconfigured driver 0
[    18.515] (==) Matched modesetting as autoconfigured driver 1
[    18.515] (==) Matched fbdev as autoconfigured driver 2
[    18.515] (==) Matched vesa as autoconfigured driver 3
[    18.515] (==) Assigned the driver to the xf86ConfigLayout
[    18.515] (II) LoadModule: "siliconmotion"
[    18.515] (WW) Warning, couldn't open module siliconmotion
[    18.515] (EE) Failed to load module "siliconmotion" (module does not exist, 0)
[    18.515] (II) LoadModule: "modesetting"
[    18.515] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    18.515] (II) Module modesetting: vendor="X.Org Foundation"
[    18.515] 	compiled for 1.21.1.11, module version = 1.21.1
[    18.515] 	Module class: X.Org Video Driver
[    18.515] 	ABI class: X.Org Video Driver, version 25.2
[    18.515] (II) UnloadModule: "modesetting"
[    18.515] (II) Unloading modesetting
[    18.515] (II) Failed to load module "modesetting" (already loaded, 0)
[    18.515] (II) LoadModule: "fbdev"
[    18.515] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    18.515] (II) Module fbdev: vendor="X.Org Foundation"
[    18.515] 	compiled for 1.21.1.11, module version = 0.5.0
[    18.515] 	Module class: X.Org Video Driver
[    18.515] 	ABI class: X.Org Video Driver, version 25.2
[    18.515] (II) UnloadModule: "fbdev"
[    18.515] (II) Unloading fbdev
[    18.515] (II) Failed to load module "fbdev" (already loaded, 0)
[    18.516] (II) LoadModule: "vesa"
[    18.516] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    18.516] (II) Module vesa: vendor="X.Org Foundation"
[    18.516] 	compiled for 1.21.1.11, module version = 2.6.0
[    18.516] 	Module class: X.Org Video Driver
[    18.516] 	ABI class: X.Org Video Driver, version 25.2
[    18.516] (II) UnloadModule: "vesa"
[    18.516] (II) Unloading vesa
[    18.516] (II) Failed to load module "vesa" (already loaded, 0)
[    18.516] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    18.516] (II) FBDEV: driver for framebuffer: fbdev
[    18.516] (II) VESA: driver for VESA chipsets: vesa
[    18.516] (EE) open /dev/dri/card0: No such file or directory
[    18.516] (WW) Falling back to old probe method for modesetting
[    18.516] (EE) open /dev/dri/card0: No such file or directory
[    18.516] (II) Loading sub module "fbdevhw"
[    18.516] (II) LoadModule: "fbdevhw"
[    18.516] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    18.517] (II) Module fbdevhw: vendor="X.Org Foundation"
[    18.518] 	compiled for 1.21.1.11, module version = 0.0.2
[    18.518] 	ABI class: X.Org Video Driver, version 25.2
[    18.518] (**) FBDEV(1): claimed PCI slot 16@0:0:0
[    18.518] (II) FBDEV(1): using default device
[    18.518] (EE) Screen 0 deleted because of no matching config section.
[    18.518] (II) UnloadModule: "modesetting"
[    18.518] (II) FBDEV(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32

[    18.518] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    18.518] (==) FBDEV(0): RGB weight 888
[    18.518] (==) FBDEV(0): Default visual is TrueColor
[    18.518] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    18.518] (II) FBDEV(0): hardware: sm750_fb1 (video memory: 16384kB)
[    18.518] (II) FBDEV(0): checking modes against framebuffer device...
[    18.518] (II) FBDEV(0): checking modes against monitor...
[    18.518] (II) FBDEV(0): Virtual size is 1024x768 (pitch 1024)
[    18.518] (**) FBDEV(0):  Built-in mode "current": 65.0 MHz, 48.4 kHz, 60.0 Hz
[    18.518] (II) FBDEV(0): Modeline "current"x0.0   65.00  1024 1032 1176 1344  768 771 777 806 -hsync -vsync -csync (48.4 kHz b)
[    18.518] (==) FBDEV(0): DPI set to (96, 96)
[    18.518] (II) Loading sub module "fb"
[    18.518] (II) LoadModule: "fb"
[    18.518] (II) Module "fb" already built-in
[    18.518] (**) FBDEV(0): using shadow framebuffer
[    18.518] (II) Loading sub module "shadow"
[    18.518] (II) LoadModule: "shadow"
[    18.518] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    18.519] (II) Module shadow: vendor="X.Org Foundation"
[    18.519] 	compiled for 1.21.1.11, module version = 1.1.0
[    18.519] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    18.519] (II) UnloadModule: "vesa"
[    18.519] (II) Unloading vesa
[    18.523] (==) FBDEV(0): Backing store enabled
[    18.524] (==) FBDEV(0): DPMS enabled

Looks like the driver isn't loaded. Right?
And "lspci" output:

10:00.0 VGA compatible controller: Silicon Motion, Inc. SM750 (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Silicon Motion, Inc. SM750
	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, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 18
	NUMA node: 0
	IOMMU group: 34
	Region 0: Memory at f4000000 (32-bit, prefetchable) [size=64M]
	Region 1: Memory at fb200000 (32-bit, non-prefetchable) [size=2M]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [70] Express (v2) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
			ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis+ NROPrPrP- LTR-
			 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS-
			 AtomicOpsCap: 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled,
			 AtomicOpsCtl: ReqEn-
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
			 EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
		Vector table: BAR=5 offset=00000000
		PBA: BAR=5 offset=00000000
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
		AERCap:	First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
			MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
		HeaderLog: 00000000 00000000 00000000 00000000
	Capabilities: [140 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
	Kernel driver in use: sm750fb
	Kernel modules: sm750fb, smifb

I have root privilege on this computer. What can I do? Turn on debug? How?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions