[2xSOLVED] Unholy Combination

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

[2xSOLVED] Unholy Combination

Post by ~FLOW~ »

Hello everyone,
my problem with linux is almost 9 years old.
Right now I use Linux Mint 19.3 - Cinnamon. My laptop is connected to a Samsung 40’’ TV-screen. The laptop screen is disabled and I only use the TV screen.

In short the problem is that if select the resolution of 1280x720(16:9) I can see the image crisp and clear, BUT the mouse is moving a little sluggish. If I change the resolution to 1360x768(16:9), the mouse is working crisp but the image is slightly fuzzy. The outline of the letters is not clear. If I read for an hour like that, my eyes are full of tears. But all the animations work a little faster. It feels like I gained another 1GHz on my CPU. It's not that big of a difference but it's there
Screenshot from 2020-04-27 15-26-38.png
Screenshot from 2020-04-27 15-26-56.png
My biggest frustration is that with Windows(7/10) installed on my setup, everything is working fine, except...the OS :)
I always had this problem on all the distros that I tried along the way, including Manjaro. The problem with the sluggish mouse is only on TV. If I take a print screen with each resolution I cannot see the difference in the photos. No matter the resolution, on laptop's display the mouse is moving perfectly. I have tried with a different 4K HDMI cable...it's the same. I have tried with NVidia drivers, it's the same but worse, because then I get huge screen tearing and none of VSync Methods work.
Screenshot from 2020-04-27 15-43-08.png
I tried many things found on forums but I'm still a newbie and I ended up eventually breaking the sistem without knowing how to repair what I have changed. But as always, my guardian angel - Timeshift - was there to rescue. I even bought a Logitech G603 hopping that a bigger DPI will solve the problem

I had some small luck with changing the file 50-mouse-acceleration.conf in /usr/share/X11/xorg.conf.d/
with
"InputClass" Identifier "My Mouse" Driver "libinput" MatchIsPointer "yes" Option "AccelProfile" "flat" EndSection
With this the mouse it working a tiny bit better

I really don't know if there is maybe a holly combination between a setting from OS and one from the TV for it to work.
Maybe some of you who are good also with TV settings have a tip for me ?!
I would appreciate it so much !!!!!!

Code: Select all

$ inxi -Fxz
System:    Host: <filter> Kernel: 5.3.0-46-generic x86_64 bits: 64 compiler: gcc 
           v: 7.5.0 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia 
           base: Ubuntu 18.04 bionic 
Machine:   Type: Portable System: Dell product: Inspiron 3542 v: N/A serial: <filter> 
           Mobo: Dell model: 0926J6 v: A15 serial: <filter> BIOS: Dell v: A15 date: 05/23/2019 
Battery:   ID-1: BAT0 charge: 27.8 Wh condition: 27.8/41.4 Wh (67%) model: SANYO DELL 4WY7C45 
           status: Full 
           Device-1: hidpp_battery_0 model: Logitech Wireless Mouse charge: 55% 
           status: Discharging 
           Device-2: hidpp_battery_1 model: Logitech K520 charge: 70% status: Discharging 
CPU:       Topology: Dual Core model: Intel Core i5-4210U bits: 64 type: MT MCP arch: Haswell 
           rev: 1 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 13568 
           Speed: 800 MHz min/max: 800/2700 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 v: kernel 
           bus ID: 00:02.0 
           Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] 
           vendor: Dell driver: nouveau v: kernel bus ID: 08:00.0 
           Display: x11 server: X.Org 1.19.6 driver: modesetting,nouveau unloaded: fbdev,vesa 
           resolution: 1280x720~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.2.8 direct render: Yes 
Audio:     Device-1: Intel Haswell-ULT HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:03.0 
           Device-2: Intel 8 Series HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.3.0-46-generic 
Network:   Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter vendor: Dell 
           driver: ath9k v: kernel port: f040 bus ID: 06:00.0 
           IF: wlp6s0 state: down mac: <filter> 
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 
           v: kernel port: e000 bus ID: 07:00.0 
           IF: enp7s0 state: down mac: <filter> 
           Device-3: Atheros type: USB driver: btusb bus ID: 1-1.6:8 
           IF-ID-1: enx18d6c717ffb5 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.49 TiB used: 1.46 TiB (58.7%) 
           ID-1: /dev/sda type: USB vendor: Seagate
           ID-2: /dev/sdb vendor: Kingston  
           ID-3: /dev/sdc vendor: Western Digital 
Partition: ID-1: / size: 219.06 GiB used: 25.15 GiB (11.5%) fs: ext4 dev: /dev/sdb1 
Sensors:   System Temperatures: cpu: 44.0 C mobo: 45.0 C 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 221 Uptime: 8h 11m Memory: 7.68 GiB used: 2.62 GiB (34.1%) Init: systemd 
           runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20 inxi: 3.0.32 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
Moonstone Man
Level 16
Level 16
Posts: 6078
Joined: Mon Aug 27, 2012 10:17 pm

Re: Unholy Combination

Post by Moonstone Man »

~FLOW~ wrote: Mon Apr 27, 2020 9:37 am Maybe some of you who are good also with TV settings have a tip for me ?!
A system will often behave the way you describe if it's running your TV at a 30Hz frame rate.

