LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-23-2023, 10:17 AM   #1
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
720p unsupported with nouveau


Hi guys. A while back I switched from the proprietary nvidia driver to nouveau due to a mode switching nuisance when switching between HDMI inputs. It's been fine since then except my desktop is stuck at 1920x1080. For the most part it's not a problem after adjusting font sizes.
Recently I have tried a couple of games, and when attempting to run in 1280x720 or 1366x768 fullscreen it goes blank and my monitor shows its unsupported video mode message. 4:3 modes such as 1024x768 will work in fullscreen, though. The 720p modes are listed in xrandr and they worked with the nvidia driver, and they work now in Windows when I dual boot.
The reason I'd like to change the mode is because, although this is a 1080p monitor, it is only a 19in. Some games that run in 1080 fullscreen or windowed at 1024x768 are hard to see some text and details.

Here is most of my xrandr output:
Code:
HDMI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   1920x1080     60.00*+  59.94    59.93    24.00    23.98  
   1920x1080i    60.00    59.94  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      59.97  
   1368x768      59.88    59.85  
   1360x768      59.95    60.02  
   1280x800      59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    60.00    59.94    59.74  
   1024x768      60.04    60.00  
   960x720       60.00
 
Old 11-23-2023, 07:42 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Change your dpi. 96 is default, 200 is huge. Read your distro docs about it.

Examples:
Code:
xrandr --dpi 144

startx /usr/bin/enlightenment -dpi 144
~/.Xdefaults
Code:
Xft.dpi: 144
 
Old 11-23-2023, 10:25 PM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,876
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Are you using the nouveau display driver too, or only the nouveau kernel and dri drivers? Using the modesetting display driver, 1280x720 on a 1920x1080 TV is not a problem here:
Code:
# inxi -GSaz --vs --zl --hostname
inxi 3.3.31-00 (2023-11-02)
System:
  Host: p5bse Kernel: 6.5.11-300.fc39.x86_64 arch: x86_64 bits: 64
    compiler: gcc v: 2.40-13.fc39 clocksource: tsc available: hpet,acpi_pm
    parameters: ro root=LABEL=<filter> ipv6.disable=1 net.ifnames=0 selinux=0
    plymouth.enable=0 consoleblank=0 mitigations=off vga=791
    video=DP-2:1440x900@60
  Desktop: Trinity v: R14.1.1 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
    vt: 7 dm: 1: TDM 2: XDM Distro: Fedora release 39 (Thirty Nine)
