LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2023, 12:14 PM   #1
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Rep: Reputation: Disabled
Possible problem with graphic drivers on Dell laptop


Hi guys, I have a touch screen dell latitude E7270 with ubuntu 22.04 on it.
Now, it all worked fine until one day I decided that I’d plug my laptop to a docking station (a dell one) to see if I could connect multiple monitors to the laptop. I couldn’t have more than 1 extra monitor working.
During that and after that problems started. The laptop appears to have a life of its own, a lot of applications open up on their own and on the screen it looks as if someone was clicking on different applications to open them and I can’t reallyclose then because it switches focus automatically fromone app to the other. This happened while the laptop was connected to the docking station but now it’s happening regardless of whether that’s the case or not. All I could do is to turn it off using the on/off button. When I turn it on it might work or not and I have to turn it off and onagain till it works.
I believe it has something to do with the graphuc drivers, but I don’t know linux well enough to sort it out. I guess if I could use one set of drivers that allow me to 1) get rid of the issue and 2) manage to connect this to the docking station and allow extra monitors to work would be amazing.
Does anybody know exactly how to find out what’s wrong and ideally know how to proceedto fix it please?
Any help would be obviously much appreciated :-)
Thanks
 
Old 12-02-2023, 05:25 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, This artical may help you.

https://askubuntu.com/questions/1392...e-touch-screen
 
Old 12-02-2023, 09:51 PM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Possibly us knowing your laptop’s graphics setup would help us help you. Run inxi -GSaz in a DE terminal like Konsole or Xterm, then copy/paste input/output from it here using the code button ( # ) above the input window. If inxi produces an error message, try the same thing again after first doing sudo apt install inxi.
 
Old 12-03-2023, 01:05 AM   #4
lvm_
Member
 
Registered: Jul 2020
Posts: 933

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
This is not driver-related. Try restricting input to your touchscreen by running 'xinput --map-to-output device crtc' where device is your touchscreen input id which can be found by running xinput, and crtc is your touchscreen display id as reported by xrandr. If it is X11, that is, no idea how to do it in wayland.

Last edited by lvm_; 12-03-2023 at 01:29 AM.
 
1 members found this post helpful.
Old 12-03-2023, 12:33 PM   #5
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
Thanks guys. I wouldn't necessarily want to disable the touch screen as mentioned in one of the posts, unless there is no any other way to fix it.
About
Code:
inxi -GSaz
Code:
System:
  Kernel: 5.15.0-89-generic x86_64 bits: 64 compiler: gcc v: 11.4.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15.0-89-generic
    root=UUID=6887226a-6706-44c9-b738-a48370c9d027 ro quiet splash
    vt.handoff=7
  Desktop: GNOME 42.9 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3 42.0
    Distro: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell driver: i915
    v: kernel ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
  Device-2: Realtek Integrated_Webcam_FHD type: USB driver: uvcvideo
    bus-ID: 1-2:2 chip-ID: 0bda:5765 class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.1
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: LG built: 2014 res: 1920x1080 dpi: 177 gamma: 1.2
    size: 276x156mm (10.9x6.1") diag: 317mm (12.5") ratio: 16:9
    modes: 1920x1080
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
 
Old 12-03-2023, 02:03 PM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
If your GDM login screen allows to select an X11 session instead of Wayland, try it. Don't put commands in separate code tags, and don't omit the following prompt that shows where command output actually ended. Also show the ls -1 /sys/class/drm complete transaction.
 
1 members found this post helpful.
Old 12-05-2023, 08:11 AM   #7
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
I don't think it does allow any kind of customisation, I guess I'd have to download some app to do that?
Code:
ls -1 /sys/class/drm
card0
card0-DP-1
card0-eDP-1
card0-HDMI-A-1
card0-HDMI-A-2
renderD128
version

Last edited by jazzo; 12-05-2023 at 08:14 AM.
 
Old 12-05-2023, 10:34 AM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by jazzo View Post
I don't think it does allow any kind of customisation, I guess I'd have to download some app to do that?
I wasn't speaking of anything involving any kind of customization. Most installations' login greeter themes have some sort of button somewhere that you can click to choose the type of GUI session to log into. If your greeter is configured for automatic login, then you wouldn't have any such presentation unless after logging out of your first session without rebooting
Quote:
Code:
$ ls -1 /sys/class/drm
card0
card0-DP-1
card0-eDP-1
card0-HDMI-A-1
card0-HDMI-A-2
renderD128
version
$
This means the kernel knows about 3 inputs that the GPU supports other than the one used for the laptop's own display (eDP-1): 1 display port, and either 1 HDMI port plus 1 DVI port, or 2 HDMI ports. WRT video, HDMI and DVI are identical. The differences are DVI carries no audio, and the connector used.
 
Old 12-07-2023, 04:39 AM   #9
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
Yes, I see what you mean. Mine isn't automatic login but it doesn't let me choose any configuration as such, I'm afraid
 
Old 12-07-2023, 05:37 AM   #10
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Other DM's exist that you could switch to from GDM, if GDM is indeed not offering any alternative DE session to log into: LightDM, SDDM, TDM that I know of for Jammy. I mostly use TDM, and never GDM (I never use Gnome). What does ls /usr/share/xsessions report?
 
Old 12-13-2023, 08:16 AM   #11
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
sorry, been off ill.
Code:
ls /usr/share/xsessions
ubuntu.desktop  ubuntu-xorg.desktop
 
Old 12-13-2023, 01:34 PM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by jazzo View Post
sorry, been off ill.
Code:
ls /usr/share/xsessions
ubuntu.desktop  ubuntu-xorg.desktop
This shows you have only two choices. The first would most likely be the default running in Wayland, and the other would be the default running in Xorg. You should try both versions to find out if the behavior differs.

Next I suggest to do:
Code:
sudo apt install icewm-common icewm
This should add a new session type IceWM running in Xorg. After installing, select it to open a new session, to see if the problem remains.
 
Old 12-17-2023, 10:45 AM   #13
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
OK, now I get the options to select which session to use, thanks.
I'll play around with the sessions a bit and see what happens and whether the issue occurs in other types of sessions or not and post back. It might take a bit because even in the original session the issue wasn't always there.
Attached Thumbnails
Click image for larger version

Name:	session1.jpg
Views:	6
Size:	139.3 KB
ID:	42246  

Last edited by jazzo; 12-17-2023 at 10:47 AM.
 
Old 12-17-2023, 01:24 PM   #14
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
OK, actually it was faster than I thought. Xorg session showed the issue, it was actually, somehow, worse than a normal session.
I'm now trying IceWM (never used it before but the look and feel is really really different)
 
  


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
Linux vs laptop with two graphic cards (probable drivers problem) k222 Linux - Software 3 04-23-2018 12:24 PM
[SOLVED] dell latitude xt graphic drivers for ubuntu 10.10 ? touchscreen? permalac Linux - Laptop and Netbook 2 10-22-2010 06:44 PM
Graphic acceleration with SiS graphic card hamtavs Linux - Games 1 12-30-2009 06:25 AM
Graphic Driver: How to set up Livna graphic support? Chuong Linux - Software 11 08-20-2006 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 AM.

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