Post the output of xrandr --verbose from a terminal and enclose it in code tags. Do this with the TV plugged in and displaying your machine's screen output.
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

Re: Unholy Combination

Post by ~FLOW~ »

Thank you for reply and also sorry for my english, it's not my first language :)

Code: Select all

$ xrandr --verbose
Screen 0: minimum 320 x 200, current 1280 x 720, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
	Identifier: 0x62
	Timestamp:  16601
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0030e4560400000000
		00180104952213780a05f59458569228
		1e505400000001010101010101010101
		010101010101d01d56f4500016303020
		350058c21000001ad91756f450001630
		3020350058c21000001a000000fe0044
		43523734803135365748420a00000000
		00004131940010000009010a20200085
	scaling mode: Full aspect 
		supported: Full, Center, Full aspect
	max bpc: 12 
		range: (6, 12)
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
  1366x768 (0x65) 76.320MHz +HSync -VSync +preferred
        h: width  1366 start 1414 end 1446 total 1610 skew    0 clock  47.40KHz
        v: height  768 start  771 end  776 total  790           clock  60.00Hz
  1366x768 (0x66) 61.050MHz +HSync -VSync
        h: width  1366 start 1414 end 1446 total 1610 skew    0 clock  37.92KHz
        v: height  768 start  771 end  776 total  790           clock  48.00Hz
  1360x768 (0x67) 84.750MHz -HSync +VSync
        h: width  1360 start 1432 end 1568 total 1776 skew    0 clock  47.72KHz
        v: height  768 start  771 end  781 total  798           clock  59.80Hz
  1360x768 (0x68) 72.000MHz +HSync -VSync
        h: width  1360 start 1408 end 1440 total 1520 skew    0 clock  47.37KHz
        v: height  768 start  771 end  781 total  790           clock  59.96Hz
  1280x720 (0x69) 156.125MHz -HSync +VSync DoubleScan
        h: width  1280 start 1376 end 1512 total 1744 skew    0 clock  89.52KHz
        v: height  720 start  721 end  724 total  746           clock  60.00Hz
  1280x720 (0x6a) 120.750MHz +HSync -VSync DoubleScan
        h: width  1280 start 1304 end 1320 total 1360 skew    0 clock  88.79KHz
        v: height  720 start  721 end  724 total  740           clock  59.99Hz
  1280x720 (0x6b) 74.500MHz -HSync +VSync
        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock  44.77KHz
        v: height  720 start  723 end  728 total  748           clock  59.86Hz
  1280x720 (0x6c) 63.750MHz +HSync -VSync
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock  44.27KHz
        v: height  720 start  723 end  728 total  741           clock  59.74Hz
  1024x768 (0x6d) 133.475MHz -HSync +VSync DoubleScan
        h: width  1024 start 1100 end 1212 total 1400 skew    0 clock  95.34KHz
        v: height  768 start  768 end  770 total  794           clock  60.04Hz
  1024x768 (0x6e) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  960x720 (0x6f) 117.000MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1128 total 1300 skew    0 clock  90.00KHz
        v: height  720 start  720 end  722 total  750           clock  60.00Hz
  928x696 (0x70) 109.150MHz -HSync +VSync DoubleScan
        h: width   928 start  976 end 1088 total 1264 skew    0 clock  86.35KHz
        v: height  696 start  696 end  698 total  719           clock  60.05Hz
  896x672 (0x71) 102.400MHz -HSync +VSync DoubleScan
        h: width   896 start  960 end 1060 total 1224 skew    0 clock  83.66KHz
        v: height  672 start  672 end  674 total  697           clock  60.01Hz
  1024x576 (0x72) 98.500MHz -HSync +VSync DoubleScan
        h: width  1024 start 1092 end 1200 total 1376 skew    0 clock  71.58KHz
        v: height  576 start  577 end  580 total  597           clock  59.95Hz
  1024x576 (0x73) 78.375MHz +HSync -VSync DoubleScan
        h: width  1024 start 1048 end 1064 total 1104 skew    0 clock  70.99KHz
        v: height  576 start  577 end  580 total  592           clock  59.96Hz
  1024x576 (0x74) 46.500MHz -HSync +VSync
        h: width  1024 start 1064 end 1160 total 1296 skew    0 clock  35.88KHz
        v: height  576 start  579 end  584 total  599           clock  59.90Hz
  1024x576 (0x75) 42.000MHz +HSync -VSync
        h: width  1024 start 1072 end 1104 total 1184 skew    0 clock  35.47KHz
        v: height  576 start  579 end  584 total  593           clock  59.82Hz
  960x600 (0x76) 96.625MHz -HSync +VSync DoubleScan
        h: width   960 start 1028 end 1128 total 1296 skew    0 clock  74.56KHz
        v: height  600 start  601 end  604 total  622           clock  59.93Hz
  960x600 (0x77) 77.000MHz +HSync -VSync DoubleScan
        h: width   960 start  984 end 1000 total 1040 skew    0 clock  74.04KHz
        v: height  600 start  601 end  604 total  617           clock  60.00Hz
  960x540 (0x78) 86.500MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1124 total 1288 skew    0 clock  67.16KHz
        v: height  540 start  541 end  544 total  560           clock  59.96Hz
  960x540 (0x79) 69.250MHz +HSync -VSync DoubleScan
        h: width   960 start  984 end 1000 total 1040 skew    0 clock  66.59KHz
        v: height  540 start  541 end  544 total  555           clock  59.99Hz
  960x540 (0x7a) 40.750MHz -HSync +VSync
        h: width   960 start  992 end 1088 total 1216 skew    0 clock  33.51KHz
        v: height  540 start  543 end  548 total  562           clock  59.63Hz
  960x540 (0x7b) 37.250MHz +HSync -VSync
        h: width   960 start 1008 end 1040 total 1120 skew    0 clock  33.26KHz
        v: height  540 start  543 end  548 total  556           clock  59.82Hz
  800x600 (0x7c) 81.000MHz +HSync +VSync DoubleScan
        h: width   800 start  832 end  928 total 1080 skew    0 clock  75.00KHz
        v: height  600 start  600 end  602 total  625           clock  60.00Hz
  800x600 (0x7d) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x7e) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  840x525 (0x7f) 73.125MHz -HSync +VSync DoubleScan
        h: width   840 start  892 end  980 total 1120 skew    0 clock  65.29KHz
        v: height  525 start  526 end  529 total  544           clock  60.01Hz
  840x525 (0x80) 59.500MHz +HSync -VSync DoubleScan
        h: width   840 start  864 end  880 total  920 skew    0 clock  64.67KHz
        v: height  525 start  526 end  529 total  540           clock  59.88Hz
  864x486 (0x81) 32.500MHz -HSync +VSync
        h: width   864 start  888 end  968 total 1072 skew    0 clock  30.32KHz
        v: height  486 start  489 end  494 total  506           clock  59.92Hz
  864x486 (0x82) 30.500MHz +HSync -VSync
        h: width   864 start  912 end  944 total 1024 skew    0 clock  29.79KHz
        v: height  486 start  489 end  494 total  500           clock  59.57Hz
  800x512 (0x83) 51.562MHz +HSync +VSync DoubleScan
        h: width   800 start  800 end  828 total  832 skew    0 clock  61.97KHz
        v: height  512 start  512 end  514 total  515           clock  60.17Hz
  700x525 (0x84) 61.000MHz +HSync +VSync DoubleScan
        h: width   700 start  744 end  820 total  940 skew    0 clock  64.89KHz
        v: height  525 start  526 end  532 total  541           clock  59.98Hz
  800x450 (0x85) 59.125MHz -HSync +VSync DoubleScan
        h: width   800 start  848 end  928 total 1056 skew    0 clock  55.99KHz
        v: height  450 start  451 end  454 total  467           clock  59.95Hz
  800x450 (0x86) 48.750MHz +HSync -VSync DoubleScan
        h: width   800 start  824 end  840 total  880 skew    0 clock  55.40KHz
        v: height  450 start  451 end  454 total  463           clock  59.82Hz
  640x512 (0x87) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  664 end  720 total  844 skew    0 clock  63.98KHz
        v: height  512 start  512 end  514 total  533           clock  60.02Hz
  720x450 (0x88) 53.250MHz -HSync +VSync DoubleScan
        h: width   720 start  760 end  836 total  952 skew    0 clock  55.93KHz
        v: height  450 start  451 end  454 total  467           clock  59.89Hz
  700x450 (0x89) 51.750MHz -HSync +VSync DoubleScan
        h: width   700 start  740 end  812 total  924 skew    0 clock  56.01KHz
        v: height  450 start  451 end  456 total  467           clock  59.96Hz
  700x450 (0x8a) 43.250MHz +HSync -VSync DoubleScan
        h: width   700 start  724 end  740 total  780 skew    0 clock  55.45KHz
        v: height  450 start  451 end  456 total  463           clock  59.88Hz
  640x480 (0x8b) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  688 end  744 total  900 skew    0 clock  60.00KHz
        v: height  480 start  480 end  482 total  500           clock  60.00Hz
  640x480 (0x8c) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  720x405 (0x8d) 22.500MHz -HSync +VSync
        h: width   720 start  744 end  808 total  896 skew    0 clock  25.11KHz
        v: height  405 start  408 end  413 total  422           clock  59.51Hz
  720x405 (0x8e) 21.750MHz +HSync -VSync
        h: width   720 start  768 end  800 total  880 skew    0 clock  24.72KHz
        v: height  405 start  408 end  413 total  419           clock  58.99Hz
  684x384 (0x8f) 42.625MHz -HSync +VSync DoubleScan
        h: width   684 start  720 end  788 total  892 skew    0 clock  47.79KHz
        v: height  384 start  385 end  390 total  399           clock  59.88Hz
  684x384 (0x90) 36.125MHz +HSync -VSync DoubleScan
        h: width   684 start  708 end  724 total  764 skew    0 clock  47.28KHz
        v: height  384 start  385 end  390 total  395           clock  59.85Hz
  680x384 (0x91) 42.375MHz -HSync +VSync DoubleScan
        h: width   680 start  716 end  784 total  888 skew    0 clock  47.72KHz
        v: height  384 start  385 end  390 total  399           clock  59.80Hz
  680x384 (0x92) 36.000MHz +HSync -VSync DoubleScan
        h: width   680 start  704 end  720 total  760 skew    0 clock  47.37KHz
        v: height  384 start  385 end  390 total  395           clock  59.96Hz
  640x400 (0x93) 41.750MHz -HSync +VSync DoubleScan
        h: width   640 start  676 end  740 total  840 skew    0 clock  49.70KHz
        v: height  400 start  401 end  404 total  415           clock  59.88Hz
  640x400 (0x94) 35.500MHz +HSync -VSync DoubleScan
        h: width   640 start  664 end  680 total  720 skew    0 clock  49.31KHz
        v: height  400 start  401 end  404 total  411           clock  59.98Hz
  576x432 (0x95) 40.810MHz -HSync +VSync DoubleScan
        h: width   576 start  608 end  668 total  760 skew    0 clock  53.70KHz
        v: height  432 start  432 end  434 total  447           clock  60.06Hz
  640x360 (0x96) 37.250MHz -HSync +VSync DoubleScan
        h: width   640 start  672 end  736 total  832 skew    0 clock  44.77KHz
        v: height  360 start  361 end  364 total  374           clock  59.86Hz
  640x360 (0x97) 31.875MHz +HSync -VSync DoubleScan
        h: width   640 start  664 end  680 total  720 skew    0 clock  44.27KHz
        v: height  360 start  361 end  364 total  370           clock  59.83Hz
  640x360 (0x98) 18.000MHz -HSync +VSync
        h: width   640 start  664 end  720 total  800 skew    0 clock  22.50KHz
        v: height  360 start  363 end  368 total  376           clock  59.84Hz
  640x360 (0x99) 17.750MHz +HSync -VSync
        h: width   640 start  688 end  720 total  800 skew    0 clock  22.19KHz
        v: height  360 start  363 end  368 total  374           clock  59.32Hz
  512x384 (0x9a) 32.500MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.36KHz
        v: height  384 start  385 end  388 total  403           clock  60.00Hz
  512x288 (0x9b) 23.250MHz -HSync +VSync DoubleScan
        h: width   512 start  532 end  580 total  648 skew    0 clock  35.88KHz
        v: height  288 start  289 end  292 total  299           clock  60.00Hz
  512x288 (0x9c) 21.000MHz +HSync -VSync DoubleScan
        h: width   512 start  536 end  552 total  592 skew    0 clock  35.47KHz
        v: height  288 start  289 end  292 total  296           clock  59.92Hz
  480x270 (0x9d) 20.375MHz -HSync +VSync DoubleScan
        h: width   480 start  496 end  544 total  608 skew    0 clock  33.51KHz
        v: height  270 start  271 end  274 total  281           clock  59.63Hz
  480x270 (0x9e) 18.625MHz +HSync -VSync DoubleScan
        h: width   480 start  504 end  520 total  560 skew    0 clock  33.26KHz
        v: height  270 start  271 end  274 total  278           clock  59.82Hz
  400x300 (0x9f) 20.000MHz +HSync +VSync DoubleScan
        h: width   400 start  420 end  484 total  528 skew    0 clock  37.88KHz
        v: height  300 start  300 end  302 total  314           clock  60.32Hz
  400x300 (0xa0) 18.000MHz +HSync +VSync DoubleScan
        h: width   400 start  412 end  448 total  512 skew    0 clock  35.16KHz
        v: height  300 start  300 end  301 total  312           clock  56.34Hz
  432x243 (0xa1) 16.250MHz -HSync +VSync DoubleScan
        h: width   432 start  444 end  484 total  536 skew    0 clock  30.32KHz
        v: height  243 start  244 end  247 total  253           clock  59.92Hz
  432x243 (0xa2) 15.250MHz +HSync -VSync DoubleScan
        h: width   432 start  456 end  472 total  512 skew    0 clock  29.79KHz
        v: height  243 start  244 end  247 total  250           clock  59.57Hz
  320x240 (0xa3) 12.587MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.47KHz
        v: height  240 start  245 end  246 total  262           clock  60.05Hz
  360x202 (0xa4) 11.250MHz -HSync +VSync DoubleScan
        h: width   360 start  372 end  404 total  448 skew    0 clock  25.11KHz
        v: height  202 start  204 end  206 total  211           clock  59.51Hz
  360x202 (0xa5) 10.875MHz +HSync -VSync DoubleScan
        h: width   360 start  384 end  400 total  440 skew    0 clock  24.72KHz
        v: height  202 start  204 end  206 total  209           clock  59.13Hz
  320x180 (0xa6)  9.000MHz -HSync +VSync DoubleScan
        h: width   320 start  332 end  360 total  400 skew    0 clock  22.50KHz
        v: height  180 start  181 end  184 total  188           clock  59.84Hz
  320x180 (0xa7)  8.875MHz +HSync -VSync DoubleScan
        h: width   320 start  344 end  360 total  400 skew    0 clock  22.19KHz
        v: height  180 start  181 end  184 total  187           clock  59.32Hz
