Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello everyone! I've had this account for a while now but haven't really had a need to use it until now. Recently I acquired an old laptop that I figured would make the perfect retro gaming machine for both win98 and dos games. As I'm customed to do on old computers I always do a combination of having both a linux partition and a windows partition of some sort. Initially I was going to go alpine but after looking over the packages I realized they didn't have xf86-video-trident available so I tried Adelie and it installed perfectly fine after configuring the install with nomodeset in grub. However, the driver has been an absolute nightmare to work with. Because of that I figured the best idea would be to install an old bloated distribution such as suse 10 and copy the xorg configuration. I added some tweaks and ended up with this;
This however didn't work and even when doing An xrandr --query I get [CODE]can't open display[CODE]. In addition doing a v4l2 --list devices I get
Code:
Cannot open device /dev/video0, exiting.
Heres the Xorg.0.log
Code:
[ 4669.856]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[ 4669.859] Build Operating System: Linux 5.4.5-mc0-easy i686 Adélie Linux
[ 4669.862] Current Operating System: Linux Adelie-Armada 5.4.66-mc1-easy #1 SMP Wed Sep 23 05:09:53 UTC 2020 i686
[ 4669.862] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.66-mc1-easy root=UUID=91a067dc-d608-4b23-b1f7-8664b4022a4d ro ro
[ 4669.866] Build Date: 24 September 2020 04:33:38PM
[ 4669.867]
[ 4669.868] Current version of pixman: 0.38.4
[ 4669.871] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4669.871] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4669.876] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 2 20:54:45 2022
[ 4669.878] (==) Using config file: "/etc/X11/xorg.conf"
[ 4669.880] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 4669.883] (==) ServerLayout "Layout[all]"
[ 4669.883] (**) |-->Screen "Screen[0]" (0)
[ 4669.883] (**) | |-->Monitor "Monitor[0]"
[ 4669.884] (==) No device specified for screen "Screen[0]".
Using the first device section listed.
[ 4669.884] (**) | |-->Device "trident"
[ 4669.885] (**) |-->Input Device "Keyboard[0]"
[ 4669.885] (**) |-->Input Device "Mouse[1]"
[ 4669.885] (**) |-->Input Device "Mouse[3]"
[ 4669.885] (**) Option "AllowMouseOpenFail"
[ 4669.885] (**) Option "Xinerama" "off"
[ 4669.885] (==) Automatically adding devices
[ 4669.885] (==) Automatically enabling devices
[ 4669.885] (==) Automatically adding GPU devices
[ 4669.885] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 4669.885] (WW) The directory "/usr/X11R6/lib/X11/fonts/misc" does not exist.
[ 4669.885] Entry deleted from font path.
[ 4669.885] (WW) The directory "/usr/X11R6/lib/X11/fonts/local" does not exist.
[ 4669.885] Entry deleted from font path.
[ 4669.885] (WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi" does not exist.
[ 4669.885] Entry deleted from font path.
[ 4669.885] (WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi" does not exist.
[ 4669.885] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/Type1" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/URW" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/Speedo" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/PEX" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/misc" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/75dpi" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/100dpi" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/Type1" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/latin7/75dpi" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/baekmuk" does not exist.
[ 4669.886] Entry deleted from font path.
[ 4669.886] (WW) The directory "/usr/X11R6/lib/X11/fonts/japanese" does not exist.
[ 4669.887] Entry deleted from font path.
[ 4669.887] (WW) The directory "/usr/X11R6/lib/X11/fonts/kwintv" does not exist.
[ 4669.887] Entry deleted from font path.
[ 4669.887] (WW) The directory "/usr/X11R6/lib/X11/fonts/truetype" does not exist.
[ 4669.887] Entry deleted from font path.
[ 4669.887] (WW) The directory "/usr/X11R6/lib/X11/fonts/uni" does not exist.
[ 4669.887] Entry deleted from font path.
[ 4669.887] (WW) The directory "/usr/X11R6/lib/X11/fonts/CID" does not exist.
[ 4669.887] Entry deleted from font path.
[ 4669.887] (WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/misc" does not exist.
[ 4669.887] Entry deleted from font path.
[ 4669.887] (WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/75dpi" does not exist.
[ 4669.887] Entry deleted from font path.
[ 4669.887] (WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/100dpi" does not exist.
[ 4669.887] Entry deleted from font path.
[ 4669.887] (WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/misc" does not exist.
[ 4669.887] Entry deleted from font path.
[ 4669.887] (WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/75dpi" does not exist.
[ 4669.887] Entry deleted from font path.
[ 4669.888] (WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/100dpi" does not exist.
[ 4669.888] Entry deleted from font path.
[ 4669.888] (WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/Type1" does not exist.
[ 4669.888] Entry deleted from font path.
[ 4669.888] (WW) The directory "/usr/X11R6/lib/X11/fonts/misc/sgi" does not exist.
[ 4669.888] Entry deleted from font path.
[ 4669.888] (WW) The directory "/usr/X11R6/lib/X11/fonts/xtest" does not exist.
[ 4669.888] Entry deleted from font path.
[ 4669.888] (WW) The directory "/opt/kde3/share/fonts" does not exist.
[ 4669.888] Entry deleted from font path.
[ 4669.888] (**) FontPath set to:
${prefix}/share/fonts/X11/misc/,
${prefix}/share/fonts/X11/TTF/,
${prefix}/share/fonts/X11/OTF/,
${prefix}/share/fonts/X11/Type1/,
${prefix}/share/fonts/X11/100dpi/,
${prefix}/share/fonts/X11/75dpi/
[ 4669.888] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 4669.888] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 4669.888] (WW) Disabling Keyboard[0]
[ 4669.888] (WW) Disabling Mouse[3]
[ 4669.888] (II) Loader magic: 0x746640
[ 4669.888] (II) Module ABI versions:
[ 4669.888] X.Org ANSI C Emulation: 0.4
[ 4669.889] X.Org Video Driver: 24.1
[ 4669.889] X.Org XInput driver : 24.1
[ 4669.889] X.Org Server Extension : 10.0
[ 4669.899] (--) PCI:*(1@0:0:0) 1023:8520:0e11:b16e rev 106, Mem @ 0xf5000000/8388608, 0xf4100000/131072, 0xf4800000/8388608, BIOS @ 0x????????/131072
[ 4669.900] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 4669.900] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 4669.900] (II) LoadModule: "glx"
[ 4669.901] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 4669.914] (II) Module glx: vendor="X.Org Foundation"
[ 4669.914] compiled for 1.20.9, module version = 1.0.0
[ 4669.914] ABI class: X.Org Server Extension, version 10.0
[ 4669.914] (II) LoadModule: "extmod"
[ 4669.914] (II) Module "extmod" already built-in
[ 4669.914] (II) LoadModule: "dbe"
[ 4669.914] (II) Module "dbe" already built-in
[ 4669.914] (II) LoadModule: "v4l"
[ 4669.915] (II) Loading /usr/lib/xorg/modules/drivers/v4l_drv.so
[ 4669.915] (II) Module v4l: vendor="X.Org Foundation"
[ 4669.916] compiled for 1.20.6, module version = 0.1.1
[ 4669.916] ABI class: X.Org Video Driver, version 24.0
[ 4669.916] (II) LoadModule: "trident"
[ 4669.916] (II) Loading /usr/lib/xorg/modules/drivers/trident_drv.so
[ 4669.917] (EE) Failed to load /usr/lib/xorg/modules/drivers/trident_drv.so: Error relocating /usr/lib/xorg/modules/drivers/trident_drv.so: exaGetPixmapOffset: symbol not found
[ 4669.917] (EE) Failed to load module "trident" (loader failed, 0)
[ 4669.917] (II) LoadModule: "synaptics"
[ 4669.918] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 4669.920] (II) Module synaptics: vendor="X.Org Foundation"
[ 4669.920] compiled for 1.20.6, module version = 1.9.1
[ 4669.920] Module class: X.Org XInput Driver
[ 4669.920] ABI class: X.Org XInput driver, version 24.1
[ 4669.920] (II) v4l driver for Video4Linux overlay mode (V4L2)
[ 4669.920] (++) using VT number 2
[ 4669.921] (WW) Falling back to old probe method for v4l
[ 4669.921] (WW) Falling back to old probe method for v4l
[ 4669.921] (EE) No devices detected.
[ 4669.921] (EE)
Fatal server error:
[ 4669.921] (EE) no screens found(EE)
[ 4669.921] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 4669.921] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 4669.922] (EE)
[ 4669.924] (EE) Server terminated with error (1). Closing log file.
And in addition heres the lspci output:
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10)
00:07.2 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 10)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 20)
00:09.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 09)
00:09.1 Serial controller: LSI Corporation LT WinModem
00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
01:00.0 VGA compatible controller: Trident Microsystems CyberBlade i1 (rev 6a)
02:00.0 Ethernet controller: Qualcomm Atheros AR2413/AR2414 Wireless Network Adapter [AR5005G(S) 802.11bg] (rev 01)
Again any help would be amazing. All I'm trying to set up is a minimal fvwm/twm setup for file management and suckless surf webbrowsing. Best regards,
hancocktom41
man xorg.conf
# SNIP
Example: the following option entries are equivalent:
Option "Accel" "Off"
Option "NoAccel"
Option "NoAccel" "On"
Option "Accel" "false"
Option "Accel" "no"
2) try paging thru this command looking for "exaGetPixmapOffset"
altho it might be smarter to try grep first....I have
strings /lib/modules/5.16.0-17.1-liquorix-amd64/kernel/drivers/video/fbdev/tridentfb.ko | grep exa* with no joy so go more basic?
Code:
strings /usr/lib/xorg/modules/drivers/trident_drv.so | less
3) I would be tempted to remove v4l module from your config file too
The actual native resolution of the display is 1680x1050, and it does support 1440x900 with current hardware and OS versions.
This is the auto-generated xorg.conf it created (minus most extraneous newlines):
Code:
# /etc/X11/xorg.conf
# Created by KNOPPIX # Delete this line if you don't want KNOPPIX to overwrite your /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
# Since evdev, manual keyboard/mice entries are mostly ignored:
# Keyboard auto-probed
# Touchpad auto-probed
# USB mouse auto-probed
# Serial Mouse auto-probed
### AIGLX for compiz 3D-Support with DRI & Composite
### This option doesn't hurt even if it's not supported by the individual card
Option "AIGLX" "true"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
Option "NoPM" "true"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc:unscaled"
FontPath "/usr/share/fonts/X11/75dpi:unscaled"
FontPath "/usr/share/fonts/X11/100dpi:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/Speedo"
FontPath "/usr/share/fonts/X11/PEX"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/share/fonts/X11/cyrillic"
# FontPath "/usr/share/fonts/X11/latin2/75dpi"
# FontPath "/usr/share/fonts/X11/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/latex-ttf-fonts"
EndSection
Section "Module"
# Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408
Load "dbe" # Double Buffering Extension, very important.
Load "dri" # This shouldn't be available choice if user has selected driver vga, vesa or nv.
Load "glx" # GLX Extension.
Load "freetype" # Freetype fonts.
Load "type1" # Type 1 fonts
Load "record" # Developer extension, usually not needed
Load "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it accesses videoram without consulting X about it.
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
# Load "speedo" # Speedo fonts, this module doesn't exist in Xorg 7.0.17
# The following are deprecated/unstable/unneeded in Xorg 7.0
# Load "ddc" # ddc probing of monitor, this should be never present, as it gets automatically loaded.
# Load "GLcore" # This should be never present, as it gets automatically loaded.
# Load "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
EndSection
Section "Extensions"
# compiz needs Composite, but it can cause bad (end even softreset-resistant)
# effects in some graphics cards, especially nv.
Option "Composite" "Enable"
EndSection
# Monitor section auto-generated by KNOPPIX mkxorgconfig
Section "Monitor"
Identifier "Monitor0"
ModelName "Generic Monitor"
# HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
# HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
# VertRefresh 50.0 - 76.0 # Very conservative. May flicker.
# VertRefresh 50.0 - 60.0 # Extreme conservative. Will flicker. TFT default.
Option "MonitorLayout" "LVDS,AUTO"
EndSection
Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
#Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
Identifier "Card0"
# Driver (chipset) autodetect
VendorName "All"
BoardName "All"
# BusID "PCI:1:0:0"
# compiz, beryl 3D-Support with DRI & Composite
Option "XAANoOffscreenPixmaps"
Option "AllowGLXWithComposite" "true"
Option "EnablePageFlip" "true"
Option "TripleBuffer" "true"
# Tweaks for the xorg 7.4 (otherwise broken) "intel" driver
# Option "Tiling" "no"
Option "Legacy3D" "false"
# These two lines are (presumably) needed to prevent fonts from being scrambled
Option "XaaNoScanlineImageWriteRect" "true"
Option "XaaNoScanlineCPUToScreenColorExpandFill" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Option "AddARGBGLXVisuals" "true"
Option "DisableGLXRootClipping" "true"
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
SubSection "Display"
Depth 32
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
This is with a running LXQT X session running 2 X terminals, one with MC, and MC running on vtty2 also. The motherboard is fully populated with 256M RAM. It doesn't look like any installed Linux OS is going to be capable of doing very much with so little RAM. I was thinking of installing something on it. The WinXP HD it had croaked.
In the process of troubleshooting I tried out devuan as a last ditch effort and it seemed to pick up the driver flawlessly. No idea why, however in a later date I may try these troubleshooting methods on adelie just so that I could file some bugs with the devs with the solution. Since Adelie is focused on low end hardware it'd be good for them to know some improvements they may need to make. In the next few days I'll grab the xorg files from that installation and upload them as well as adelie is far more lightweight than the bloat that is a debian derivative.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.