Graphics:
  Device-1: NVIDIA GF119 [NVS 310] vendor: Hewlett-Packard driver: nouveau
    v: kernel non-free: series: 390.xx+ status: legacy (EOL~2022-11-22) last:
    release: 390.157 kernel: 6.0 xorg: 1.21 arch: Fermi code: GF1xx
    process: 40/28nm built: 2010-2016 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    ports: active: DP-1,DP-2 empty: none bus-ID: 01:00.0 chip-ID: 10de:107d
    class-ID: 0300 temp: 48.0 C
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 23.2.2 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1680x1770 s-dpi: 121 s-size: 353x372mm (13.90x14.65")
    s-diag: 513mm (20.19")
  Monitor-1: DP-1 pos: primary,bottom model: Samsung built: 2009
    res: 1280x720 dpi: 203 gamma: 1.2 size: 160x90mm (6.3x3.54")
    diag: 184mm (7.2") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: DP-2 pos: top model: Dell P2213 serial: <filter> built: 2012
    res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2 size: 473x296mm (18.62x11.65")
    diag: 558mm (22") ratio: 16:10 modes: max: 1680x1050 min: 720x400
  API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 0 drv: nouveau
    device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau x11:
    drv: nouveau inactive: wayland
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 23.2.1 glx-v: 1.4
    direct-render: yes renderer: NVD9 device-ID: 10de:107d memory: 488.3 MiB
    unified: no
# xdriinfo
Screen 0: nouveau
# xrandr --output DP-1 --auto
# xrandr | grep -E 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 1920 x 2130, maximum 16384 x 16384
DP-2 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
DP-1 connected primary 1920x1080+0+1050 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080     60.00*+  59.96    59.94    59.93    30.00    24.00    29.97    23.98
   1680x1050     59.95*+
# xrandr | grep -A22 DP-1 | egrep '1920|1080|1280|720|DP'
DP-1 connected primary 1920x1080+0+1050 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080     60.00*+  59.96    59.94    59.93    30.00    24.00    29.97    23.98
   1920x1200     59.88    59.95
   1280x1024     75.02    60.02
   1280x960      60.00
   1280x800      59.99    59.97    59.81    59.91
   1280x720      60.00    59.99    59.86    60.00    59.94    59.74
   960x720       75.00    60.00
# xrandr --output DP-1 --mode 1280x720
# xrandr | grep -A22 DP-1 | egrep '1920|1080|1280|720|DP'
DP-1 connected primary 1280x720+0+1050 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080     60.00 +  59.96    59.94    59.93    30.00    24.00    29.97    23.98
   1920x1200     59.88    59.95
   1280x1024     75.02    60.02
   1280x960      60.00
   1280x800      59.99    59.97    59.81    59.91
   1280x720      60.00    59.99    59.86*   60.00    59.94    59.74
   960x720       75.00    60.00
# xrandr | grep -E 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 1680 x 1770, maximum 16384 x 16384
DP-2 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
DP-1 connected primary 1280x720+0+1050 (normal left inverted right x axis y axis) 160mm x 90mm
   1680x1050     59.95*+
   1280x720      60.00    59.99    59.86*   60.00    59.94    59.74
#

Last edited by mrmazda; 11-23-2023 at 10:27 PM.
 
1 members found this post helpful.
Old 11-24-2023, 01:39 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Original Poster
Rep: Reputation: 63
Thanks, guys.

Teckk, That worked for desktop and window manager fonts, and I have an Xft.dpi line in my .Xdefaults. My problem is games or other things that would run in a window. On a 19" tv set to 1920x1080 a 640x480 window is very small. For example, when playing Diablo1 with devilutionx running fullscreen in 1080p items and monsters are too small to see. 720p fullscreen is comfortable, but in a window it is still very small, and if I try to make it fullscreen the described problem occurs.

mrmazda, I believe I am using the modesetting driver. This is my Graphics section of my inxi output:
Code:
Graphics:
  Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] driver: nouveau v: kernel
    alternate: nvidiafb bus-ID: 01:00.0 chip-ID: 10de:1380 class-ID: 0300
  Display: server: X.Org 1.20.14 driver: loaded: modesetting unloaded: vesa
    alternate: fbdev display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 128 s-size: 381x214mm (15.0x8.4")
    s-diag: 437mm (17.2")
  Monitor-1: HDMI-1 res: 1920x1080 hz: 60 dpi: 30
    size: 1600x900mm (63.0x35.4") diag: 1836mm (72.3")
  OpenGL: renderer: NV117 v: 4.3 Mesa 21.3.5 direct render: Yes
To test if it's a fault of the games/programs I tried using the xrandr command from a terminal with no other programs opened. The same thing happened. I see a glimpse of my desktop with the bottom half covered in horizontal stripes for just a second then it goes blank.

Last edited by dracolich; 11-25-2023 at 08:09 AM.
 
Old 11-24-2023, 04:58 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,876
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by dracolich View Post
I believe I am using the modesetting driver. This is my Graphics section of my inxi output:
Code:
Graphics:
  Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] driver: nouveau v: kernel
    alternate: nvidiafb bus-ID: 01:00.0 chip-ID: 10de:1380 class-ID: 0300
  Display: server: X.Org 1.20.14 driver: loaded: modesetting unloaded: vesa
    alternate: fbdev ...
You are using the modesetting. That inxi doesn't follow showing in either unloaded or alternate with nouveau suggests that the nouveau display driver is not installed. You may try installing it to see if it helps after an Xorg restart or a reboot. Upstream's package name is xf86-video-nouveau, but some distros package it under other names, such as xserver-xorg-video-nouveau in Debian and derivatives.

It's possible that modesetting is explicitly configured as "Driver" in /etc/X11/xorg.conf or in one of the files in /etc/X11/xorg.conf.d/, where it would need to be switched, or that file containing it removed. It's also possible such a file could be there forcing 1920x1080, so check that out with any plain text file viewer. Any such files there related to graphics are normally not needed, but proprietary NVidia driver installation typically creates one or some that shouldn't remain if their driver is uninstalled, yet they often do.
 
Old 11-25-2023, 08:03 AM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Original Poster
Rep: Reputation: 63
I have the xf86-video-nouveau package installed, I'm not using a xorg.conf, and /etc/X11/xorg.conf.d is empty. I browsed my Xorg.o.log for clues but nothing stands out to me. Here is the portions about modules and display and modesetting, with a bunch of the low res modelines cut to improve readability.

Would I need to create a xorg.conf file to force or override something?

Code:
X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
[  3866.922] Build Operating System: Slackware 15.0 Slackware Linux Project
...
[  3866.926] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov 25 08:40:01 2023
[  3866.926] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3866.927] (==) No Layout section.  Using the first Screen section.
[  3866.927] (==) No screen section available. Using defaults.
[  3866.927] (**) |-->Screen "Default Screen Section" (0)
[  3866.927] (**) |   |-->Monitor "<default monitor>"
[  3866.927] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.

[  3866.927] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  3866.927] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  3866.927] (II) Loader magic: 0x619c80
[  3866.927] (II) Module ABI versions:
[  3866.927] 	X.Org ANSI C Emulation: 0.4
[  3866.927] 	X.Org Video Driver: 24.1
[  3866.927] 	X.Org XInput driver : 24.1
[  3866.927] 	X.Org Server Extension : 10.0
[  3866.927] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3866.930] (--) PCI:*(1@0:0:0) 10de:1380:10de:105f rev 162, Mem @ 0xfd000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[  3866.930] (II) Open ACPI successful (/var/run/acpid.socket)
[  3866.930] (II) LoadModule: "glx"
[  3866.930] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  3866.931] (II) Module glx: vendor="X.Org Foundation"
[  3866.931] 	compiled for 1.20.14, module version = 1.0.0
[  3866.931] 	ABI class: X.Org Server Extension, version 10.0
[  3867.059] (==) Matched modesetting as autoconfigured driver 0
[  3867.059] (==) Matched fbdev as autoconfigured driver 1
[  3867.059] (==) Matched vesa as autoconfigured driver 2
[  3867.059] (==) Assigned the driver to the xf86ConfigLayout
[  3867.059] (II) LoadModule: "modesetting"
[  3867.060] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  3867.061] (II) Module modesetting: vendor="X.Org Foundation"
[  3867.061] 	compiled for 1.20.14, module version = 1.20.14
[  3867.061] 	Module class: X.Org Video Driver
[  3867.061] 	ABI class: X.Org Video Driver, version 24.1
[  3867.061] (II) LoadModule: "fbdev"
[  3867.062] (WW) Warning, couldn't open module fbdev
[  3867.062] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  3867.062] (II) LoadModule: "vesa"
[  3867.063] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[  3867.063] (II) Module vesa: vendor="X.Org Foundation"
[  3867.063] 	compiled for 1.20.10, module version = 2.5.0
[  3867.063] 	Module class: X.Org Video Driver
[  3867.063] 	ABI class: X.Org Video Driver, version 24.1
[  3867.063] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  3867.063] (II) VESA: driver for VESA chipsets: vesa
[  3867.063] (++) using VT number 1
[  3867.063] (II) modeset(0): using drv /dev/dri/card0
[  3867.064] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  3867.064] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  3867.064] (==) modeset(0): RGB weight 888
[  3867.064] (==) modeset(0): Default visual is TrueColor
[  3867.064] (II) Loading sub module "glamoregl"
[  3867.064] (II) LoadModule: "glamoregl"
[  3867.064] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[  3867.069] (II) Module glamoregl: vendor="X.Org Foundation"
[  3867.069] 	compiled for 1.20.14, module version = 1.0.1
[  3867.069] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  3867.161] (II) modeset(0): glamor X acceleration enabled on NV117
[  3867.161] (II) modeset(0): glamor initialized
[  3867.173] (II) modeset(0): Output DVI-I-1 has no monitor section
[  3867.174] (II) modeset(0): Output DVI-D-1 has no monitor section
[  3867.244] (II) modeset(0): Output HDMI-1 has no monitor section
[  3867.257] (II) modeset(0): EDID for output DVI-I-1
[  3867.258] (II) modeset(0): EDID for output DVI-D-1
[  3867.327] (II) modeset(0): EDID for output HDMI-1
[  3867.327] (II) modeset(0): Manufacturer: TSB  Model: 206  Serial#: 16843009
[  3867.327] (II) modeset(0): Year: 2012  Week: 1
[  3867.327] (II) modeset(0): EDID Version: 1.3
[  3867.327] (II) modeset(0): Digital Display Input
[  3867.327] (II) modeset(0): Max Image Size [cm]: horiz.: 160  vert.: 90
[  3867.327] (II) modeset(0): Gamma: 2.20
[  3867.327] (II) modeset(0): No DPMS capabilities specified
[  3867.327] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[  3867.327] (II) modeset(0): First detailed timing is preferred mode
[  3867.327] (II) modeset(0): redX: 0.640 redY: 0.335   greenX: 0.285 greenY: 0.605
[  3867.327] (II) modeset(0): blueX: 0.150 blueY: 0.060   whiteX: 0.280 whiteY: 0.290
[  3867.327] (II) modeset(0): Supported established timings:
[  3867.327] (II) modeset(0): 640x480@60Hz
[  3867.327] (II) modeset(0): 800x600@60Hz
[  3867.327] (II) modeset(0): 1024x768@60Hz
[  3867.327] (II) modeset(0): Manufacturer's mask: 0
[  3867.328] (II) modeset(0): Supported standard timings:
[  3867.328] (II) modeset(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[  3867.328] (II) modeset(0): #1: hsize: 1360  vsize 765  refresh: 60  vid: 49291
[  3867.328] (II) modeset(0): Supported detailed timing:
[  3867.328] (II) modeset(0): clock: 148.5 MHz   Image Size:  1600 x 900 mm
[  3867.328] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[  3867.328] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[  3867.328] (II) modeset(0): Supported detailed timing:
[  3867.328] (II) modeset(0): clock: 85.5 MHz   Image Size:  1600 x 900 mm
[  3867.328] (II) modeset(0): h_active: 1360  h_sync: 1424  h_sync_end 1536 h_blank_end 1792 h_border: 0
[  3867.328] (II) modeset(0): v_active: 768  v_sync: 771  v_sync_end 777 v_blanking: 795 v_border: 0
[  3867.328] (II) modeset(0): Monitor name: TOSHIBA-TV
[  3867.328] (II) modeset(0): Ranges: V min: 23 V max: 61 Hz, H min: 15 H max: 68 kHz, PixClock max 155 MHz
[  3867.328] (II) modeset(0): Supported detailed timing:
[  3867.328] (II) modeset(0): clock: 74.2 MHz   Image Size:  1600 x 900 mm
[  3867.328] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[  3867.328] (II) modeset(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[  3867.328] (II) modeset(0): Supported detailed timing:
[  3867.328] (II) modeset(0): clock: 74.2 MHz   Image Size:  1600 x 900 mm
[  3867.328] (II) modeset(0): h_active: 1280  h_sync: 1390  h_sync_end 1430 h_blank_end 1650 h_border: 0
[  3867.328] (II) modeset(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[  3867.328] (II) modeset(0): Supported detailed timing:
[  3867.328] (II) modeset(0): clock: 27.0 MHz   Image Size:  1200 x 900 mm
[  3867.328] (II) modeset(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
[  3867.328] (II) modeset(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
[  3867.328] (II) modeset(0): Supported detailed timing:
[  3867.328] (II) modeset(0): clock: 27.0 MHz   Image Size:  1200 x 900 mm
[  3867.328] (II) modeset(0): h_active: 1440  h_sync: 1478  h_sync_end 1602 h_blank_end 1716 h_border: 0
[  3867.328] (II) modeset(0): v_active: 240  v_sync: 244  v_sync_end 247 v_blanking: 262 v_border: 0
[  3867.328] (II) modeset(0): Number of EDID sections to follow: 1
[  3867.328] (II) modeset(0): EDID (in hex):
[  3867.328] (II) modeset(0): 	00ffffffffffff005262060201010101
[  3867.328] (II) modeset(0): 	0116010380a05a780af09da355499b26
[  3867.328] (II) modeset(0): 	0f474a21080081808bc0010101010101
[  3867.328] (II) modeset(0): 	010101010101023a801871382d40582c
[  3867.328] (II) modeset(0): 	450040846300001e662150b051001b30
[  3867.328] (II) modeset(0): 	4070360040846300001e000000fc0054
[  3867.328] (II) modeset(0): 	4f53484942412d54560a2020000000fd
[  3867.328] (II) modeset(0): 	00173d0f440f000a2020202020200194
[  3867.328] (II) modeset(0): 	02032671499001020304050607202609
[  3867.328] (II) modeset(0): 	0707110718830100006c030c00130000
[  3867.329] (II) modeset(0): 	21c015151f1f011d8018711c1620582c
[  3867.329] (II) modeset(0): 	250040846300009e011d007251d01e20
[  3867.329] (II) modeset(0): 	6e28550040846300001e8c0ad08a20e0
[  3867.329] (II) modeset(0): 	2d10103e9600b084430000188c0aa014
[  3867.329] (II) modeset(0): 	51f01600267c4300b084430000980000
[  3867.329] (II) modeset(0): 	0000000000000000000000000000004c
[  3867.329] (--) modeset(0): HDMI max TMDS frequency 165000KHz
[  3867.329] (II) modeset(0): Not using default mode "1920x1080" (bad mode clock/interlace/doublescan)
[  3867.329] (II) modeset(0): Not using default mode "1440x810" (bad mode clock/interlace/doublescan)
[  3867.329] (II) modeset(0): Not using default mode "1600x900" (bad mode clock/interlace/doublescan)
[  3867.329] (II) modeset(0): Not using default mode "1600x900" (bad mode clock/interlace/doublescan)
[  3867.329] (II) modeset(0): Not using default mode "1920x1080" (bad mode clock/interlace/doublescan)
[  3867.329] (II) modeset(0): Not using default mode "1280x800" (bad mode clock/interlace/doublescan)
[  3867.329] (II) modeset(0): Printing probed modes for output HDMI-1
[  3867.329] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[  3867.330] (II) modeset(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[  3867.330] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[  3867.330] (II) modeset(0): Modeline "1920x1080i"x60.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[  3867.330] (II) modeset(0): Modeline "1920x1080"x24.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[  3867.330] (II) modeset(0): Modeline "1920x1080i"x59.9   74.18  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
[  3867.330] (II) modeset(0): Modeline "1920x1080"x24.0   74.18  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
...
[  3867.330] (II) modeset(0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[  3867.330] (II) modeset(0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[  3867.330] (II) modeset(0): Modeline "1360x768"x59.9   84.96  1366 1431 1567 1776  768 771 781 798 -hsync +vsync (47.8 kHz)
[  3867.330] (II) modeset(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[  3867.330] (II) modeset(0): Modeline "1280x800"x60.0  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[  3867.330] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[  3867.330] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[  3867.330] (II) modeset(0): Modeline "1280x720"x60.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[  3867.330] (II) modeset(0): Modeline "1280x720"x60.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[  3867.330] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[  3867.330] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[  3867.330] (II) modeset(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[  3867.330] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[  3867.330] (II) modeset(0): Modeline "1024x768"x60.0  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[  3867.330] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
...
[  3867.332] (II) modeset(0): Output DVI-I-1 disconnected
[  3867.332] (II) modeset(0): Output DVI-D-1 disconnected
[  3867.332] (II) modeset(0): Output HDMI-1 connected
[  3867.332] (II) modeset(0): Using exact sizes for initial modes
[  3867.332] (II) modeset(0): Output HDMI-1 using initial mode 1920x1080 +0+0
[  3867.332] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[  3867.332] (++) modeset(0): DPI set to (92, 92)
[  3867.332] (II) Loading sub module "fb"
[  3867.332] (II) LoadModule: "fb"
[  3867.333] (II) Loading /usr/lib64/xorg/modules/libfb.so
[  3867.333] (II) Module fb: vendor="X.Org Foundation"
[  3867.333] 	compiled for 1.20.14, module version = 1.0.0
[  3867.333] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  3867.333] (II) UnloadModule: "vesa"
[  3867.333] (II) Unloading vesa
[  3867.377] (==) modeset(0): Backing store enabled
[  3867.377] (==) modeset(0): Silken mouse enabled
[  3867.389] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[  3867.390] (==) modeset(0): DPMS enabled
[  3867.390] (II) modeset(0): [DRI2] Setup complete
[  3867.390] (II) modeset(0): [DRI2]   DRI driver: nouveau
[  3867.390] (II) modeset(0): [DRI2]   VDPAU driver: nouveau
[  3867.390] (II) Initializing extension Generic Event Extension
[  3867.390] (II) Initializing extension SHAPE
[  3867.390] (II) Initializing extension MIT-SHM
[  3867.390] (II) Initializing extension XInputExtension
[  3867.390] (II) Initializing extension XTEST
[  3867.390] (II) Initializing extension BIG-REQUESTS
[  3867.390] (II) Initializing extension SYNC
[  3867.390] (II) Initializing extension XKEYBOARD
[  3867.390] (II) Initializing extension XC-MISC
[  3867.390] (II) Initializing extension XFIXES
[  3867.390] (II) Initializing extension RENDER
[  3867.390] (II) Initializing extension RANDR
[  3867.390] (II) Initializing extension COMPOSITE
[  3867.390] (II) Initializing extension DAMAGE
[  3867.391] (II) Initializing extension MIT-SCREEN-SAVER
[  3867.391] (II) Initializing extension DOUBLE-BUFFER
[  3867.391] (II) Initializing extension RECORD
[  3867.391] (II) Initializing extension DPMS
[  3867.391] (II) Initializing extension Present
[  3867.391] (II) Initializing extension DRI3
[  3867.391] (II) Initializing extension X-Resource
[  3867.391] (II) Initializing extension XVideo
[  3867.391] (II) Initializing extension XVideo-MotionCompensation
[  3867.391] (II) Initializing extension GLX
[  3867.397] (II) AIGLX: Loaded and initialized nouveau
[  3867.397] (II) GLX: Initialized DRI2 GL provider for screen 0
[  3867.397] (II) Initializing extension XFree86-VidModeExtension
[  3867.397] (II) Initializing extension XFree86-DGA
[  3867.397] (II) Initializing extension XFree86-DRI
[  3867.397] (II) Initializing extension DRI2
[  3867.398] (II) modeset(0): Damage tracking initialized
[  3867.398] (II) modeset(0): Setting screen physical size to 530 x 298
Edit: Just decided to try the 768 resolutions with xrandr from a terminal. 1360 works but 1368 does not.

Last edited by dracolich; 11-25-2023 at 08:07 AM.
 
Old 11-25-2023, 11:14 AM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,876
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
With 1360x768 working from a terminal I would take it and be happy rather than pursuing further. It may be your TV has a bug preventing 1280x720. TVs often use 136Nx768 to show 720p programs from ABC and Fox. CBS, NBC and PBS normally use 1080i. Nevertheless, nouveau display driver ought to be given a chance. Create file /etc/X11/xorg.conf.d/50-device.conf containing:
Code:
Section "Device"
    Identifier "DefaultDevice"
	Driver	"nouveau"
EndSection
and give it a try. If that's not enough, also create /etc/X11/50-monitor.conf containing:
Code:
Section "Monitor"
    Identifier "DefaultMonitor"
	Identifier	"DefaultMonitor"
	HorizSync	29-94
	VertRefresh	56-75
	Option	"PreferredMode"	"1280x720"
EndSection
You'll have to discover your own displays HorizSync and VertRefresh either via its manual's specifications, or output from hwinfo --monitor.
 
1 members found this post helpful.
Old 11-26-2023, 08:02 AM   #8
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Original Poster
Rep: Reputation: 63
mrmazda, as always, you are a fount of wisdom. I agree that 1360x768 will satisfy, and the next time I boot into Windows I will double-check my resolution there. Per your advice I checked my tv/monitor's details with hwinfo (after installing it), and if I understand the output it means the only supported 720p res is the 1360.
Code:
xxxxxx@Chimera:/home/xxxxxx$ hwinfo --monitor
29: None 00.0: 10002 LCD Monitor                                
  [Created at monitor.125]
  Unique ID: rdCR.Yqr0dLjDXD9
  Parent ID: VCu0.VMf5H_NeGP6
  Hardware Class: monitor
  Model: "TOSHIBA-TV"
  Vendor: TSB "TOSHIBA"
  Device: eisa 0x0206 "TOSHIBA-TV"
  Serial ID: "16843009"
  Resolution: 640x480@60Hz
  Resolution: 800x600@60Hz
  Resolution: 1024x768@60Hz
  Resolution: 1280x1024@60Hz
  Resolution: 1360x765@60Hz
  Resolution: 1360x768@60Hz
  Resolution: 1920x1080@60Hz
  Size: 1600x900 mm
  Year of Manufacture: 2012
  Week of Manufacture: 1
  Detailed Timings #0:
     Resolution: 1920x1080
     Horizontal: 1920 2008 2052 2200 (+88 +132 +280) +hsync
       Vertical: 1080 1084 1089 1125 (+4 +9 +45) +vsync
    Frequencies: 148.50 MHz, 67.50 kHz, 60.00 Hz
  Year of Manufacture: 2012
  Week of Manufacture: 1
  Detailed Timings #1:
     Resolution: 1360x768
     Horizontal: 1360 1424 1536 1792 (+64 +176 +432) +hsync
       Vertical:  768  771  777  795 (+3 +9 +27) +vsync
    Frequencies: 85.50 MHz, 47.71 kHz, 60.02 Hz
  Driver Info #0:
    Max. Resolution: 1920x1080
    Vert. Sync Range: 23-61 Hz
    Hor. Sync Range: 15-68 kHz
    Bandwidth: 148 MHz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #11 (VGA compatible controller)
 
Old 11-26-2023, 09:58 AM   #9
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,876
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by dracolich View Post
if I understand the output it means the only supported 720p res is the 1360.
That hwinfo list only includes the preset modes. Obviously since Windows can do 1280x720, so should Linux be able to. Something in Slackware must be causing it to only select from among the presets even though xrandr makes it clear 1280x720 as well as several others not in that hwinfo list are supported. The suggested files in /etc/X11/ might still get you there.
 
1 members found this post helpful.
Old 11-26-2023, 02:01 PM   #10
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Original Poster
Rep: Reputation: 63
Got it!

With the suggested xorg files X still started in 1920x1080 but using xrandr to set 1280x720 actually worked. After some more Googling and trial-and-error it turns out I also needed a file for the Screen section to include the desired modes in order of preference.
 
  


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
[SOLVED] How do I convert 1080p/720p video to 480p using ffmpeg? Livestream Linux - Software 3 10-31-2014 06:15 AM
LXer: BeagleBone Black gains 720p camera cape LXer Syndicated Linux News 0 12-11-2013 12:42 PM
[SOLVED] 720p 1080p online videos are too slow greed109 Linux - Newbie 2 12-25-2011 05:36 PM
High definition (720p or 1080p) playback on Linux & driver AleLinuxBSD Linux - Software 0 04-12-2010 03:17 AM
Nvidia XFX 9800 GT Rev 2 Twinn View with 32 inch hdmi 720p and view sonic 19 inch red hat-ziggis Linux - Hardware 1 01-12-2010 02:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:18 PM.

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