HDMI-1 connected primary 1280x720+0+0 (0xbd) normal (normal left inverted right x axis y axis) 160mm x 90mm
	Identifier: 0x63
	Timestamp:  16601
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.1
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff004c2dc50701000000
		2e140103805932780aee91a3544c9926
		0f5054bdef80714f8100814081809500
		950fb300a940023a801871382d40582c
		4500a05a0000001e662150b051001b30
		40703600a05a0000001e000000fd0018
		4b1a5117000a202020202020000000fc
		0053414d53554e470a20202020200158
		020332f14b901f041305140312202122
		2309070783010000e2000fe305030172
		030c001000b82d20d0080140073f4050
		90a0023a80d072382d40102c4580a05a
		0000001e011d00bc52d01e20b8285540
		a05a0000001e011d80d0721c1620102c
		2580a05a0000009e0000000000000000
		000000000000000000000000000000b8
	max bpc: 12 
		range: (8, 12)
	content type: No Data 
		supported: No Data, Graphics, Photo, Cinema, Game
	Colorspace: Default 
		supported: Default, SMPTE_170M_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, DCI-P3_RGB_Theater
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
  1920x1080 (0xa8) 148.500MHz +HSync +VSync +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0xa9) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1920x1080 (0xaa) 148.352MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080i (0xab) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.75KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  60.00Hz
  1920x1080i (0xac) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  28.12KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  50.00Hz
  1920x1080 (0xad) 74.250MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.75KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  30.00Hz
  1920x1080 (0xae) 74.250MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  28.12KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  25.00Hz
  1920x1080 (0xaf) 74.250MHz +HSync +VSync
        h: width  1920 start 2558 end 2602 total 2750 skew    0 clock  27.00KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  24.00Hz
  1920x1080i (0xb0) 74.176MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.72KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  59.94Hz
  1920x1080 (0xb1) 74.176MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.72KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  29.97Hz
  1920x1080 (0xb2) 74.176MHz +HSync +VSync
        h: width  1920 start 2558 end 2602 total 2750 skew    0 clock  26.97KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  23.98Hz
  1600x1200 (0xb3) 162.000MHz +HSync +VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock  75.00KHz
        v: height 1200 start 1201 end 1204 total 1250           clock  60.00Hz
  1680x1050 (0xb4) 119.000MHz +HSync -VSync
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock  64.67KHz
        v: height 1050 start 1053 end 1059 total 1080           clock  59.88Hz
  1280x1024 (0xb5) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0xb6) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1440x900 (0xb7) 136.750MHz -HSync +VSync
        h: width  1440 start 1536 end 1688 total 1936 skew    0 clock  70.64KHz
        v: height  900 start  903 end  909 total  942           clock  74.98Hz
  1440x900 (0xb8) 88.750MHz +HSync -VSync
        h: width  1440 start 1488 end 1520 total 1600 skew    0 clock  55.47KHz
        v: height  900 start  903 end  909 total  926           clock  59.90Hz
  1280x960 (0xb9) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1360x768 (0xba) 85.500MHz +HSync +VSync
        h: width  1360 start 1424 end 1536 total 1792 skew    0 clock  47.71KHz
        v: height  768 start  771 end  777 total  795           clock  60.02Hz
  1280x800 (0xbb) 71.000MHz +HSync -VSync
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock  49.31KHz
        v: height  800 start  803 end  809 total  823           clock  59.91Hz
  1152x864 (0xbc) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1280x720 (0xbd) 74.250MHz +HSync +VSync *current
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0xbe) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1280x720 (0xbf) 74.176MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1024x768 (0xc0) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0xc1) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x6e) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  832x624 (0xc2) 57.284MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock  49.73KHz
        v: height  624 start  625 end  628 total  667           clock  74.55Hz
  800x600 (0xc3) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0xc4) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x7d) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  720x576 (0xc5) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0xc6) 27.027MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  720x480 (0xc7) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0xc8) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0xc9) 31.500MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock  37.86KHz
        v: height  480 start  489 end  492 total  520           clock  72.81Hz
  640x480 (0xca) 30.240MHz -HSync -VSync
        h: width   640 start  704 end  768 total  864 skew    0 clock  35.00KHz
        v: height  480 start  483 end  486 total  525           clock  66.67Hz
  640x480 (0xcb) 25.200MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  640x480 (0x8c) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  720x400 (0xcc) 28.320MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz
        v: height  400 start  412 end  414 total  449           clock  70.08Hz
