Hello, I use since 2017 a trick to have a full hd screen (1920x1080) on a hd (large, 1366x728 on 15.6") display. On Intel driver it works perfectly in 15.1 plasma. I just did a fresh install of 15.2. This don't work anymore correctly on kde/plasma, not at all in wayland. This last way may be normal, the display identification seems to have changed. I want to say first than all this shouldn't be necessary if only the kde setup allowed to have *smaller* display in it's config, when it allows only *bigger* display. my goal is only to have less vasted place from any decoration... It works perfectly with icewm and xfce, so I could live with it like this, but I really like all the kde setups :-) To get this goal, I run xrandr, crating first a 1920x1080 definition, creating a VIRTUAL1 (or 2) screen, them making VIRTUAL fit the LCD screen. script is as shown: xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync xrandr --addmode VIRTUAL1 1920x1080_60.00 xrandr --fb 1920x1080_60.00 --dpi 96 --output eDP1 --pos 0x0 --scale-from 1920x1080 --same-as VIRTUAL1 xrandr --output HDMI2 --pos 1920x0 last line only needed in 15.2/xfce. Blank lines added for clarity * why is this script working in 15.1 and not in 15.2? * what should it be in wayland? thanks jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd composed on 2020-08-26 16:34 (UTC+0200):
* why is this script working in 15.1 and not in 15.2?
Where did you upload Xorg.0.log from when you ran your script, so that we can see the clues to what did or didn't happen? -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 26/08/2020 à 18:09, Felix Miata a écrit :
jdd composed on 2020-08-26 16:34 (UTC+0200):
* why is this script working in 15.1 and not in 15.2?
Where did you upload Xorg.0.log from when you ran your script, so that we can see the clues to what did or didn't happen?
there is absolutely nothing there I know that any nvidia part in the config prevent my system to work (on 15.1, I never could make bumblebee works, not yet tested in 15.2) easy to see: it's a script. Nothing is written in logs when using the script. Even more my script works beautifully with icewm or xfce. problem lies in plasma, and I have no idea where plasma logs are :-( right now, the script almost works, but not completely I just work with xfce :-( jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 27/08/2020 à 08:20, jdd@dodin.org a écrit :
I know that any nvidia part in the config prevent my system to work (on 15.1, I never could make bumblebee works, not yet tested in 15.2)
sorry: forgot to finish the sentence: I removed all nvidia part, including nouveau... jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd composed on 2020-08-27 08:22 (UTC+0200):
jdd composed:
I know that any nvidia part in the config prevent my system to work (on 15.1, I never could make bumblebee works, not yet tested in 15.2)
sorry: forgot to finish the sentence: I removed all nvidia part, including nouveau...
Without details of what "removed all nvidia part" or "including nouveau" mean, such as the commands executed and their output, no one can hope to provide any significant help. This goes for configuring X as well - Xorg.0.log, wherever found, usually contains vital clues for diagnostic purposes. When xrandr is run, its effect is often found in Xorg.0.log, whether it does what was expected, or something else. There may be help from journalctl as well, but it needs to be shared for help to be provided. If you cannot upload logs or voluminous command output to pastebin.com or susepaste.org, there are similar options elsewhere, including web space your ISP provides, or your own personal web space using Apache, like you can find in my .sig below. Nouveau is comprised a kernel module that's part of each installed kernel, plus several components for X: # cat /usr/local/bin/zypse #!/bin/sh zypper --no-refresh se -s $* | egrep -v 'debug|devel|srcp|openSUSE-20' | egrep 'x86|noarch'| sort # zypse veau | grep -v 32b | grep OSS | Mesa-dri-nouveau | package | 18.3.2-lp151.22.4 | x86_64 | OSS | libXvMC_nouveau | package | 18.3.2-lp151.22.4 | x86_64 | OSS | libvdpau_nouveau | package | 18.3.2-lp151.22.4 | x86_64 | OSS | xf86-video-nouveau | package | 1.0.15-lp151.4.1 | x86_64 | OSS v | libdrm_nouveau2 | package | 2.4.97-lp151.1.1 | x86_64 | OSS Without details, one cannot know what "I removed all nvidia part, including nouveau..." or "nvidia part in the config" mean. You could start the information provision by copy and paste some relevant basic info, like so: # inxi -SGay System: Host: 00srv Kernel: 4.12.14-lp151.28.59-default x86_64 bits: 64 compiler: gcc v: 7.5.0 parameters: root=redacted noresume mitigations=auto video=1440x900@60 3 Console: tty 0 wm: kwin Distro: openSUSE Leap 15.1 Graphics: Device-1: Intel 4th Generation Core Processor Family Integrated Graphics vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:041e Display: server: X.Org 1.20.3 driver: modesetting unloaded: fbdev,vesa alternate: intel display ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1200 s-dpi: 120 s-size: 406x254mm (16.0x10.0") s-diag: 479mm (18.9") Monitor-1: HDMI-1 res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8") diag: 611mm (24.1") OpenGL: renderer: Mesa DRI Intel Haswell v: 4.5 Mesa 18.3.2 compat-v: 3.0 direct render: Yes -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 27/08/2020 à 09:03, Felix Miata a écrit :
Without details, one cannot know what "I removed all nvidia part, including nouveau..." or "nvidia part in the config" mean.
searching for nouveau in yast and remove them... X works perfectly before I use my script. I use the script, nothing at all is written in the logs. All intel driver. and when I use the script (and it fails), it makes me very difficult to use the session :-(
You could start the information provision by copy and paste some relevant basic info, like so:
# inxi -SGay
with y get only an error: Error 10: Unsupported value: 0 for option: y without brake the X config (windows position) and gives: # inxi -SGa System: Host: localhost.localdomain Kernel: 5.3.18-lp152.36-default x86_64 bits: 64 compiler: gcc v: 7.5.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.3.18-lp152.36-default root=UUID=9be7a3f0-6df2-4ef2-995e-c72e4314b7f3 splash=silent resume=/dev/disk/by-uuid/7ca04441-6390-4731-8405-bbd952fe8606 mitigations=auto quiet Desktop: Xfce 4.14.2 tk: Gtk 3.24.14 info: xfce4-panel wm: xfwm4 dm: SDDM Distro: openSUSE Leap 15.2 Graphics: Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0416 Device-2: NVIDIA GM107M [GeForce GTX 850M] vendor: ASUSTeK driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:1391 Device-3: IMC Networks type: USB driver: uvcvideo bus ID: 2-7:6 chip ID: 13d3:5188 serial: NULL Display: x11 server: X.Org 1.20.3 driver: intel,modesetting unloaded: fbdev,vesa alternate: nouveau,nv,nvidia display ID: :0.0 screens: 1 Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.9x11.2") s-diag: 1052mm (41.4") Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 143 size: 340x190mm (13.4x7.5") diag: 389mm (15.3") Monitor-2: HDMI2 res: 1920x1080 hz: 60 dpi: 102 size: 480x270mm (18.9x10.6") diag: 551mm (21.7") OpenGL: renderer: N/A v: N/A direct render: N/A jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
If your "new installation" of 15.2 has reused your old /home file system, try logging out of X, then deleting entire content of ~/.cache/ before trying your script in a Plasma session again. Something else to try is the upstream default DDX, by removing xf86-video-intel. If you haven't already seen <https://forums.opensuse.org/showthread.php/541438-AMD-Intel-amp-NVidia-X-graphics-driver-primer>, give it a visit before asking any questions about this suggestion. jdd composed on 2020-08-27 09:16 (UTC+0200):
when I use the script (and it fails), it makes me very difficult to use the session :-(
Try this entirely different initialization method. Add to kernel cmdline (in Grub) video=eDP1:1920x1080 video=HDMI2:1920x1080 Based on some new observations I made on a very old Intel GPU 2 days ago using TW, modeline creation may be wholly unnecessary. I got a 1920x1200 or 1680x1050 display scaled to 2048x1152 that way. https://www.kernel.org/doc/Documentation/fb/modedb.txt covers this video= option that might need a tweak of refresh or e or D or ?.
You could start the information provision by copy and paste some relevant basic info, like so:
# inxi -SGay
with y get only an error: Error 10: Unsupported value: 0 for option: y
You have older version. Try sudo inxi -U, then if success is indicated do: inxi -SGay next time. -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Felix Miata composed on 2020-08-27 03:58 (UTC-0400):
Something else to try is the upstream default DDX, by removing xf86-video-intel. If you haven't already seen <https://forums.opensuse.org/showthread.php/541438-AMD-Intel-amp-NVidia-X-graphics-driver-primer>, give it a visit before asking any questions about this suggestion.
If you make the switch from Intel DDX to Modesetting DDX, the output names for the Intel GPU for xrandr will differ. eDP1 I expect to become eDP-1, and HDMI2 become HDMI-2. -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 27/08/2020 à 09:58, Felix Miata a écrit :
If your "new installation" of 15.2 has reused your old /home file system
no, it haven't , try
logging out of X, then deleting entire content of ~/.cache/ before trying your script in a Plasma session again.
may be still usefull between several tests :-)
Something else to try is the upstream default DDX, by removing xf86-video-intel. If you haven't already seen <https://forums.opensuse.org/showthread.php/541438-AMD-Intel-amp-NVidia-X-graphics-driver-primer>, give it a visit before asking any questions about this suggestion.
well... so no "intel" from yast may be necessary I guess this may explain some config problems
Try this entirely different initialization method. Add to kernel cmdline (in Grub)
video=eDP1:1920x1080 video=HDMI2:1920x1080
interesting. I have a script running now, when it ends, I will try this first
Based on some new observations I made on a very old Intel GPU 2 days ago using TW, modeline creation may be wholly unnecessary
in fact, cvt gives always the same modeline :-) . I got a 1920x1200 or 1680x1050
display scaled to 2048x1152 that way.
good to know :-)
https://www.kernel.org/doc/Documentation/fb/modedb.txt covers this video= option that might need a tweak of refresh or e or D or ?.
You could start the information provision by copy and paste some relevant basic info, like so:
# inxi -SGay
with y get only an error: Error 10: Unsupported value: 0 for option: y
You have older version. Try sudo inxi -U, then if success is indicated do:
inxi -SGay
next time.
thanks jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 27/08/2020 à 09:03, Felix Miata a écrit :
You could start the information provision by copy and paste some relevant basic info,
X logs before script use: https://paste.opensuse.org/11005620 after https://paste.opensuse.org/5547898
diff Xorg.0.log.before Xorg.0.log.after 558a559,562 [ 4358.347] (II) intel(0): resizing framebuffer to 1920x1080 [ 4358.370] (II) intel(0): switch to mode 1366x768@60.1 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none [ 4358.404] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI2 using pipe 1, position (1920, 0), rotation normal, reflection none [ 4358.480] (II) intel(0): resizing framebuffer to 3840x1080
screen copy (see the garbage) https://paste.opensuse.org/67960795 jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Felix Miata
-
jdd@dodin.org