Also my TV Model : URLUE40D6000TWXXH
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
rene
Level 20
Level 20
Posts: 12240
Joined: Sun Mar 27, 2016 6:58 pm

Re: Unholy Combination

Post by rene »

You have a 1920x1080 TV and should as such be providing it a 1920x1080 picture. I take it that that resolution is not available from the Mint display tool? If indeed, try adding video=eDP-1:d to the existing line

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="..."
in /etc/default/grub, using e.g. nano /etc/default/grub. Save the file, run sudo update-grub and reboot. I suppose it should then even come up automatically as 1920x1080?

Undoing is a simple matter of removing that parameter again, rerunning sudo update-grub and rebooting.
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

Re: Unholy Combination

Post by ~FLOW~ »

I do have this resolution, but if I change it, the mouse moves the same
Screenshot from 2020-04-28 10-40-46.png
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

Re: Unholy Combination

Post by ~FLOW~ »

also a lower resolution works better for me, because between me and the tv there are 3m (10ft)...
But I could manage with Text Scaling factor
Screenshot from 2020-04-28 10-49-48.png
Screenshot from 2020-04-28 10-47-19.png
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
rene
Level 20
Level 20
Posts: 12240
Joined: Sun Mar 27, 2016 6:58 pm

Re: Unholy Combination

Post by rene »

It makes very little sense to me that you'd lag at both the native 1920x1080 and the easy downscale 1280x720 but not at 1360x768 -- which, mind you, is unlike the first two not in fact precisely 16:9. You're running at 60 Hz in both cases it would seem so also seemingly not the issue...

Does the TV have a "game" mode that you can set that specific HDMI port to? Does it help?
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

Re: Unholy Combination

Post by ~FLOW~ »

I always thought that the problem is the mouse acceleration
but in every distro I had to try different settings in files like 50-mouse-acceleration.conf until I got it 80% "there".
In Manjaro, Ubuntu, Xubuntu, Mint it always was an improvement by doing this, but never as crisp as in Windows OS.
And I never understood why with the resolution 1360x768 is working fine
Also on the TV when I change the resolution I see
1280x720 @60Hz
1360x768 @60Hz

and I just made a test by deleting the file 50-mouse-acceleration.conf and I noticed that without it on the mouse is not 100% "there" on 1360x768(the fuzzy resolution)

I'm sorry if I give too much useless information, but you never know :roll:
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

Re: Unholy Combination

Post by ~FLOW~ »

1. I do have a Game mode and I played with it a long time ago but never to much because when is active the image loses from brightness a little.
2. The TV has 4 HDMI ports - 1(DVI) / 2(ARC) / 3 / 4
3. If I change the resolution to 1360x768 ... half of my TV setting are disabled like Game mode...which I never understood why

But with you suggestion I found out something weird. Now with Game mode on and in port 2(ARC) the image doesn't lose brightness anymore and the mouse is working a little better.
I have try with 50-mouse-acceleration.conf to see what happens
I think I'm on to something !!!!!!
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
rene
Level 20
Level 20
Posts: 12240
Joined: Sun Mar 27, 2016 6:58 pm

Re: Unholy Combination

Post by rene »

~FLOW~ wrote: Tue Apr 28, 2020 4:53 am 3. If I change the resolution to 1360x768 ... half of my TV setting are disabled like Game mode...which I never understood why
That actually seemingly makes sense: "game mode" is about minimizing input lag, i.e., minimizing the time between a frame having arrived at the TV and it being actually displayed, i.e., minimizing TV-sides processing such as (more involved) rescaling from 1360x768 to the panel's native 1920x1080.

That's also the reason it made little sense to me that you were experiencing less input lag on 1360x768 than on either 1280x720 or the natve1920x1080 --- but it would seem that this is then explained by one or more of those settings that 1360x768 disables. Not game mode but one of the others. I.e., I'd now expect that you could get lag on 1280x720 and (best) 1920x1080 equal to "the 1360x768 lag" by disabling one or more of the settings that you say 1360x768 disables.
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

Re: Unholy Combination

Post by ~FLOW~ »

This is what I got so far on https://www.mouseaccuracy.com
before
1.Normal.png
after
6. FINAL.png
It's a HUGE DIFFERENCE !!!!!!! :mrgreen:

The combination so far on 1280x720 :
1. HDMI 2(ARC)
2. GAME Mode - ON
3. The file 90-mouse_accel.conf in /usr/share/X11/xorg.conf.d with :

Code: Select all

Section "InputClass"
        Identifier "Mouse With No Acceleration"
        MatchDriver "libinput"
        MatchIsPointer "yes"
        Option "AccelProfile" "flat"
EndSection

I will test some more options on the TV
Last edited by ~FLOW~ on Wed Apr 29, 2020 2:55 pm, edited 1 time in total.
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

Re: Unholy Combination

Post by ~FLOW~ »

YOU DID IT !!
with the combination above the mouse is working perfectly !!!!!
You will never know how much this means to me !
THANK YOU !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
rene
Level 20
Level 20
Posts: 12240
Joined: Sun Mar 27, 2016 6:58 pm

Re: Unholy Combination [SOLVED]

Post by rene »

Okay, so without even disabling some other option? Seems to not make complete sense yet --- but I'll not argue with success. Cheers.
Moonstone Man
Level 16
Level 16
Posts: 6078
Joined: Mon Aug 27, 2012 10:17 pm

Re: Unholy Combination [SOLVED]

Post by Moonstone Man »

rene wrote: Tue Apr 28, 2020 6:43 am ... I'll not argue with success. Cheers.
Nice work on your part.
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

Re: Unholy Combination [SOLVED]

Post by ~FLOW~ »

if I may piggyback this thread to furthermore solve another thing about the mouse ...
In Linux Mint is there a possibility to change the scroll number of the mouse-wheel ?
I would like to make it scroll more "distance"

Code: Select all

$ xinput --list-props 12
Device 'Logitech Unifying Device. Wireless PID:4055':
	Device Enabled (166):	1
	Coordinate Transformation Matrix (168):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (301):	0
	libinput Natural Scrolling Enabled Default (302):	0
	libinput Scroll Methods Available (305):	0, 0, 1
	libinput Scroll Method Enabled (306):	0, 0, 0
	libinput Scroll Method Enabled Default (307):	0, 0, 0
	libinput Button Scrolling Button (308):	2
	libinput Button Scrolling Button Default (309):	2
	libinput Middle Emulation Enabled (310):	1
	libinput Middle Emulation Enabled Default (311):	0
	libinput Accel Speed (312):	0.000000
	libinput Accel Speed Default (313):	0.000000
	libinput Accel Profiles Available (314):	1, 1
	libinput Accel Profile Enabled (315):	1, 0
	libinput Accel Profile Enabled Default (316):	1, 0
	libinput Left Handed Enabled (317):	0
	libinput Left Handed Enabled Default (318):	0
	libinput Send Events Modes Available (286):	1, 0
	libinput Send Events Mode Enabled (287):	0, 0
	libinput Send Events Mode Enabled Default (288):	0, 0
	Device Node (289):	"/dev/input/event8"
	Device Product ID (290):	1133, 16469
	libinput Drag Lock Buttons (303):	<no items>
	libinput Horizontal Scroll Enabled (304):	1
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
Moonstone Man
Level 16
Level 16
Posts: 6078
Joined: Mon Aug 27, 2012 10:17 pm

Re: Unholy Combination [SOLVED]

Post by Moonstone Man »

~FLOW~ wrote: Tue Apr 28, 2020 7:08 am if I may piggyback this thread to furthermore solve another thing about the mouse ...
I think that you'll find the forum rules will tell you that you ought to create a new thread for a new problem.
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

Re: Unholy Combination [SOLVED]

Post by ~FLOW~ »

Ok,
thank you both for the suggestions and the help. I wish I could buy you a couple of beers :))
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
rene
Level 20
Level 20
Posts: 12240
Joined: Sun Mar 27, 2016 6:58 pm

Re: Unholy Combination [SOLVED]

Post by rene »

~FLOW~ wrote: Tue Apr 28, 2020 7:08 am In Linux Mint is there a possibility to change the scroll number of the mouse-wheel ?
See you haven't opened a new topic and that might be for the best since the disappointing answer seems to basically be "No" currently.

That is. there used to be a useful sounding evdev parameter when "evdev" was as the commonly used X.org input driver but the current "libinput" driver does not have that settled it seems. If you google the issue you find advise to set MOUSE_WHEEL_CLICK_ANGLE as a udev hwdb setting. If you run

Code: Select all

sudo libinput debug-events
you will see your mouse listed as e.g. event2 and upon using the scroll wheel see its default angle, probably 15 degrees also in your case. I.e. scrolling one tick down and then one tick up again here:

Code: Select all

$ sudo libinput debug-events
-event1   DEVICE_ADDED     Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED     Power Button                      seat0 default group2  cap:k
-event4   DEVICE_ADDED     HDA ATI HDMI HDMI/DP,pcm=3        seat0 default group3  cap:
-event2   DEVICE_ADDED     Logitech M705                     seat0 default group4  cap:p left scroll-nat scroll-button
-event3   DEVICE_ADDED     Logitech MK700                    seat0 default group5  cap:kp scroll-nat
-event6   DEVICE_ADDED     HDA Intel Mic                     seat0 default group3  cap:
-event7   DEVICE_ADDED     HDA Intel Line                    seat0 default group3  cap:
-event8   DEVICE_ADDED     HDA Intel Line Out                seat0 default group3  cap:
-event9   DEVICE_ADDED     HDA Intel Front Headphone         seat0 default group3  cap:
-event5   DEVICE_ADDED     Dell WMI hotkeys                  seat0 default group6  cap:k
-event2   POINTER_AXIS      +8.81s	vert 15.00* horiz 0.00 (wheel)
 event2   POINTER_AXIS     +10.16s	vert -15.00* horiz 0.00 (wheel)
Use Ctrl-C to exit. A 15 degree angle corresponds to needing 360 / 15 = 24 ticks for a full rotation of the scroll wheel and as such the advise out there is to adjust this value for a different scrolling speed. Telling the driver that e.g. one tick corresponds to 30 degrees, that only 12 ticks make up the same full rotation, that a single tick movement should hence scroll twice as much.

Great. Except that it doesn't work. If you from

Code: Select all

$ udevadm info /dev/input/event2
[ ... ]
E: DEVPATH=/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:101B.0004/input/input21/event2
[ ... ]
identify the VID:PID of the mouse as seen by libinput as in my above case 046D:101B and then create a file /etc/udev/hwdb.d/71-mouse-local.hwdb containing

Code: Select all

mouse:usb:v046dp101b:name:*:
  MOUSE_WHEEL_CLICK_ANGLE=30
and run sudo systemd-hwdb update and reboot, indeed you will when again running sudo libinput debug-events find that the value 15 has now changed to 30. This is to say that udev and libinput correctly adjust the value under the influence of that MOUSE_WHEEL_CLICK_ANGLE setting... but from the fact that nothing will in fact have changed wrt. mouse wheel scroll speed it's also clear that X doesn't in fact care one hoot.

Currently. There seems to be ongoing effort to change this, e.g. https://bugs.freedesktop.org/show_bug.cgi?id=92772 and if I'm not mistaken, current status is a different libinput API as seen here, https://gitlab.freedesktop.org/libinput ... quests/139.

But right now seems KDE does this at a higher level while us GNOME-plebs get to use something like imwheel (which you can google). Nothing sensible yet; this has to do with the eternal promise of Wayland: basically nobody bothers fixing X any more and certainly not in a timely manner "since Wayland is the future" but at the same time Wayland is nowhere to be found for most of us and is even for those for whom it is an incomplete and unfinished mess. I would for example be severely surprised if this issue would already work in Wayland.

So, in summary: "No".
~FLOW~
Level 3
Level 3
Posts: 171
Joined: Tue Mar 12, 2013 3:23 am

Re: Unholy Combination [SOLVED]

Post by ~FLOW~ »

Wow !
thank you for the detailed example. I will make a try on a Virtualbox machine.
First of all, I'm way to excited that I can finally click where I want, to care that much for the scroll speed :)

So far I'm astonished that nobody fixes this somehow for the newbie users that come from Mac or WinOS. For a newbie this is a simple setting and it's weird that it cannot be found. I remember in LM 17 you could change this, and most of linux users are control freeks ... so this would be a must :)

Anyway, I found this thread about imwheel and it was the only one that worked for me so far. With the file mousewheel.sh :

Code: Select all

#!/bin/bash
# Version 0.1 Tuesday, 07 May 2013
# Comments and complaints http://www.nicknorton.net
# GUI for mouse wheel speed using imwheel in Gnome
# imwheel needs to be installed for this script to work
# sudo apt-get install imwheel
# Pretty much hard wired to only use a mouse with
# left, right and wheel in the middle.
# If you have a mouse with complications or special needs,
# use the command xev to find what your wheel does.
#
### see if imwheel config exists, if not create it ###
if [ ! -f ~/.imwheelrc ]
then

cat >~/.imwheelrc<<EOF
".*"
None,      Up,   Button4, 1
None,      Down, Button5, 1
Control_L, Up,   Control_L|Button4
Control_L, Down, Control_L|Button5
Shift_L,   Up,   Shift_L|Button4
Shift_L,   Down, Shift_L|Button5
EOF

fi
##########################################################

CURRENT_VALUE=$(awk -F 'Button4,' '{print $2}' ~/.imwheelrc)

NEW_VALUE=$(zenity --scale --window-icon=info --ok-label=Apply --title="Wheelies" --text "Mouse wheel speed:" --min-value=1 --max-value=100 --value="$CURRENT_VALUE" --step 1)

if [ "$NEW_VALUE" == "" ];
then exit 0
fi

sed -i "s/\($TARGET_KEY *Button4, *\).*/\1$NEW_VALUE/" ~/.imwheelrc # find the string Button4, and write new value.
sed -i "s/\($TARGET_KEY *Button5, *\).*/\1$NEW_VALUE/" ~/.imwheelrc # find the string Button5, and write new value.

cat ~/.imwheelrc
imwheel -kill

So I changed

Code: Select all

NEW_VALUE=$(zenity --scale --window-icon=info --ok-label=Apply --title="Wheelies" --text "Mouse wheel speed:" --min-value=1 --max-value=100 --value="$CURRENT_VALUE" --step 1)
with

Code: Select all

NEW_VALUE=5
an put it in Startup Applications.
BUT
It would be more elegant to put just the line that does this increase. I presume is one of these :

Code: Select all

sed -i "s/\($TARGET_KEY *Button4, *\).*/\1$NEW_VALUE/" ~/.imwheelrc # find the string Button4, and write new value.
sed -i "s/\($TARGET_KEY *Button5, *\).*/\1$NEW_VALUE/" ~/.imwheelrc # find the string Button5, and write new value.
but also I don't understand what is this file's role: ~/.imwheelrc
Linux Mint 21.1
Cinnamon

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.
rene
Level 20
Level 20
Posts: 12240
Joined: Sun Mar 27, 2016 6:58 pm

Re: Unholy Combination [SOLVED]

Post by rene »

~/.imwwheelrc is the per-user configuration file for imwheel and the only thing that the script does is change it. If you hardcode the value anyway you don't need the script and can just use xed ~/.imwheelrc to create and save the file directly as

Code: Select all

".*"
None,      Up,   Button4, 5
None,      Down, Button5, 5
Control_L, Up,   Control_L|Button4
Control_L, Down, Control_L|Button5
Shift_L,   Up,   Shift_L|Button4
Shift_L,   Down, Shift_L|Button5
It will already be this from the last time you used the script, so you will in fact not need to do anything even.

You need a manual imwheel -kill to restart imwheel when you change ~/.imwheelrc but in the Startup Applications you need only imwheel. See man imwheel for more information on the program.
Locked

Return to “Graphics Cards & Monitors”